Package fr.gouv.vitam.ihmdemo.core
Enum UiConstants
- java.lang.Object
-
- java.lang.Enum<UiConstants>
-
- fr.gouv.vitam.ihmdemo.core.UiConstants
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UiConstants>
public enum UiConstants extends java.lang.Enum<UiConstants>
Constants used by Server Application
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ID
"#id" fieldRESULT
"$results" fieldSELECT_BY_ID
Token used to specify a root itemTITLE
"Title" fieldUNITUPS
"#unitups" field
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getReceivedCriteria()
java.lang.String
getResultCriteria()
static UiConstants
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UiConstants[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SELECT_BY_ID
public static final UiConstants SELECT_BY_ID
Token used to specify a root item
-
TITLE
public static final UiConstants TITLE
"Title" field
-
ID
public static final UiConstants ID
"#id" field
-
UNITUPS
public static final UiConstants UNITUPS
"#unitups" field
-
RESULT
public static final UiConstants RESULT
"$results" field
-
-
Method Detail
-
values
public static UiConstants[] 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 (UiConstants c : UiConstants.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UiConstants 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
-
getReceivedCriteria
public final java.lang.String getReceivedCriteria()
- Returns:
- the received constant value (From IHM)
-
getResultCriteria
public final java.lang.String getResultCriteria()
- Returns:
- the Result constant value (From Vitam)
-
-