org.sdmx.resources.sdmxml.schemas.v2_0.structure
Enum TextTypeType

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

public enum TextTypeType
extends Enum<TextTypeType>

Java class for TextTypeType.

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

 <simpleType name="TextTypeType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
     <enumeration value="String"/>
     <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="DateTime"/>
     <enumeration value="Date"/>
     <enumeration value="Time"/>
     <enumeration value="Year"/>
     <enumeration value="Month"/>
     <enumeration value="Day"/>
     <enumeration value="MonthDay"/>
     <enumeration value="YearMonth"/>
     <enumeration value="Duration"/>
     <enumeration value="URI"/>
     <enumeration value="Timespan"/>
     <enumeration value="Count"/>
     <enumeration value="InclusiveValueRange"/>
     <enumeration value="ExclusiveValueRange"/>
     <enumeration value="Incremental"/>
     <enumeration value="ObservationalTimePeriod"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
BIG_INTEGER
          An integer datatype corresponding to W3C XML Schema's xs:integer datatype.
BOOLEAN
          A datatype corresponding to W3C XML Schema's xs:boolean datatype.
COUNT
          A simple incrementing Integer type.
DATE
          A time datatype corresponding to W3C XML Schema's xs:date datatype.
DATE_TIME
          A time datatype corresponding to W3C XML Schema's xs:dateTime datatype.
DAY
          A time datatype corresponding to W3C XML Schema's xs:gDay datatype.
DECIMAL
          A numeric datatype corresponding to W3C XML Schema's xs:decimal datatype.
DOUBLE
          A numeric datatype corresponding to W3C XML Schema's xs:double datatype.
DURATION
          A time datatype corresponding to W3C XML Schema's xs:duration datatype.
EXCLUSIVE_VALUE_RANGE
          This value indicates that the startValue and endValue attributes provide an exclusive numeric range, of type xs:double.
FLOAT
          A numeric datatype corresponding to W3C XML Schema's xs:float datatype.
INCLUSIVE_VALUE_RANGE
          This value indicates that the startValue and endValue attributes provide an inclusive numeric range of type xs:double.
INCREMENTAL
          This value indicates that the value increments according to the value provided in the interval facet, and has a true value for the isSequence facet.
INTEGER
          An integer datatype corresponding to W3C XML Schema's xs:int datatype.
LONG
          A numeric datatype corresponding to W3C XML Schema's xs:long datatype.
MONTH
          A time datatype corresponding to W3C XML Schema's xs:gMonth datatype.
MONTH_DAY
          A time datatype corresponding to W3C XML Schema's xs:gMonthDay datatype.
OBSERVATIONAL_TIME_PERIOD
          This is a time datatype, and is the conventional representation of time in SDMX formats.
SHORT
          A numeric datatype corresponding to W3C XML Schema's xs:short datatype.
STRING
          A string datatype corresponding to W3C XML Schema's xs:string datatype.
TIME
          A time datatype corresponding to W3C XML Schema's xs:time datatype.
TIMESPAN
          A complex datatype specifying a start date (xs:dateTime) and a duration (xs:duration).
URI
          A datatype corresponding to W3C XML Schema's xs:anyURI datatype.
YEAR
          A time datatype corresponding to W3C XML Schema's xs:gYear datatype.
YEAR_MONTH
          A time datatype corresponding to W3C XML Schema's xs:gYearMonth datatype.
 
Method Summary
static TextTypeType fromValue(String v)
           
 String value()
           
static TextTypeType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TextTypeType[] 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 TextTypeType STRING
A string datatype corresponding to W3C XML Schema's xs:string datatype.


BIG_INTEGER

public static final TextTypeType BIG_INTEGER
An integer datatype corresponding to W3C XML Schema's xs:integer datatype.


INTEGER

public static final TextTypeType INTEGER
An integer datatype corresponding to W3C XML Schema's xs:int datatype.


LONG

public static final TextTypeType LONG
A numeric datatype corresponding to W3C XML Schema's xs:long datatype.


SHORT

public static final TextTypeType SHORT
A numeric datatype corresponding to W3C XML Schema's xs:short datatype.


DECIMAL

public static final TextTypeType DECIMAL
A numeric datatype corresponding to W3C XML Schema's xs:decimal datatype.


FLOAT

public static final TextTypeType FLOAT
A numeric datatype corresponding to W3C XML Schema's xs:float datatype.


DOUBLE

public static final TextTypeType DOUBLE
A numeric datatype corresponding to W3C XML Schema's xs:double datatype.


BOOLEAN

public static final TextTypeType BOOLEAN
A datatype corresponding to W3C XML Schema's xs:boolean datatype.


DATE_TIME

public static final TextTypeType DATE_TIME
A time datatype corresponding to W3C XML Schema's xs:dateTime datatype.


DATE

public static final TextTypeType DATE
A time datatype corresponding to W3C XML Schema's xs:date datatype.


TIME

public static final TextTypeType TIME
A time datatype corresponding to W3C XML Schema's xs:time datatype.


YEAR

public static final TextTypeType YEAR
A time datatype corresponding to W3C XML Schema's xs:gYear datatype.


MONTH

public static final TextTypeType MONTH
A time datatype corresponding to W3C XML Schema's xs:gMonth datatype.


DAY

public static final TextTypeType DAY
A time datatype corresponding to W3C XML Schema's xs:gDay datatype.


MONTH_DAY

public static final TextTypeType MONTH_DAY
A time datatype corresponding to W3C XML Schema's xs:gMonthDay datatype.


YEAR_MONTH

public static final TextTypeType YEAR_MONTH
A time datatype corresponding to W3C XML Schema's xs:gYearMonth datatype.


DURATION

public static final TextTypeType DURATION
A time datatype corresponding to W3C XML Schema's xs:duration datatype.


URI

public static final TextTypeType URI
A datatype corresponding to W3C XML Schema's xs:anyURI datatype.


TIMESPAN

public static final TextTypeType TIMESPAN
A complex datatype specifying a start date (xs:dateTime) and a duration (xs:duration). Note that this is not allowed as thre text type representing a dimension.


COUNT

public static final TextTypeType COUNT
A simple incrementing Integer type. The isSequence facet must be set to true, and the interval facet must be set to "1".


INCLUSIVE_VALUE_RANGE

public static final TextTypeType INCLUSIVE_VALUE_RANGE
This value indicates that the startValue and endValue attributes provide an inclusive numeric range of type xs:double.


EXCLUSIVE_VALUE_RANGE

public static final TextTypeType EXCLUSIVE_VALUE_RANGE
This value indicates that the startValue and endValue attributes provide an exclusive numeric range, of type xs:double.


INCREMENTAL

public static final TextTypeType INCREMENTAL
This value indicates that the value increments according to the value provided in the interval facet, and has a true value for the isSequence facet.


OBSERVATIONAL_TIME_PERIOD

public static final TextTypeType OBSERVATIONAL_TIME_PERIOD
This is a time datatype, and is the conventional representation of time in SDMX formats. It is a union of W3C XML Schema time datatypes and a set of codes for indicating quarterly, tri-annual, bi-annual, and weekly time periods. See common:TimePeriodType for specifics.

Method Detail

values

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

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

valueOf

public static TextTypeType 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 TextTypeType fromValue(String v)


Copyright © 2012. All Rights Reserved.