Enum Class CompositeMetadata.MetadataType
java.lang.Object
java.lang.Enum<CompositeMetadata.MetadataType>
org.ametys.plugins.repository.metadata.CompositeMetadata.MetadataType
- All Implemented Interfaces:
Serializable
,Comparable<CompositeMetadata.MetadataType>
,java.lang.constant.Constable
- Enclosing interface:
- CompositeMetadata
Enumeration for metadata types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionConstant for type binaryConstant for type booleanConstant for composite metadataConstant for type dateConstant for type doubleConstant for type longConstant for type a multilingual stringConstant for object collection metadataConstant for type richtextConstant for type stringConstant for type user -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static CompositeMetadata.MetadataType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COMPOSITE
Constant for composite metadata -
BINARY
Constant for type binary -
RICHTEXT
Constant for type richtext -
STRING
Constant for type string -
MULTILINGUAL_STRING
Constant for type a multilingual string -
BOOLEAN
Constant for type boolean -
DATE
Constant for type date -
DOUBLE
Constant for type double -
LONG
Constant for type long -
OBJECT_COLLECTION
Constant for object collection metadata -
USER
Constant for type user
-
-
Method Details
-
values
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
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
-