org.progeeks.meta
Class ListPropertyType

java.lang.Object
  extended by org.progeeks.meta.ClassPropertyType
      extended by org.progeeks.meta.ContainerPropertyType
          extended by org.progeeks.meta.ListPropertyType
All Implemented Interfaces:
java.io.Serializable, PropertyType

public class ListPropertyType
extends ContainerPropertyType

Represents an ordered list of values such that they can be referenced by index number. ListPropertyType is a container type and so also provides information about the type of its members.

Version:
$Revision: 1.5 $
Author:
Paul Speed
See Also:
Serialized Form

Constructor Summary
ListPropertyType(PropertyType valueType)
          Creates a ListPropertyType representing an order list of values of the specified valueType.
 
Method Summary
 ContainerPropertyType replaceContainedType(PropertyType valueType)
          Clones this container property type and replaces the value type with the type specified.
protected  PropertyType wrapRawSuperType(java.lang.Object o)
          Called to wrap the specified super-type in a PropertyType.
 
Methods inherited from class org.progeeks.meta.ContainerPropertyType
createRawSuperTypeIterator, equals, equals, getValueType, hashCode, isAssignableFrom, toString
 
Methods inherited from class org.progeeks.meta.ClassPropertyType
convertPrimitive, getBaseClass, getSuperTypes, isInstance
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListPropertyType

public ListPropertyType(PropertyType valueType)
Creates a ListPropertyType representing an order list of values of the specified valueType.

Method Detail

replaceContainedType

public ContainerPropertyType replaceContainedType(PropertyType valueType)
Clones this container property type and replaces the value type with the type specified. Subclasses should implement this to provide the correct ContainerPropertyType implementation.

Overrides:
replaceContainedType in class ContainerPropertyType

wrapRawSuperType

protected PropertyType wrapRawSuperType(java.lang.Object o)
Called to wrap the specified super-type in a PropertyType. For containers, the object passed is a value type for which we'll wrap in a ContainerPropertyType like us.

Overrides:
wrapRawSuperType in class ContainerPropertyType


Copyright © 2002-2003 Paul Speed. All Rights Reserved.