org.sdmx.resources.sdmxml.schemas.v2_1.common
Enum SimpleDataType

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

public enum SimpleDataType
extends Enum<SimpleDataType>

Java class for SimpleDataType.

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

 <simpleType name="SimpleDataType">
   <restriction base="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}BasicComponentDataType">
     <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="Decimal"/>
     <enumeration value="Float"/>
     <enumeration value="Double"/>
     <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="DateTime"/>
     <enumeration value="TimeRange"/>
     <enumeration value="Month"/>
     <enumeration value="MonthDay"/>
     <enumeration value="Day"/>
     <enumeration value="Time"/>
     <enumeration value="Duration"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
ALPHA
           
ALPHA_NUMERIC
           
BASIC_TIME_PERIOD
           
BIG_INTEGER
           
BOOLEAN
           
COUNT
           
DATE_TIME
           
DAY
           
DECIMAL
           
DOUBLE
           
DURATION
           
EXCLUSIVE_VALUE_RANGE
           
FLOAT
           
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
           
TIME
           
TIME_RANGE
           
URI
           
 
Method Summary
static SimpleDataType fromValue(BasicComponentDataType v)
           
 BasicComponentDataType value()
           
static SimpleDataType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SimpleDataType[] 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 SimpleDataType STRING

ALPHA

public static final SimpleDataType ALPHA

ALPHA_NUMERIC

public static final SimpleDataType ALPHA_NUMERIC

NUMERIC

public static final SimpleDataType NUMERIC

BIG_INTEGER

public static final SimpleDataType BIG_INTEGER

INTEGER

public static final SimpleDataType INTEGER

LONG

public static final SimpleDataType LONG

SHORT

public static final SimpleDataType SHORT

DECIMAL

public static final SimpleDataType DECIMAL

FLOAT

public static final SimpleDataType FLOAT

DOUBLE

public static final SimpleDataType DOUBLE

BOOLEAN

public static final SimpleDataType BOOLEAN

URI

public static final SimpleDataType URI

COUNT

public static final SimpleDataType COUNT

INCLUSIVE_VALUE_RANGE

public static final SimpleDataType INCLUSIVE_VALUE_RANGE

EXCLUSIVE_VALUE_RANGE

public static final SimpleDataType EXCLUSIVE_VALUE_RANGE

INCREMENTAL

public static final SimpleDataType INCREMENTAL

OBSERVATIONAL_TIME_PERIOD

public static final SimpleDataType OBSERVATIONAL_TIME_PERIOD

STANDARD_TIME_PERIOD

public static final SimpleDataType STANDARD_TIME_PERIOD

BASIC_TIME_PERIOD

public static final SimpleDataType BASIC_TIME_PERIOD

GREGORIAN_TIME_PERIOD

public static final SimpleDataType GREGORIAN_TIME_PERIOD

GREGORIAN_YEAR

public static final SimpleDataType GREGORIAN_YEAR

GREGORIAN_YEAR_MONTH

public static final SimpleDataType GREGORIAN_YEAR_MONTH

GREGORIAN_DAY

public static final SimpleDataType GREGORIAN_DAY

REPORTING_TIME_PERIOD

public static final SimpleDataType REPORTING_TIME_PERIOD

REPORTING_YEAR

public static final SimpleDataType REPORTING_YEAR

REPORTING_SEMESTER

public static final SimpleDataType REPORTING_SEMESTER

REPORTING_TRIMESTER

public static final SimpleDataType REPORTING_TRIMESTER

REPORTING_QUARTER

public static final SimpleDataType REPORTING_QUARTER

REPORTING_MONTH

public static final SimpleDataType REPORTING_MONTH

REPORTING_WEEK

public static final SimpleDataType REPORTING_WEEK

REPORTING_DAY

public static final SimpleDataType REPORTING_DAY

DATE_TIME

public static final SimpleDataType DATE_TIME

TIME_RANGE

public static final SimpleDataType TIME_RANGE

MONTH

public static final SimpleDataType MONTH

MONTH_DAY

public static final SimpleDataType MONTH_DAY

DAY

public static final SimpleDataType DAY

TIME

public static final SimpleDataType TIME

DURATION

public static final SimpleDataType DURATION
Method Detail

values

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

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

valueOf

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

fromValue

public static SimpleDataType fromValue(BasicComponentDataType v)


Copyright © 2012. All Rights Reserved.