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
public interface SimpleType extends Type
Simple Type.May be primitive or not (in which case it has additional constraints over a primitive type).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PrimitiveType
getPrimitiveType()
boolean
isPrimitive()
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 Detail
-
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()
-
-