public class MapPropertyDescriptor extends PropertyDescriptor implements Iterable<PropertyDescriptor>
Map
for each of the properties
defined in the map. Each of the properties needs to be defined by a Property descriptor
, which is defined at constructor
time.Constructor and Description |
---|
MapPropertyDescriptor(MapPropertyDescriptor pOriginalDescriptor,
String pLabel,
String pDescription) |
MapPropertyDescriptor(String pName,
Collection<Constraint> pConstraints,
List<PropertyDescriptor> pProperties,
boolean pReadOnly) |
MapPropertyDescriptor(String pName,
String pLabel,
String pDescription,
Collection<Constraint> pConstraints,
List<com.escenic.module.Module> pModules,
List<PropertyDescriptor> pProperties,
boolean pReadOnly) |
Modifier and Type | Method and Description |
---|---|
PropertyDescriptor |
getChildPropertyDescriptor(String pKey) |
List<PropertyDescriptor> |
getChildPropertyDescriptors() |
boolean |
isValid(Object pValue)
Checks that the object is assignable to a Map.
|
Iterator<PropertyDescriptor> |
iterator() |
equals, getConstraints, getDefaultValue, getDescription, getLabel, getMimetype, getModule, getModule, getModules, getModules, getModules, getModules, getName, getType, hashCode, hasModules, isAssignable, isNullable, isReadOnly, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public MapPropertyDescriptor(String pName, Collection<Constraint> pConstraints, List<PropertyDescriptor> pProperties, boolean pReadOnly)
public MapPropertyDescriptor(MapPropertyDescriptor pOriginalDescriptor, String pLabel, String pDescription)
public MapPropertyDescriptor(String pName, String pLabel, String pDescription, Collection<Constraint> pConstraints, List<com.escenic.module.Module> pModules, List<PropertyDescriptor> pProperties, boolean pReadOnly)
public boolean isValid(Object pValue)
isValid
in class PropertyDescriptor
pValue
- value to test.public List<PropertyDescriptor> getChildPropertyDescriptors()
public PropertyDescriptor getChildPropertyDescriptor(String pKey)
public Iterator<PropertyDescriptor> iterator()
iterator
in interface Iterable<PropertyDescriptor>
© 1998- 2018 Stibo DX