Package gov.nasa.pds.web.ui.constants
Enum DataSetConstants.SetNodeType
- java.lang.Object
-
- java.lang.Enum<DataSetConstants.SetNodeType>
-
- gov.nasa.pds.web.ui.constants.DataSetConstants.SetNodeType
-
- All Implemented Interfaces:
Serializable
,Comparable<DataSetConstants.SetNodeType>
- Enclosing class:
- DataSetConstants
public static enum DataSetConstants.SetNodeType extends Enum<DataSetConstants.SetNodeType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataSetConstants.SetNodeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DataSetConstants.SetNodeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DIRECTORY
public static final DataSetConstants.SetNodeType DIRECTORY
-
LABEL
public static final DataSetConstants.SetNodeType LABEL
-
FORMAT
public static final DataSetConstants.SetNodeType FORMAT
-
IMAGE
public static final DataSetConstants.SetNodeType IMAGE
-
TABULAR
public static final DataSetConstants.SetNodeType TABULAR
-
DOCUMENT
public static final DataSetConstants.SetNodeType DOCUMENT
-
CATALOG
public static final DataSetConstants.SetNodeType CATALOG
-
WEB
public static final DataSetConstants.SetNodeType WEB
-
INDEX
public static final DataSetConstants.SetNodeType INDEX
-
-
Method Detail
-
values
public static DataSetConstants.SetNodeType[] 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.SetNodeType c : DataSetConstants.SetNodeType.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.SetNodeType 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
-
-