gov.nasa.pds.citool.ri
Enum RIType

java.lang.Object
  extended by java.lang.Enum<RIType>
      extended by 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

Enum Constant Summary
DATA_SET
           
DATA_SET_COLLECTION
           
INSTRUMENT
           
INSTRUMENT_HOST
           
MISSION
           
PERSONNEL
           
REFERENCE
           
TARGET
           
VOLUME
           
 
Field Summary
static String CHILD
           
static String PARENT
           
 
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Field Detail

PARENT

public static final String PARENT
See Also:
Constant Field Values

CHILD

public static final String CHILD
See Also:
Constant Field Values
Method Detail

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–2015 Planetary Data System. All rights reserved.