public interface MetaType extends Serializable
Modifier and Type | Field and Description |
---|---|
static List<String> |
ALLOWED_CLASSNAMES
The allowed classnames.
|
Modifier and Type | Method and Description |
---|---|
String |
getClassName()
Retrieve the class name of the values of this meta
type.
|
String |
getDescription()
Retrieve the description of the type
|
String |
getTypeName()
Retrieve the name of the meta type
|
boolean |
isArray()
Retrieve whether the class name of the type is an array
|
boolean |
isCollection()
Retrieve whether the class name of the type is a collection
|
boolean |
isComposite()
Retrieve whether the class name of the type is composite
|
boolean |
isEnum()
Retrieve whether the class name of the type is an enum
|
boolean |
isGeneric()
Retrieve whether the class name of the type is generic
|
boolean |
isPrimitive()
Retrieve whether the class name of the type is a java primitive type.
|
boolean |
isProperties()
Return whether the type is a PropertiesMetaType type.
|
boolean |
isSimple()
Retrieve whether the class name of the type is simple
|
boolean |
isTable()
Retrieve whether the class name of the type is a table
|
boolean |
isValue(Object obj)
Whether the passed value is one of those described by this meta type.
|
static final List<String> ALLOWED_CLASSNAMES
One of
java.lang.Void
java.lang.Boolean
java.lang.Character
java.lang.Byte
java.lang.Short
java.lang.Integer
java.lang.Long
java.lang.Float
java.lang.Double
java.lang.String
java.lang.Date
java.math.BigDecimal
java.math.BigInteger
java.util.Properties
Name
SimpleValue
EnumValue
GenericValue
ArrayValue
CompositeValue
TableValue
String getClassName()
String getTypeName()
String getDescription()
boolean isArray()
boolean isCollection()
boolean isEnum()
boolean isSimple()
boolean isPrimitive()
boolean isGeneric()
boolean isComposite()
boolean isTable()
boolean isProperties()
PropertiesMetaType
boolean isValue(Object obj)
obj
- the object to testCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.