public class GenericMetaType extends AbstractMetaType
This type allows objects that otherwise wouldn't otherwise be metatypes to be passed as is inside the type system. Assuming that both sides understand the value.
ALLOWED_CLASSNAMES| Constructor and Description |
|---|
GenericMetaType(String typeName,
String description)
Create a new GenericMetaType.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
isGeneric()
Retrieve whether the class name of the type is generic
|
boolean |
isValue(Object obj)
Whether the passed value is one of those described by this meta type.
|
String |
toString() |
getClassName, getDescription, getTypeName, isArray, isCollection, isComposite, isEnum, isPrimitive, isProperties, isSimple, isTablepublic boolean isGeneric()
MetaTypeisGeneric in interface MetaTypeisGeneric in class AbstractMetaTypepublic 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.