Enum DescriptionLevel
- java.lang.Object
-
- java.lang.Enum<DescriptionLevel>
-
- fr.gouv.vitam.collect.internal.core.common.DescriptionLevel
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DescriptionLevel>
public enum DescriptionLevel extends java.lang.Enum<DescriptionLevel>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLASS
COLLECTION
FILE
FONDS
ITEM
OTHER_LEVEL
RECORD_GRP
SERIES
SUB_GRP
SUBFONDS
SUBSERIES
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescriptionLevel
fromValue(java.lang.String v)
java.lang.String
getValue()
static DescriptionLevel
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DescriptionLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FONDS
public static final DescriptionLevel FONDS
-
SUBFONDS
public static final DescriptionLevel SUBFONDS
-
CLASS
public static final DescriptionLevel CLASS
-
COLLECTION
public static final DescriptionLevel COLLECTION
-
SERIES
public static final DescriptionLevel SERIES
-
SUBSERIES
public static final DescriptionLevel SUBSERIES
-
RECORD_GRP
public static final DescriptionLevel RECORD_GRP
-
SUB_GRP
public static final DescriptionLevel SUB_GRP
-
FILE
public static final DescriptionLevel FILE
-
ITEM
public static final DescriptionLevel ITEM
-
OTHER_LEVEL
public static final DescriptionLevel OTHER_LEVEL
-
-
Method Detail
-
values
public static DescriptionLevel[] 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 (DescriptionLevel c : DescriptionLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DescriptionLevel 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
-
fromValue
public static DescriptionLevel fromValue(java.lang.String v)
-
getValue
public java.lang.String getValue()
-
-