gov.nasa.pds.citool.ri
Enum RIType
java.lang.Object
java.lang.Enum<RIType>
gov.nasa.pds.citool.ri.RIType
- All Implemented Interfaces:
- Serializable, Comparable<RIType>
public enum RIType
- extends Enum<RIType>
Interface containing the different referential integrity
types.
- Author:
- mcayanan
Method Summary |
String |
getName()
|
static RIType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RIType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
REFERENCE
public static final RIType REFERENCE
PERSONNEL
public static final RIType PERSONNEL
TARGET
public static final RIType TARGET
INSTRUMENT_HOST
public static final RIType INSTRUMENT_HOST
INSTRUMENT
public static final RIType INSTRUMENT
MISSION
public static final RIType MISSION
VOLUME
public static final RIType VOLUME
DATA_SET
public static final RIType DATA_SET
DATA_SET_COLLECTION
public static final RIType DATA_SET_COLLECTION
PARENT
public static final String PARENT
- See Also:
- Constant Field Values
CHILD
public static final String CHILD
- See Also:
- Constant Field Values
values
public static RIType[] 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 (RIType c : RIType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RIType 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 name
NullPointerException
- if the argument is null
getName
public String getName()
Copyright © 2010-2012 Planetary Data System. All Rights Reserved.