public class SimpleDynamicBeanInfo extends java.lang.Object implements DynamicBeanInfo, java.io.Serializable
Simple template implementation of DynamicBeanInfo providing no-op values for most of its properties.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION |
| Constructor and Description |
|---|
SimpleDynamicBeanInfo() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
areInstances(DynamicBeanInfo pDynamicBeanInfo)
Returns true if all objects described by some DynamicBeanInfo
are also described by this one.
|
DynamicBeanDescriptor |
getBeanDescriptor()
Returns the DynamicBeanDescriptor for this DynamicBeanInfo.
|
DynamicPropertyDescriptor |
getPropertyDescriptor(java.lang.String pPropertyName)
Returns the PropertyDescriptor for the specified property
|
DynamicPropertyDescriptor[] |
getPropertyDescriptors()
Returns the DynamicPropertyDescriptors for this DynamicBeanInfo.
|
java.lang.String[] |
getPropertyNames()
Returns the list of the names of the known properties
|
boolean |
hasProperty(java.lang.String pPropertyName)
Returns true if this DynamicBeanInfo supports the given property
|
boolean |
isInstance(java.lang.Object pObj)
Returns true if the given object belongs to the set of dynamic beans
described by this DynamicBeanInfo.
|
public DynamicBeanDescriptor getBeanDescriptor()
getBeanDescriptor in interface DynamicBeanInfopublic DynamicPropertyDescriptor[] getPropertyDescriptors()
getPropertyDescriptors in interface DynamicBeanInfopublic boolean hasProperty(java.lang.String pPropertyName)
hasProperty in interface DynamicBeanInfopPropertyName - the name of the propertypublic java.lang.String[] getPropertyNames()
getPropertyNames in interface DynamicBeanInfopublic DynamicPropertyDescriptor getPropertyDescriptor(java.lang.String pPropertyName)
getPropertyDescriptor in interface DynamicBeanInfopPropertyName - the name of the propertypublic boolean isInstance(java.lang.Object pObj)
isInstance in interface DynamicBeanInfopublic boolean areInstances(DynamicBeanInfo pDynamicBeanInfo)
areInstances in interface DynamicBeanInfo