com.levigo.jadice.annotation.profiles
Class DiscreteProperty<T>

java.lang.Object
  extended by com.levigo.jadice.annotation.profiles.PropertyProfile<T>
      extended by com.levigo.jadice.annotation.profiles.DiscreteProperty<T>

public class DiscreteProperty<T>
extends PropertyProfile<T>


Field Summary
 
Fields inherited from class com.levigo.jadice.annotation.profiles.PropertyProfile
propertyType
 
Constructor Summary
DiscreteProperty()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<T> getAllowedValues()
           
 String[] getAllowedValuesXML()
           
 int hashCode()
           
 void setAllowedValuesXML(String[] preferredValuesXML)
           
 String toString()
           
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DiscreteProperty

public DiscreteProperty()
Method Detail

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.