Package fr.gouv.vitam.common.model.unit
Enum LevelType
- java.lang.Object
-
- java.lang.Enum<LevelType>
-
- fr.gouv.vitam.common.model.unit.LevelType
-
-
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 LevelType
fromValue(java.lang.String v)
java.lang.String
value()
static LevelType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LevelType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FONDS
public static final LevelType FONDS
-
SUBFONDS
public static final LevelType SUBFONDS
-
CLASS
public static final LevelType CLASS
-
COLLECTION
public static final LevelType COLLECTION
-
SERIES
public static final LevelType SERIES
-
SUBSERIES
public static final LevelType SUBSERIES
-
RECORD_GRP
public static final LevelType RECORD_GRP
-
SUB_GRP
public static final LevelType SUB_GRP
-
FILE
public static final LevelType FILE
-
ITEM
public static final LevelType ITEM
-
OTHER_LEVEL
public static final LevelType OTHER_LEVEL
-
-
Method Detail
-
values
public static LevelType[] 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 (LevelType c : LevelType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LevelType 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
-
value
public java.lang.String value()
-
fromValue
public static LevelType fromValue(java.lang.String v)
-
-