org.sdmx.resources.sdmxml.schemas.v2_1.data.structurespecific
Enum DataScopeType

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

public enum DataScopeType
extends Enum<DataScopeType>

Java class for DataScopeType.

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

 <simpleType name="DataScopeType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="DataStructure"/>
     <enumeration value="ConstrainedDataStructure"/>
     <enumeration value="Dataflow"/>
     <enumeration value="ProvisionAgreement"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
CONSTRAINED_DATA_STRUCTURE
          The data set conforms to the known allowable content constraints applied to the data structure definition.
DATA_STRUCTURE
          The data set conforms simply to the data structure definition as it is defined, without regard to any constraints.
DATAFLOW
          The data set conforms to the known allowable content constraints applied to the dataflow.
PROVISION_AGREEMENT
          The data set conforms to the known allowable content constraints applied to the provision agreement.
 
Method Summary
static DataScopeType fromValue(String v)
           
 String value()
           
static DataScopeType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DataScopeType[] 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

DATA_STRUCTURE

public static final DataScopeType DATA_STRUCTURE
The data set conforms simply to the data structure definition as it is defined, without regard to any constraints.


CONSTRAINED_DATA_STRUCTURE

public static final DataScopeType CONSTRAINED_DATA_STRUCTURE
The data set conforms to the known allowable content constraints applied to the data structure definition.


DATAFLOW

public static final DataScopeType DATAFLOW
The data set conforms to the known allowable content constraints applied to the dataflow.


PROVISION_AGREEMENT

public static final DataScopeType PROVISION_AGREEMENT
The data set conforms to the known allowable content constraints applied to the provision agreement.

Method Detail

values

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

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

valueOf

public static DataScopeType 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 String value()

fromValue

public static DataScopeType fromValue(String v)


Copyright © 2012. All Rights Reserved.