atg.droplet
Class ObjectTypeInfo
java.lang.Object
atg.droplet.ObjectTypeInfo
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ArrayObjectTypeInfo, BeanObjectTypeInfo, ClassObjectTypeInfo
public class ObjectTypeInfo
- extends java.lang.Object
- implements java.io.Serializable
This is an abstract class that is used to store various ways of
representing "type" information for a bean or property. It is designed
to represent classes in one of 4 ways:
- Class
- DynamicPropertyDescriptor
- DynamicBeanInfo
- Array of one of the above
- See Also:
- Serialized Form
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
ObjectTypeInfo
public ObjectTypeInfo()
isArray
public boolean isArray()
- Returns:
- true if this represents an array
getClassInfo
public java.lang.Class getClassInfo()
- Returns:
- the class represented by this type or null if the type
is represented by a BeanInfo.
getBeanInfo
public DynamicBeanInfo getBeanInfo()
- Returns:
- the DynamicBeanInfo associated with this type or null if
the type is a class, array, or property.
getPropertyDescriptor
public DynamicPropertyDescriptor getPropertyDescriptor()
- Returns:
- the DynamicPropertyDescriptor associated with this type or
null if the type is a class, bean, or array.
getComponentInfo
public ObjectTypeInfo getComponentInfo()
- Returns:
- the component type of the array represented by this type
or null if this type is not an array.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object