|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.core.schema.types.AbstractType org.nuxeo.ecm.core.schema.types.PrimitiveType
public abstract class PrimitiveType
Field Summary |
---|
Fields inherited from class org.nuxeo.ecm.core.schema.types.AbstractType |
---|
EMPTY_SUPERTYPES, F_NOTNULL, F_READONLY |
Fields inherited from interface org.nuxeo.ecm.core.schema.types.Type |
---|
ANY |
Method Summary | |
---|---|
SimpleType |
getPrimitiveType()
|
TypeRef<PrimitiveType> |
getRef()
Gets a proxy (or reference to this type). |
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. |
Methods inherited from class org.nuxeo.ecm.core.schema.types.AbstractType |
---|
decode, encode, getHelper, getName, getSchema, getSchemaName, isAny, isAnyType, isComplexType, isCompositeType, isListType, isNotNull, isReadOnly, isSuperTypeOf, newInstance, setNotNull, setReadOnly |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.nuxeo.ecm.core.schema.types.Type |
---|
decode, encode, getHelper, getName, getSchema, getSchemaName, isAnyType, isComplexType, isCompositeType, isListType, isNotNull, isReadOnly, isSuperTypeOf, newInstance |
Methods inherited from interface org.nuxeo.ecm.core.schema.types.ValueConverter |
---|
convert |
Method Detail |
---|
public abstract boolean validate(Object object)
Type
validate
in interface Type
validate
in class AbstractType
object
- the object to test
public Type getSuperType()
Type
getSuperType
in interface Type
getSuperType
in class AbstractType
public Type[] getTypeHierarchy()
Type
The 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 Type
getTypeHierarchy
in class AbstractType
public boolean isPrimitive()
SimpleType
isPrimitive
in interface SimpleType
public boolean isSimpleType()
Type
isSimpleType
in interface Type
isSimpleType
in class AbstractType
public SimpleType getPrimitiveType()
getPrimitiveType
in interface SimpleType
public TypeRef<PrimitiveType> getRef()
Type
getRef
in interface SimpleType
getRef
in interface Type
getRef
in class AbstractType
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |