gov.nasa.pds.registry.model
Enum ObjectClass

java.lang.Object
  extended by java.lang.Enum<ObjectClass>
      extended by gov.nasa.pds.registry.model.ObjectClass
All Implemented Interfaces:
Serializable, Comparable<ObjectClass>

public enum ObjectClass
extends Enum<ObjectClass>

Author:
pramirez

Enum Constant Summary
ASSOCIATION
           
AUDITABLE_EVENT
           
CLASSIFICATION
           
CLASSIFICATION_NODE
           
CLASSIFICATION_SCHEME
           
EXTERNAL_IDENTIFIER
           
EXTERNAL_LINK
           
EXTRINSIC_OBJECT
           
REGISTRY_PACKAGE
           
SERVICE
           
SERVICE_BINDING
           
SPECIFICATION_LINK
           
 
Method Summary
static ObjectClass fromName(String name)
           
 String getName()
           
 Class<? extends RegistryObject> getObjectClass()
           
static ObjectClass valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ObjectClass[] 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

ASSOCIATION

public static final ObjectClass ASSOCIATION

AUDITABLE_EVENT

public static final ObjectClass AUDITABLE_EVENT

CLASSIFICATION

public static final ObjectClass CLASSIFICATION

CLASSIFICATION_NODE

public static final ObjectClass CLASSIFICATION_NODE

CLASSIFICATION_SCHEME

public static final ObjectClass CLASSIFICATION_SCHEME

EXTERNAL_IDENTIFIER

public static final ObjectClass EXTERNAL_IDENTIFIER

EXTERNAL_LINK

public static final ObjectClass EXTERNAL_LINK

EXTRINSIC_OBJECT

public static final ObjectClass EXTRINSIC_OBJECT

REGISTRY_PACKAGE

public static final ObjectClass REGISTRY_PACKAGE

SERVICE

public static final ObjectClass SERVICE

SERVICE_BINDING

public static final ObjectClass SERVICE_BINDING

SPECIFICATION_LINK

public static final ObjectClass SPECIFICATION_LINK
Method Detail

values

public static ObjectClass[] 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 (ObjectClass c : ObjectClass.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ObjectClass 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

fromName

public static ObjectClass fromName(String name)

getName

public String getName()

getObjectClass

public Class<? extends RegistryObject> getObjectClass()


Copyright © 2010–2014 Planetary Data System. All rights reserved.