com.levigo.jadice.annotation.profiles
Class DiscreteProperty<T>
java.lang.Object
com.levigo.jadice.annotation.profiles.PropertyProfile<T>
com.levigo.jadice.annotation.profiles.DiscreteProperty<T>
public class DiscreteProperty<T>
- extends PropertyProfile<T>
Methods inherited from class com.levigo.jadice.annotation.profiles.PropertyProfile |
getAnnotationProfile, getDefaultValue, getDefaultValueXML, getEditorFactories, getEditorFactory, getEditorFactory, getLabel, getLabel, getLabels, getPreferredValues, getPreferredValuesXML, getPropertyName, getPropertyType, isVirtual, setDefaultValue, setDefaultValueXML, setLabels, setPreferredValues, setPreferredValuesXML, setPropertyName, setPropertyType, setVirtual, validate |
DiscreteProperty
public DiscreteProperty()
getAllowedValues
public List<T> getAllowedValues()
- Returns:
- the possibleValues
setAllowedValuesXML
public void setAllowedValuesXML(String[] preferredValuesXML)
- Parameters:
preferredValuesXML
- the preferredValues to set
getAllowedValuesXML
public String[] getAllowedValuesXML()
- Returns:
- the preferredValues
hashCode
public int hashCode()
- Overrides:
hashCode
in class PropertyProfile<T>
equals
public boolean equals(Object obj)
- Overrides:
equals
in class PropertyProfile<T>
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.