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, isTable
public boolean isGeneric()
MetaType
isGeneric
in interface MetaType
isGeneric
in class AbstractMetaType
public boolean isValue(Object obj)
MetaType
isValue
in interface MetaType
isValue
in class AbstractMetaType
obj
- the object to testCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.