atg.droplet
Class BeanObjectTypeInfo
java.lang.Object
atg.droplet.ObjectTypeInfo
atg.droplet.BeanObjectTypeInfo
- All Implemented Interfaces:
- java.io.Serializable
public class BeanObjectTypeInfo
- extends ObjectTypeInfo
Represents the type of a component or property as a DynamicBeanInfo
with optional augmenting Class, and PropertyDescriptor information as well.
- See Also:
DynamicBeanInfo
,
Serialized Form
Field Summary |
static java.lang.String |
CLASS_VERSION
Class version string |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CLASS_VERSION
public static java.lang.String CLASS_VERSION
- Class version string
BeanObjectTypeInfo
public BeanObjectTypeInfo(java.lang.Class pClass,
DynamicBeanInfo pBeanInfo,
DynamicPropertyDescriptor pPropertyDescriptor)
- Constructs a BeanObjectTypeInfo from a class and a DynamicBeanInfo
BeanObjectTypeInfo
public BeanObjectTypeInfo(DynamicBeanInfo pBeanInfo)
- Constructs a BeanObjectTypeInfo from a DynamicBeanInfo
getBeanInfo
public DynamicBeanInfo getBeanInfo()
- Returns the BeanInfo for this object. We'll create it from the
class if we don't have a BeanInfo defined explicitly
- Overrides:
getBeanInfo
in class ObjectTypeInfo
- Returns:
- the DynamicBeanInfo associated with this type or null if
the type is a class, array, or property.
isArray
public boolean isArray()
- Overrides:
isArray
in class ObjectTypeInfo
- Returns:
- true if this represents an array
getComponentInfo
public ObjectTypeInfo getComponentInfo()
- Overrides:
getComponentInfo
in class ObjectTypeInfo
- Returns:
- the component type of the array represented by this type
or null if this type is not an array.
getClassInfo
public java.lang.Class getClassInfo()
- Overrides:
getClassInfo
in class ObjectTypeInfo
- Returns:
- the class represented by this type or null if the type
is represented by a BeanInfo.
getPropertyDescriptor
public DynamicPropertyDescriptor getPropertyDescriptor()
- Overrides:
getPropertyDescriptor
in class ObjectTypeInfo
- Returns:
- the DynamicPropertyDescriptor associated with this type or
null if the type is a class, bean, or array.