gov.nasa.pds.search.core.registry.objects
Enum ExtrinsicRegistryAttribute

java.lang.Object
  extended by java.lang.Enum<ExtrinsicRegistryAttribute>
      extended by gov.nasa.pds.search.core.registry.objects.ExtrinsicRegistryAttribute
All Implemented Interfaces:
Serializable, Comparable<ExtrinsicRegistryAttribute>

public enum ExtrinsicRegistryAttribute
extends Enum<ExtrinsicRegistryAttribute>

Provides the values for a given attribute specified in a product class configuration file.

Version:
$Revision: 11832 $
Author:
jpadams

Enum Constant Summary
CONTENT_VERSION
          Attribute for Content Version.
DESCRIPTION
          Attribute for Description.
GUID
          Attribute for GUID.
HOME
          Attribute for Home.
LOGICAL_IDENTIFIER
          Attribute for Logical Identifier.
MIME_TYPE
          Attribute for MIME Type.
NAME
          Attribute for Product name.
OBJECT_TYPE
          Attribute for Object Type.
VERSION_NAME
          Attribute for Version Name.
 
Method Summary
abstract  gov.nasa.pds.registry.query.ExtrinsicFilter.Builder appendToFilterBuilder(gov.nasa.pds.registry.query.ExtrinsicFilter.Builder builder, String value)
           
static ExtrinsicRegistryAttribute get(String attributeName)
           
 String getAttributeName()
           
abstract  String getValueFromExtrinsic(gov.nasa.pds.registry.model.ExtrinsicObject extObj)
           
static ExtrinsicRegistryAttribute valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ExtrinsicRegistryAttribute[] 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

LOGICAL_IDENTIFIER

public static final ExtrinsicRegistryAttribute LOGICAL_IDENTIFIER
Attribute for Logical Identifier.


NAME

public static final ExtrinsicRegistryAttribute NAME
Attribute for Product name.


OBJECT_TYPE

public static final ExtrinsicRegistryAttribute OBJECT_TYPE
Attribute for Object Type.


MIME_TYPE

public static final ExtrinsicRegistryAttribute MIME_TYPE
Attribute for MIME Type.


DESCRIPTION

public static final ExtrinsicRegistryAttribute DESCRIPTION
Attribute for Description.


GUID

public static final ExtrinsicRegistryAttribute GUID
Attribute for GUID.


HOME

public static final ExtrinsicRegistryAttribute HOME
Attribute for Home.


VERSION_NAME

public static final ExtrinsicRegistryAttribute VERSION_NAME
Attribute for Version Name.


CONTENT_VERSION

public static final ExtrinsicRegistryAttribute CONTENT_VERSION
Attribute for Content Version.

Method Detail

values

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

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

valueOf

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

getAttributeName

public String getAttributeName()

get

public static ExtrinsicRegistryAttribute get(String attributeName)

getValueFromExtrinsic

public abstract String getValueFromExtrinsic(gov.nasa.pds.registry.model.ExtrinsicObject extObj)

appendToFilterBuilder

public abstract gov.nasa.pds.registry.query.ExtrinsicFilter.Builder appendToFilterBuilder(gov.nasa.pds.registry.query.ExtrinsicFilter.Builder builder,
                                                                                          String value)


Copyright © 2010-2013 Planetary Data System. All Rights Reserved.