Package org.ametys.cms.contenttype
Enum MetadataType
- java.lang.Object
-
- java.lang.Enum<MetadataType>
-
- org.ametys.cms.contenttype.MetadataType
-
- All Implemented Interfaces:
Serializable
,Comparable<MetadataType>
@Deprecated public enum MetadataType extends Enum<MetadataType>
Deprecated.UseElementType
insteadMetadata type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BINARY
Deprecated.Binary type.BOOLEAN
Deprecated.Boolean type.COMPOSITE
Deprecated.Composite type.CONTENT
Deprecated.Reference to a content.DATE
Deprecated.Date type.DATETIME
Deprecated.Date time type.DOUBLE
Deprecated.Double type.FILE
Deprecated.File type, may be a binary or a reference (symbolic link).GEOCODE
Deprecated.Geocode type.LONG
Deprecated.Long type.MULTILINGUAL_STRING
Deprecated.Multilingual stringREFERENCE
Deprecated.Reference type (Resources explorer / dn of a directory / ...).RICH_TEXT
Deprecated.Rich text type.STRING
Deprecated.String type.SUB_CONTENT
Deprecated.Sub-content.USER
Deprecated.User type.
-
Constructor Summary
Constructors Modifier Constructor Description private
MetadataType()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getId()
Deprecated.Retrieves the type identifierstatic MetadataType
valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name.static MetadataType[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING
public static final MetadataType STRING
Deprecated.String type.
-
MULTILINGUAL_STRING
public static final MetadataType MULTILINGUAL_STRING
Deprecated.Multilingual string
-
DATE
public static final MetadataType DATE
Deprecated.Date type.
-
DATETIME
public static final MetadataType DATETIME
Deprecated.Date time type.
-
LONG
public static final MetadataType LONG
Deprecated.Long type.
-
GEOCODE
public static final MetadataType GEOCODE
Deprecated.Geocode type.
-
DOUBLE
public static final MetadataType DOUBLE
Deprecated.Double type.
-
BOOLEAN
public static final MetadataType BOOLEAN
Deprecated.Boolean type.
-
COMPOSITE
public static final MetadataType COMPOSITE
Deprecated.Composite type.
-
BINARY
public static final MetadataType BINARY
Deprecated.Binary type.
-
RICH_TEXT
public static final MetadataType RICH_TEXT
Deprecated.Rich text type.
-
USER
public static final MetadataType USER
Deprecated.User type.
-
REFERENCE
public static final MetadataType REFERENCE
Deprecated.Reference type (Resources explorer / dn of a directory / ...).
-
CONTENT
public static final MetadataType CONTENT
Deprecated.Reference to a content.
-
SUB_CONTENT
public static final MetadataType SUB_CONTENT
Deprecated.Sub-content.
-
FILE
public static final MetadataType FILE
Deprecated.File type, may be a binary or a reference (symbolic link).
-
-
Constructor Detail
-
MetadataType
private MetadataType()
Deprecated.
-
-
Method Detail
-
values
public static MetadataType[] values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MetadataType c : MetadataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MetadataType valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-