Package org.nuxeo.ecm.core.schema.types
Interface SimpleType
- All Superinterfaces:
Serializable
,Type
- All Known Implementing Classes:
BinaryType
,BooleanType
,DateType
,DoubleType
,IntegerType
,LongType
,PrimitiveType
,SimpleTypeImpl
,StringType
Simple Type.
May be primitive or not (in which case it has additional constraints over a primitive type).
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Tests whether this type is a primitive type.Methods inherited from interface org.nuxeo.ecm.core.schema.types.Type
convert, decode, encode, getConstraints, getName, getObjectResolver, getSchema, getSchemaName, getSuperType, getTypeHierarchy, isAnyType, isComplexType, isCompositeType, isListType, isSimpleType, isSuperTypeOf, newInstance, validate
-
Method Details
-
isPrimitive
boolean isPrimitive()Tests whether this type is a primitive type.- Returns:
- true if this type is a primitive type, false otherwise
-
getPrimitiveType
PrimitiveType getPrimitiveType()
-