Method Summary |
|
public void | addConstraint(Constraint constraint) Add a constraint to this type. |
public boolean | equals(Object o) The implementation of equals consider to Types as equal if name and
value are equal. |
public List | getConstraints() Returns a list of constraints for the value of this type. |
abstract Object | getDefaultValue() |
abstract String | getDescription() Get the description of this type
The description should be suitable for showing in a user interface. |
public Class | getLegalValueType() Get the class values of this Type must be an instance of. |
abstract Object[] | getLegalValues() Get the legal values for this type. |
public boolean | isExpertSetting() Returns true if this Type should only show up in expert mode in UI. |
public boolean | isOverrideable() Is this an 'overrideable' setting. |
public boolean | isTransient() Returns true if this ComplexType should be saved to persistent storage. |
public void | setExpertSetting(boolean isExpertSetting) Set if this Type should only show up in expert mode in UI. |
public void | setLegalValueType(Class legalValueType) Set the class values of this Type must be an instance of. |
public void | setOverrideable(boolean b) Set if this Type should be overideable. |
public void | setTransient(boolean b) Set to false if this attribute should not be serialized to persistent
storage. |