org.sdmx.resources.sdmxml.schemas.v2_1.structure
Enum TargetObjectDataType

java.lang.Object
  extended by java.lang.Enum<TargetObjectDataType>
      extended by org.sdmx.resources.sdmxml.schemas.v2_1.structure.TargetObjectDataType
All Implemented Interfaces:
Serializable, Comparable<TargetObjectDataType>

public enum TargetObjectDataType
extends Enum<TargetObjectDataType>

Java class for TargetObjectDataType.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="TargetObjectDataType">
   <restriction base="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}DataType">
     <enumeration value="KeyValues"/>
     <enumeration value="IdentifiableReference"/>
     <enumeration value="DataSetReference"/>
     <enumeration value="AttachmentConstraintReference"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
ATTACHMENT_CONSTRAINT_REFERENCE
           
DATA_SET_REFERENCE
           
IDENTIFIABLE_REFERENCE
           
KEY_VALUES
           
 
Method Summary
static TargetObjectDataType fromValue(DataType v)
           
 DataType value()
           
static TargetObjectDataType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TargetObjectDataType[] 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

KEY_VALUES

public static final TargetObjectDataType KEY_VALUES

IDENTIFIABLE_REFERENCE

public static final TargetObjectDataType IDENTIFIABLE_REFERENCE

DATA_SET_REFERENCE

public static final TargetObjectDataType DATA_SET_REFERENCE

ATTACHMENT_CONSTRAINT_REFERENCE

public static final TargetObjectDataType ATTACHMENT_CONSTRAINT_REFERENCE
Method Detail

values

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

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

valueOf

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

value

public DataType value()

fromValue

public static TargetObjectDataType fromValue(DataType v)


Copyright © 2012. All Rights Reserved.