|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.progeeks.meta.ClassPropertyType
org.progeeks.meta.ContainerPropertyType
public class ContainerPropertyType
This represents a property type that is a container for objects of another type.
Constructor Summary | |
---|---|
ContainerPropertyType(java.lang.Class baseClass,
PropertyType valueType)
Creates a ContainerPropertyType representing a container with values of the specified valueType. |
|
ContainerPropertyType(PropertyType valueType)
Creates a ContainerPropertyType representing a container with values of the specified valueType. |
Method Summary | |
---|---|
protected java.util.Iterator |
createRawSuperTypeIterator()
Called by getSuperTypes() to create the Iterator and can be used for custom configuration of the iterator as necessary. |
boolean |
equals(ContainerPropertyType type)
|
boolean |
equals(java.lang.Object obj)
|
PropertyType |
getValueType()
Returns the type of values contained within lists of this type. |
int |
hashCode()
|
boolean |
isAssignableFrom(PropertyType type)
Returns true if the specified type is the same as or a subclass of this property type. |
ContainerPropertyType |
replaceContainedType(PropertyType valueType)
Clones this container property type and replaces the value type with the type specified. |
java.lang.String |
toString()
|
protected PropertyType |
wrapRawSuperType(java.lang.Object o)
Called to wrap the specified super-type in a PropertyType. |
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 |
---|
public ContainerPropertyType(PropertyType valueType)
public ContainerPropertyType(java.lang.Class baseClass, PropertyType valueType)
Method Detail |
---|
public ContainerPropertyType replaceContainedType(PropertyType valueType)
public PropertyType getValueType()
public boolean isAssignableFrom(PropertyType type)
isAssignableFrom
in interface PropertyType
isAssignableFrom
in class ClassPropertyType
protected java.util.Iterator createRawSuperTypeIterator()
createRawSuperTypeIterator
in class ClassPropertyType
protected PropertyType wrapRawSuperType(java.lang.Object o)
wrapRawSuperType
in class ClassPropertyType
public boolean equals(ContainerPropertyType type)
public boolean equals(java.lang.Object obj)
equals
in class ClassPropertyType
public int hashCode()
hashCode
in class ClassPropertyType
public java.lang.String toString()
toString
in class ClassPropertyType
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |