Enum TypeDetail
- java.lang.Object
-
- java.lang.Enum<TypeDetail>
-
- fr.gouv.vitam.common.model.administration.TypeDetail
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TypeDetail>
public enum TypeDetail extends java.lang.Enum<TypeDetail>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TypeDetail
fromOntologyType(OntologyType ontologyType)
java.lang.String
getType()
boolean
isCompatibleWithType(OntologyType ontologyType)
static TypeDetail
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TypeDetail[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING
public static final TypeDetail STRING
-
ENUM
public static final TypeDetail ENUM
-
DATETIME
public static final TypeDetail DATETIME
-
DATE
public static final TypeDetail DATE
-
LONG
public static final TypeDetail LONG
-
DOUBLE
public static final TypeDetail DOUBLE
-
BOOLEAN
public static final TypeDetail BOOLEAN
-
-
Method Detail
-
values
public static TypeDetail[] values()
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 (TypeDetail c : TypeDetail.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TypeDetail valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getType
public java.lang.String getType()
-
isCompatibleWithType
public boolean isCompatibleWithType(OntologyType ontologyType)
-
fromOntologyType
public static TypeDetail fromOntologyType(OntologyType ontologyType)
-
-