public abstract class PrimitiveType extends AbstractType implements SimpleType
EMPTY_SUPERTYPES| Modifier and Type | Method and Description |
|---|---|
SimpleType |
getPrimitiveType() |
Type |
getSuperType()
Gets the super type.
|
Type[] |
getTypeHierarchy()
Gets the entire hierarchy of super-types.
|
boolean |
isPrimitive()
Tests whether this type is a primitive type.
|
boolean |
isSimpleType()
Tests whether this type is a simple type.
|
abstract boolean |
validate(Object object)
Tests whether the given object is of this type.
|
decode, encode, getName, getSchema, getSchemaName, isAny, isAnyType, isComplexType, isCompositeType, isListType, isSuperTypeOf, newInstanceequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvert, decode, encode, getName, getSchema, getSchemaName, isAnyType, isComplexType, isCompositeType, isListType, isSuperTypeOf, newInstancepublic abstract boolean validate(Object object)
Typevalidate in interface Typevalidate in class AbstractTypeobject - the object to testpublic Type getSuperType()
TypegetSuperType in interface TypegetSuperType in class AbstractTypepublic Type[] getTypeHierarchy()
TypeThe array is ordered as follows:
The returned array is never null. An empty array is returned in the case
of ANY type.
getTypeHierarchy in interface TypegetTypeHierarchy in class AbstractTypepublic boolean isPrimitive()
SimpleTypeisPrimitive in interface SimpleTypepublic boolean isSimpleType()
TypeisSimpleType in interface TypeisSimpleType in class AbstractTypepublic SimpleType getPrimitiveType()
getPrimitiveType in interface SimpleTypeCopyright © 2014 Nuxeo SA. All rights reserved.