Package gov.nasa.pds.search
Enum PDAPHandler.RESOURCE_CLASS
- java.lang.Object
-
- java.lang.Enum<PDAPHandler.RESOURCE_CLASS>
-
- gov.nasa.pds.search.PDAPHandler.RESOURCE_CLASS
-
- All Implemented Interfaces:
Serializable,Comparable<PDAPHandler.RESOURCE_CLASS>
- Enclosing class:
- PDAPHandler
public static enum PDAPHandler.RESOURCE_CLASS extends Enum<PDAPHandler.RESOURCE_CLASS>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATA_SETMAP_PROJECTEDMETADATAPRODUCT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PDAPHandler.RESOURCE_CLASSvalueOf(String name)Returns the enum constant of this type with the specified name.static PDAPHandler.RESOURCE_CLASS[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DATA_SET
public static final PDAPHandler.RESOURCE_CLASS DATA_SET
-
PRODUCT
public static final PDAPHandler.RESOURCE_CLASS PRODUCT
-
MAP_PROJECTED
public static final PDAPHandler.RESOURCE_CLASS MAP_PROJECTED
-
METADATA
public static final PDAPHandler.RESOURCE_CLASS METADATA
-
-
Method Detail
-
values
public static PDAPHandler.RESOURCE_CLASS[] 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 (PDAPHandler.RESOURCE_CLASS c : PDAPHandler.RESOURCE_CLASS.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PDAPHandler.RESOURCE_CLASS 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
-
-