public class ListPropertyDescriptor extends PropertyDescriptor
Constructor and Description |
---|
ListPropertyDescriptor(ListPropertyDescriptor pOriginalDescriptor,
String pLabel,
String pDescription) |
ListPropertyDescriptor(String pName,
String pMimetype,
List pDefaultValue,
Collection<? extends Constraint> pConstraints,
PropertyDescriptor pElementDescriptor,
boolean pReadOnly) |
ListPropertyDescriptor(String pName,
String pLabel,
String pDescription,
String pMimetype,
List pDefaultValue,
Collection<? extends Constraint> pConstraints,
List<com.escenic.module.Module> pModules,
PropertyDescriptor pElementDescriptor,
boolean pReadOnly) |
Modifier and Type | Method and Description |
---|---|
List |
getDefaultValue() |
PropertyDescriptor |
getElementDescriptor() |
boolean |
isValid(Object pValue)
Validate that this value is
assignable and valid according to the
constraints (business rules) of this property. |
equals, getConstraints, getDescription, getLabel, getMimetype, getModule, getModule, getModules, getModules, getModules, getModules, getName, getType, hashCode, hasModules, isAssignable, isNullable, isReadOnly, toString
public ListPropertyDescriptor(String pName, String pMimetype, List pDefaultValue, Collection<? extends Constraint> pConstraints, PropertyDescriptor pElementDescriptor, boolean pReadOnly)
public ListPropertyDescriptor(ListPropertyDescriptor pOriginalDescriptor, String pLabel, String pDescription)
public ListPropertyDescriptor(String pName, String pLabel, String pDescription, String pMimetype, List pDefaultValue, Collection<? extends Constraint> pConstraints, List<com.escenic.module.Module> pModules, PropertyDescriptor pElementDescriptor, boolean pReadOnly)
public boolean isValid(Object pValue)
PropertyDescriptor
assignable
and valid according to the
constraints
(business rules) of this property.
TODO: This methods should return ValidationResultisValid
in class PropertyDescriptor
pValue
- value to test.public List getDefaultValue()
getDefaultValue
in class PropertyDescriptor
public PropertyDescriptor getElementDescriptor()
© 1998- 2018 Stibo DX