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

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

public enum CodeDataType
extends Enum<CodeDataType>

Java class for CodeDataType.

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

 <simpleType name="CodeDataType">
   <restriction base="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}SimpleDataType">
     <enumeration value="String"/>
     <enumeration value="Alpha"/>
     <enumeration value="AlphaNumeric"/>
     <enumeration value="Numeric"/>
     <enumeration value="BigInteger"/>
     <enumeration value="Integer"/>
     <enumeration value="Long"/>
     <enumeration value="Short"/>
     <enumeration value="Boolean"/>
     <enumeration value="URI"/>
     <enumeration value="Count"/>
     <enumeration value="InclusiveValueRange"/>
     <enumeration value="ExclusiveValueRange"/>
     <enumeration value="Incremental"/>
     <enumeration value="ObservationalTimePeriod"/>
     <enumeration value="StandardTimePeriod"/>
     <enumeration value="BasicTimePeriod"/>
     <enumeration value="GregorianTimePeriod"/>
     <enumeration value="GregorianYear"/>
     <enumeration value="GregorianYearMonth"/>
     <enumeration value="GregorianDay"/>
     <enumeration value="ReportingTimePeriod"/>
     <enumeration value="ReportingYear"/>
     <enumeration value="ReportingSemester"/>
     <enumeration value="ReportingTrimester"/>
     <enumeration value="ReportingQuarter"/>
     <enumeration value="ReportingMonth"/>
     <enumeration value="ReportingWeek"/>
     <enumeration value="ReportingDay"/>
     <enumeration value="Month"/>
     <enumeration value="MonthDay"/>
     <enumeration value="Day"/>
     <enumeration value="Duration"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
ALPHA
           
ALPHA_NUMERIC
           
BASIC_TIME_PERIOD
           
BIG_INTEGER
           
BOOLEAN
           
COUNT
           
DAY
           
DURATION
           
EXCLUSIVE_VALUE_RANGE
           
GREGORIAN_DAY
           
GREGORIAN_TIME_PERIOD
           
GREGORIAN_YEAR
           
GREGORIAN_YEAR_MONTH
           
INCLUSIVE_VALUE_RANGE
           
INCREMENTAL
           
INTEGER
           
LONG
           
MONTH
           
MONTH_DAY
           
NUMERIC
           
OBSERVATIONAL_TIME_PERIOD
           
REPORTING_DAY
           
REPORTING_MONTH
           
REPORTING_QUARTER
           
REPORTING_SEMESTER
           
REPORTING_TIME_PERIOD
           
REPORTING_TRIMESTER
           
REPORTING_WEEK
           
REPORTING_YEAR
           
SHORT
           
STANDARD_TIME_PERIOD
           
STRING
           
URI
           
 
Method Summary
static CodeDataType fromValue(SimpleDataType v)
           
 SimpleDataType value()
           
static CodeDataType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CodeDataType[] 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

STRING

public static final CodeDataType STRING

ALPHA

public static final CodeDataType ALPHA

ALPHA_NUMERIC

public static final CodeDataType ALPHA_NUMERIC

NUMERIC

public static final CodeDataType NUMERIC

BIG_INTEGER

public static final CodeDataType BIG_INTEGER

INTEGER

public static final CodeDataType INTEGER

LONG

public static final CodeDataType LONG

SHORT

public static final CodeDataType SHORT

BOOLEAN

public static final CodeDataType BOOLEAN

URI

public static final CodeDataType URI

COUNT

public static final CodeDataType COUNT

INCLUSIVE_VALUE_RANGE

public static final CodeDataType INCLUSIVE_VALUE_RANGE

EXCLUSIVE_VALUE_RANGE

public static final CodeDataType EXCLUSIVE_VALUE_RANGE

INCREMENTAL

public static final CodeDataType INCREMENTAL

OBSERVATIONAL_TIME_PERIOD

public static final CodeDataType OBSERVATIONAL_TIME_PERIOD

STANDARD_TIME_PERIOD

public static final CodeDataType STANDARD_TIME_PERIOD

BASIC_TIME_PERIOD

public static final CodeDataType BASIC_TIME_PERIOD

GREGORIAN_TIME_PERIOD

public static final CodeDataType GREGORIAN_TIME_PERIOD

GREGORIAN_YEAR

public static final CodeDataType GREGORIAN_YEAR

GREGORIAN_YEAR_MONTH

public static final CodeDataType GREGORIAN_YEAR_MONTH

GREGORIAN_DAY

public static final CodeDataType GREGORIAN_DAY

REPORTING_TIME_PERIOD

public static final CodeDataType REPORTING_TIME_PERIOD

REPORTING_YEAR

public static final CodeDataType REPORTING_YEAR

REPORTING_SEMESTER

public static final CodeDataType REPORTING_SEMESTER

REPORTING_TRIMESTER

public static final CodeDataType REPORTING_TRIMESTER

REPORTING_QUARTER

public static final CodeDataType REPORTING_QUARTER

REPORTING_MONTH

public static final CodeDataType REPORTING_MONTH

REPORTING_WEEK

public static final CodeDataType REPORTING_WEEK

REPORTING_DAY

public static final CodeDataType REPORTING_DAY

MONTH

public static final CodeDataType MONTH

MONTH_DAY

public static final CodeDataType MONTH_DAY

DAY

public static final CodeDataType DAY

DURATION

public static final CodeDataType DURATION
Method Detail

values

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

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

valueOf

public static CodeDataType 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 SimpleDataType value()

fromValue

public static CodeDataType fromValue(SimpleDataType v)


Copyright © 2012. All Rights Reserved.