Package com.bc.ceres.binding
Class DefaultPropertySetDescriptor
- java.lang.Object
- 
- com.bc.ceres.binding.DefaultPropertySetDescriptor
 
- 
- All Implemented Interfaces:
- PropertySetDescriptor
 
 public class DefaultPropertySetDescriptor extends Object implements PropertySetDescriptor The default implementation of a property set descriptor.- Since:
- 0.14
 
- 
- 
Constructor SummaryConstructors Constructor Description DefaultPropertySetDescriptor()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPropertyDescriptor(PropertyDescriptor propertyDescriptor)static PropertySetDescriptorcreateFromClass(Class<?> valueType, PropertyDescriptorFactory propertyDescriptorFactory)PropertyDescriptorgetPropertyDescriptor(String propertyName)Gets a property descriptor for the given property name.String[]getPropertyNames()Gets the names of all properties in the set.
 
- 
- 
- 
Method Detail- 
createFromClasspublic static PropertySetDescriptor createFromClass(Class<?> valueType, PropertyDescriptorFactory propertyDescriptorFactory) 
 - 
getPropertyNamespublic String[] getPropertyNames() Description copied from interface:PropertySetDescriptorGets the names of all properties in the set.- Specified by:
- getPropertyNamesin interface- PropertySetDescriptor
- Returns:
- The array of names of all properties in the set, or an empty array if the set is empty.
 
 - 
getPropertyDescriptorpublic PropertyDescriptor getPropertyDescriptor(String propertyName) Description copied from interface:PropertySetDescriptorGets a property descriptor for the given property name.- Specified by:
- getPropertyDescriptorin interface- PropertySetDescriptor
- Parameters:
- propertyName- The property name.
- Returns:
- A property descriptor, or nullif no such exists.
 
 - 
addPropertyDescriptorpublic void addPropertyDescriptor(PropertyDescriptor propertyDescriptor) 
 
- 
 
-