public class CollectionMetaType extends AbstractMetaType
ALLOWED_CLASSNAMES| Constructor and Description |
|---|
CollectionMetaType(String className,
MetaType elementType) |
CollectionMetaType(String className,
String description,
MetaType elementType) |
CollectionMetaType(String className,
String typeName,
String description,
MetaType elementType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static CollectionMetaType |
getCollectionType(String collectionType,
MetaType elementType)
Get collection meta type.
|
MetaType |
getElementType()
Get the meta type of the array elements
|
int |
hashCode() |
boolean |
isCollection()
Retrieve whether the class name of the type is a collection
|
boolean |
isValue(Object obj)
Whether the passed value is one of those described by this meta type.
|
String |
toString() |
getClassName, getDescription, getTypeName, isArray, isComposite, isEnum, isGeneric, isPrimitive, isProperties, isSimple, isTablepublic CollectionMetaType(String className, String description, MetaType elementType)
public boolean isCollection()
MetaTypeisCollection in interface MetaTypeisCollection in class AbstractMetaTypepublic static CollectionMetaType getCollectionType(String collectionType, MetaType elementType)
collectionType - the element meta typeelementType - the element meta typepublic MetaType getElementType()
public boolean isValue(Object obj)
MetaTypeisValue in interface MetaTypeisValue in class AbstractMetaTypeobj - the object to testCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.