|
Nuxeo Enterprise Platform 5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuxeo.ecm.core.schema.types.AbstractType
org.nuxeo.ecm.core.schema.types.AnyType
public final class AnyType
| Field Summary | |
|---|---|
static String |
ID
|
static AnyType |
INSTANCE
|
| Fields inherited from class org.nuxeo.ecm.core.schema.types.AbstractType |
|---|
converter, EMPTY_SUPERTYPES, F_NOTNULL, F_READONLY, flags, helper, name, schema, superType |
| Fields inherited from interface org.nuxeo.ecm.core.schema.types.Type |
|---|
ANY |
| Method Summary | |
|---|---|
Object |
convert(Object object)
Converts the given value to an object compatible with the associated type. |
Type |
getSuperType()
Gets the super type. |
Type[] |
getTypeHierarchy()
Gets the entire hierarchy of super-types. |
boolean |
isAnyType()
Tests whether this type is the ANY type. |
protected Object |
readResolve()
|
boolean |
validate(Object object)
Tests whether the given object is of this type. |
| Methods inherited from class org.nuxeo.ecm.core.schema.types.AbstractType |
|---|
clearFlags, decode, encode, getConverter, getHelper, getName, getRef, getSchema, getSchemaName, isAny, isComplexType, isCompositeType, isFlagSet, isListType, isNotNull, isReadOnly, isSimpleType, isSuperTypeOf, newInstance, setConverter, setFlags, setNotNull, setReadOnly |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ID
public static final AnyType INSTANCE
| Method Detail |
|---|
public Type getSuperType()
Type
getSuperType 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 isAnyType()
Type
isAnyType in interface TypeisAnyType in class AbstractTypepublic boolean validate(Object object)
Type
validate in interface Typevalidate in class AbstractTypeobject - the object to test
public Object convert(Object object)
ValueConverter
convert in interface ValueConverterconvert in class AbstractTypeobject - the value to convert
protected Object readResolve()
|
Nuxeo Enterprise Platform 5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||