Enum RegistryAttributeWrapper
- java.lang.Object
-
- java.lang.Enum<RegistryAttributeWrapper>
-
- 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
Enum Constants Enum Constant Description 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.STATUS
Attribute for Product status.VERSION_NAME
Attribute for Version Name.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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.
-
STATUS
public static final RegistryAttributeWrapper STATUS
Attribute for Product status.
-
-
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 nameNullPointerException
- 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)
-
-