atg.droplet
Class ArrayObjectTypeInfo

java.lang.Object
  extended by atg.droplet.ObjectTypeInfo
      extended by 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
 
Method Summary
 DynamicBeanInfo getBeanInfo()
           
 java.lang.Class getClassInfo()
           
 ObjectTypeInfo getComponentInfo()
           
 boolean isArray()
           
 
Methods inherited from class atg.droplet.ObjectTypeInfo
getPropertyDescriptor, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

ArrayObjectTypeInfo

public ArrayObjectTypeInfo(ObjectTypeInfo pComponentInfo)
Constructs an ArrayObjectTypeInfo give the ObjectTypeInfo that represents the type of an element of the array

Method Detail

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.