gov.nasa.pds.registry.model.wrapper
Enum RegistryAttributeWrapper

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

public enum RegistryAttributeWrapper
extends Enum<RegistryAttributeWrapper>

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  ExtrinsicFilter.Builder buildOntoFilter(ExtrinsicFilter.Builder builder, String value)
           
static RegistryAttributeWrapper get(String attributeName)
           
 String getName()
           
abstract  String getValueFromExtrinsic(ExtrinsicObject extObj)
           
abstract  List<String> getValuesFromExtrinsic(ExtrinsicObject extObj)
           
static RegistryAttributeWrapper valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RegistryAttributeWrapper[] 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 RegistryAttributeWrapper LOGICAL_IDENTIFIER
Attribute for Logical Identifier.


NAME

public static final RegistryAttributeWrapper NAME
Attribute for Product name.


OBJECT_TYPE

public static final RegistryAttributeWrapper OBJECT_TYPE
Attribute for Object Type.


MIME_TYPE

public static final RegistryAttributeWrapper MIME_TYPE
Attribute for MIME Type.


DESCRIPTION

public static final RegistryAttributeWrapper DESCRIPTION
Attribute for Description.


GUID

public static final RegistryAttributeWrapper GUID
Attribute for GUID.


HOME

public static final RegistryAttributeWrapper HOME
Attribute for Home.


VERSION_NAME

public static final RegistryAttributeWrapper VERSION_NAME
Attribute for Version Name.


CONTENT_VERSION

public static final RegistryAttributeWrapper CONTENT_VERSION
Attribute for Content Version.

Method Detail

values

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

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

valueOf

public static RegistryAttributeWrapper 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()

get

public static RegistryAttributeWrapper get(String attributeName)

getValueFromExtrinsic

public abstract String getValueFromExtrinsic(ExtrinsicObject extObj)

getValuesFromExtrinsic

public abstract List<String> getValuesFromExtrinsic(ExtrinsicObject extObj)

buildOntoFilter

public abstract ExtrinsicFilter.Builder buildOntoFilter(ExtrinsicFilter.Builder builder,
                                                        String value)


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