Package org.ametys.cms.contenttype
Enum Class MetadataType
- All Implemented Interfaces:
Serializable
,Comparable<MetadataType>
,java.lang.constant.Constable
Deprecated.
Metadata type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated.Binary type.Deprecated.Boolean type.Deprecated.Composite type.Deprecated.Reference to a content.Deprecated.Date type.Deprecated.Date time type.Deprecated.Double type.Deprecated.File type, may be a binary or a reference (symbolic link).Deprecated.Geocode type.Deprecated.Long type.Deprecated.Multilingual stringDeprecated.Reference type (Resources explorer / dn of a directory / ...).Deprecated.Rich text type.Deprecated.String type.Deprecated.Sub-content.Deprecated.User type. -
Method Summary
Modifier and TypeMethodDescriptiongetId()
Deprecated.Retrieves the type identifierstatic MetadataType
Deprecated.Returns the enum constant of this class with the specified name.static MetadataType[]
values()
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STRING
Deprecated.String type. -
MULTILINGUAL_STRING
Deprecated.Multilingual string -
DATE
Deprecated.Date type. -
DATETIME
Deprecated.Date time type. -
LONG
Deprecated.Long type. -
GEOCODE
Deprecated.Geocode type. -
DOUBLE
Deprecated.Double type. -
BOOLEAN
Deprecated.Boolean type. -
COMPOSITE
Deprecated.Composite type. -
BINARY
Deprecated.Binary type. -
RICH_TEXT
Deprecated.Rich text type. -
USER
Deprecated.User type. -
REFERENCE
Deprecated.Reference type (Resources explorer / dn of a directory / ...). -
CONTENT
Deprecated.Reference to a content. -
SUB_CONTENT
Deprecated.Sub-content. -
FILE
Deprecated.File type, may be a binary or a reference (symbolic link).
-
-
Method Details
-
values
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getId
Deprecated.Retrieves the type identifier- Returns:
- the type identifier
-
ElementType
instead