Package com.adobe.xmp.schema.model
Interface SimpleType
-
- All Superinterfaces:
PropertyType,java.io.Serializable
public interface SimpleType extends PropertyType
Describes a simple XMP type. All simple types are based on five basic types:- Text
- Integer
- Real
- Boolean
- Date
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSimpleType.BasicTypeEnum of all five basic XMP simple types
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTYPE_BOOLEANName of Booleanstatic java.lang.StringTYPE_DATEName of Datestatic java.lang.StringTYPE_INTEGERName of Integerstatic java.lang.StringTYPE_REALName of Realstatic java.lang.StringTYPE_TEXTName of Text
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SimpleType.BasicTypegetBasicType()One of the basic types "Boolean", "Date", "Integer", "Real" or "Text".SimpleTypegetInherited()-
Methods inherited from interface com.adobe.xmp.schema.model.PropertyType
accept, getDescription, getLabel, getName, getRule, setDescription, setLabel, setName, setRule
-
-
-
-
Field Detail
-
TYPE_BOOLEAN
static final java.lang.String TYPE_BOOLEAN
Name of Boolean- See Also:
- Constant Field Values
-
TYPE_DATE
static final java.lang.String TYPE_DATE
Name of Date- See Also:
- Constant Field Values
-
TYPE_INTEGER
static final java.lang.String TYPE_INTEGER
Name of Integer- See Also:
- Constant Field Values
-
TYPE_REAL
static final java.lang.String TYPE_REAL
Name of Real- See Also:
- Constant Field Values
-
TYPE_TEXT
static final java.lang.String TYPE_TEXT
Name of Text- See Also:
- Constant Field Values
-
-
Method Detail
-
getBasicType
SimpleType.BasicType getBasicType()
One of the basic types "Boolean", "Date", "Integer", "Real" or "Text".- Returns:
- Returns the simple type this type is inherited from.
-
getInherited
SimpleType getInherited()
- Returns:
- Returns the inherited simple type. If it is a basic type,
nullis returned
-
-