public class CollectionType extends AbstractType
CollectionType class.
logger| Constructor and Description |
|---|
CollectionType() |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getCollectionClass()
Getter for the field
collectionClass. |
Type |
getElementType()
The collection element type
|
Class<?> |
getIndexClass()
The collection index type (or null if the collection has no index)
|
String |
getName()
getName.
|
Type |
getPropertyType(String property)
getPropertyType.
|
Class<?> |
getReturnedClass()
getReturnedClass.
|
boolean |
hasIndex()
Is this collection indexed?
|
boolean |
isArray()
Is the collection an array?
|
boolean |
isCollectionType()
isCollectionType.
|
Object |
newInstance()
newInstance.
|
void |
setArray(boolean isArray)
Setter for the field
array. |
void |
setCollectionClass(Class<?> collectionClass)
Setter for the field
collectionClass. |
void |
setElementType(Type elementType)
Setter for the field
elementType. |
equals, hashCode, isComponentType, isEntityType, toStringpublic boolean isCollectionType()
isCollectionType.
isCollectionType in interface TypeisCollectionType in class AbstractTypepublic String getName()
getName.
getName in interface TypegetName in class AbstractTypeString object.public Type getPropertyType(String property)
getPropertyType.
getPropertyType in interface TypegetPropertyType in class AbstractTypeproperty - a String object.Type object.public void setElementType(Type elementType)
Setter for the field elementType.
elementType - a Type object.public Class<?> getIndexClass()
Class object.public boolean hasIndex()
public Class<?> getReturnedClass()
getReturnedClass.
getReturnedClass in interface TypegetReturnedClass in class AbstractTypeClass object.public Class<?> getCollectionClass()
Getter for the field collectionClass.
Class object.public void setCollectionClass(Class<?> collectionClass)
Setter for the field collectionClass.
collectionClass - a Class object.public boolean isArray()
public void setArray(boolean isArray)
Setter for the field array.
isArray - a boolean.public Object newInstance()
newInstance.
newInstance in interface TypenewInstance in class AbstractTypeObject object.Copyright © 2005–2018 The Beangle Software. All rights reserved.