atg.droplet
Class ArrayObjectTypeInfo
java.lang.Object
atg.droplet.ObjectTypeInfo
atg.droplet.ArrayObjectTypeInfo
- All Implemented Interfaces:
- java.io.Serializable
public class ArrayObjectTypeInfo
- extends ObjectTypeInfo
Represents a type of a component or property as an array of other types.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary |
ArrayObjectTypeInfo(ObjectTypeInfo pComponentInfo)
Constructs an ArrayObjectTypeInfo give the ObjectTypeInfo that
represents the type of an element of the array |
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
ArrayObjectTypeInfo
public ArrayObjectTypeInfo(ObjectTypeInfo pComponentInfo)
- Constructs an ArrayObjectTypeInfo give the ObjectTypeInfo that
represents the type of an element of the array
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.
getBeanInfo
public DynamicBeanInfo getBeanInfo()
- Overrides:
getBeanInfo
in class ObjectTypeInfo
- Returns:
- the DynamicBeanInfo associated with this type. For array
components, there is no DynamicBeanInfo that describes the properties
of the array itself. Instead, we return a BeanInfo for Object[]'s
class.
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.