Package gov.nasa.pds.web.ui.constants
Enum DataSetConstants.Status
- java.lang.Object
-
- java.lang.Enum<DataSetConstants.Status>
-
- gov.nasa.pds.web.ui.constants.DataSetConstants.Status
-
- All Implemented Interfaces:
Serializable
,Comparable<DataSetConstants.Status>
- Enclosing class:
- DataSetConstants
public static enum DataSetConstants.Status extends Enum<DataSetConstants.Status>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARCHIVED
IN_REVIEW
INCOMPLETE
REVIEW_FAILED
SUBMITTED
VALID
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getKey()
int
getSortIndex()
static DataSetConstants.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static DataSetConstants.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INCOMPLETE
public static final DataSetConstants.Status INCOMPLETE
-
VALID
public static final DataSetConstants.Status VALID
-
SUBMITTED
public static final DataSetConstants.Status SUBMITTED
-
IN_REVIEW
public static final DataSetConstants.Status IN_REVIEW
-
REVIEW_FAILED
public static final DataSetConstants.Status REVIEW_FAILED
-
ARCHIVED
public static final DataSetConstants.Status ARCHIVED
-
-
Method Detail
-
values
public static DataSetConstants.Status[] 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 (DataSetConstants.Status c : DataSetConstants.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataSetConstants.Status valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getKey
public String getKey()
-
getSortIndex
public int getSortIndex()
-
-