|
JBoss Managed Parent POM 2.1.1.SP2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.metatype.api.types.AbstractMetaType
public abstract class AbstractMetaType
AbstractMetaType.
Field Summary |
---|
Fields inherited from interface org.jboss.metatype.api.types.MetaType |
---|
ALLOWED_CLASSNAMES |
Constructor Summary | |
---|---|
protected |
AbstractMetaType(String className)
Construct a new MetaType. |
protected |
AbstractMetaType(String className,
String description)
Construct a new MetaType. |
protected |
AbstractMetaType(String className,
String typeName,
String description)
Construct a new MetaType. |
Method Summary | |
---|---|
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 |
abstract boolean |
isValue(Object obj)
Whether the passed value is one of those described by this meta type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractMetaType(String className, String typeName, String description)
The class name must be in MetaType.ALLOWED_CLASSNAMES
or an
array of those classes.
className
- the name of the class implementing the meta type,
cannot be nulltypeName
- the name of the meta type, cannot be nulldescription
- the human readable description of the type, cannot
be null
IllegalArgumentException
- for a null argument or a class is not an allowed classprotected AbstractMetaType(String className, String description)
The class name must be in MetaType.ALLOWED_CLASSNAMES
or an
array of those classes.
className
- the name of the class implementing the meta type,
cannot be nulldescription
- the human readable description of the type, cannot
be null
IllegalArgumentException
- for a null argument or a class is not an allowed classprotected AbstractMetaType(String className)
MetaType.ALLOWED_CLASSNAMES
or an
array of those classes.
className
- the name of the class implementing the meta type,
cannot be null
IllegalArgumentException
- for a null argument or a class is not an allowed classMethod Detail |
---|
public String getClassName()
MetaType
getClassName
in interface MetaType
public String getTypeName()
MetaType
getTypeName
in interface MetaType
public String getDescription()
MetaType
getDescription
in interface MetaType
public boolean isEnum()
MetaType
isEnum
in interface MetaType
public boolean isComposite()
MetaType
isComposite
in interface MetaType
public boolean isSimple()
MetaType
isSimple
in interface MetaType
public boolean isPrimitive()
MetaType
isPrimitive
in interface MetaType
public boolean isGeneric()
MetaType
isGeneric
in interface MetaType
public boolean isTable()
MetaType
isTable
in interface MetaType
public boolean isArray()
MetaType
isArray
in interface MetaType
public boolean isCollection()
MetaType
isCollection
in interface MetaType
public boolean isProperties()
MetaType
isProperties
in interface MetaType
PropertiesMetaType
public abstract boolean isValue(Object obj)
MetaType
isValue
in interface MetaType
obj
- the object to test
|
JBoss Managed Parent POM 2.1.1.SP2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |