public class SchedulePropertyDescriptor extends PropertyDescriptor
Constructor and Description |
---|
SchedulePropertyDescriptor(String pName,
Class<?> pType,
String pLabel,
String pDescription,
String pMimetype,
Object pDefaultValue,
Collection<? extends Constraint> pConstraints,
List<com.escenic.module.Module> pModules,
boolean pReadOnly) |
Modifier and Type | Method and Description |
---|---|
boolean |
isValid(Object pValue)
Validate that this value is
assignable and valid according to the
constraints (business rules) of this property. |
equals, getConstraints, getDefaultValue, getDescription, getLabel, getMimetype, getModule, getModule, getModules, getModules, getModules, getModules, getName, getType, hashCode, hasModules, isAssignable, isNullable, isReadOnly, toString
public SchedulePropertyDescriptor(String pName, Class<?> pType, String pLabel, String pDescription, String pMimetype, Object pDefaultValue, Collection<? extends Constraint> pConstraints, List<com.escenic.module.Module> pModules, 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.© 1998- 2018 Stibo DX