|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<DataType>
org.sdmx.resources.sdmxml.schemas.v2_1.common.DataType
public enum DataType
Java class for DataType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="DataType">
<restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
<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"/>
<enumeration value="XHTML"/>
<enumeration value="KeyValues"/>
<enumeration value="IdentifiableReference"/>
<enumeration value="DataSetReference"/>
<enumeration value="AttachmentConstraintReference"/>
</restriction>
</simpleType>
| Enum Constant Summary | |
|---|---|
ALPHA
A string datatype which only allows for the simple aplhabetic charcter set of A-z. |
|
ALPHA_NUMERIC
A string datatype which only allows for the simple alphabetic character set of A-z plus the simple numeric character set of 0-9. |
|
ATTACHMENT_CONSTRAINT_REFERENCE
This value indicates that the content of the component will be reference to an attachment constraint, which is actually a combination of a collection of full or partial key values and a reference to a data set or data structure, usage, or provision agreement. |
|
BASIC_TIME_PERIOD
BasicTimePeriod time periods is a superset of the Gregorian time periods and a date time. |
|
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. |
|
DATA_SET_REFERENCE
This value indicates that the content of the component will be reference to a data provider, which is actually a formal reference to a data provider and a data set identifier value. |
|
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 the exclusive boundaries of a numeric range, of type xs:decimal. |
|
FLOAT
A numeric datatype corresponding to W3C XML Schema's xs:float datatype. |
|
GREGORIAN_DAY
A time datatype corresponding to W3C XML Schema's xs:date datatype, which is based on ISO-8601. |
|
GREGORIAN_TIME_PERIOD
Gregorian time periods correspond to calendar periods and are represented in ISO-8601 formats. |
|
GREGORIAN_YEAR
A Gregorian time period corresponding to W3C XML Schema's xs:gYear datatype, which is based on ISO-8601. |
|
GREGORIAN_YEAR_MONTH
A time datatype corresponding to W3C XML Schema's xs:gYearMonth datatype, which is based on ISO-8601. |
|
IDENTIFIABLE_REFERENCE
This value indicates that the content of the component will be complete reference (either URN or full set of reference fields) to an Identifiable object in the SDMX Information Model. |
|
INCLUSIVE_VALUE_RANGE
This value indicates that the startValue and endValue attributes provide the inclusive boundaries of a numeric range of type xs:decimal. |
|
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. |
|
KEY_VALUES
This value indicates that the content of the component will be data key (a set of dimension references and values for the dimensions). |
|
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. |
|
NUMERIC
A string datatype which only allows for the simple numeric character set of 0-9. |
|
OBSERVATIONAL_TIME_PERIOD
Observational time periods are the superset of all time periods in SDMX. |
|
REPORTING_DAY
A reporting day represents a period of 1 day (P1D) from the start date of the reporting year. |
|
REPORTING_MONTH
A reporting month represents a period of 1 month (P1M) from the start date of the reporting year. |
|
REPORTING_QUARTER
A reporting quarter represents a period of 3 months (P3M) from the start date of the reporting year. |
|
REPORTING_SEMESTER
A reporting semester represents a period of 6 months (P6M) from the start date of the reporting year. |
|
REPORTING_TIME_PERIOD
Reporting time periods represent periods of a standard length within a reporting year, where to start of the year (defined as a month and day) must be defined elsewhere or it is assumed to be January 1. |
|
REPORTING_TRIMESTER
A reporting trimester represents a period of 4 months (P4M) from the start date of the reporting year. |
|
REPORTING_WEEK
A reporting week represents a period of 7 days (P7D) from the start date of the reporting year. |
|
REPORTING_YEAR
A reporting year represents a period of 1 year (P1Y) from the start date of the reporting year. |
|
SHORT
A numeric datatype corresponding to W3C XML Schema's xs:short datatype. |
|
STANDARD_TIME_PERIOD
Standard time periods is a superset of distinct time period in SDMX. |
|
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. |
|
TIME_RANGE
TimeRange defines a time period by providing a distinct start (date or date time) and a duration. |
|
URI
A datatype corresponding to W3C XML Schema's xs:anyURI datatype. |
|
XHTML
This value indicates that the content of the component can contain XHTML markup. |
|
| Method Summary | |
|---|---|
static DataType |
fromValue(String v)
|
String |
value()
|
static DataType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DataType[] |
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 |
|---|
public static final DataType STRING
public static final DataType ALPHA
public static final DataType ALPHA_NUMERIC
public static final DataType NUMERIC
public static final DataType BIG_INTEGER
public static final DataType INTEGER
public static final DataType LONG
public static final DataType SHORT
public static final DataType DECIMAL
public static final DataType FLOAT
public static final DataType DOUBLE
public static final DataType BOOLEAN
public static final DataType URI
public static final DataType COUNT
public static final DataType INCLUSIVE_VALUE_RANGE
public static final DataType EXCLUSIVE_VALUE_RANGE
public static final DataType INCREMENTAL
public static final DataType OBSERVATIONAL_TIME_PERIOD
public static final DataType STANDARD_TIME_PERIOD
public static final DataType BASIC_TIME_PERIOD
public static final DataType GREGORIAN_TIME_PERIOD
public static final DataType GREGORIAN_YEAR
public static final DataType GREGORIAN_YEAR_MONTH
public static final DataType GREGORIAN_DAY
public static final DataType REPORTING_TIME_PERIOD
public static final DataType REPORTING_YEAR
public static final DataType REPORTING_SEMESTER
public static final DataType REPORTING_TRIMESTER
public static final DataType REPORTING_QUARTER
public static final DataType REPORTING_MONTH
public static final DataType REPORTING_WEEK
public static final DataType REPORTING_DAY
public static final DataType DATE_TIME
public static final DataType TIME_RANGE
public static final DataType MONTH
public static final DataType MONTH_DAY
public static final DataType DAY
public static final DataType TIME
public static final DataType DURATION
public static final DataType XHTML
public static final DataType KEY_VALUES
public static final DataType IDENTIFIABLE_REFERENCE
public static final DataType DATA_SET_REFERENCE
public static final DataType ATTACHMENT_CONSTRAINT_REFERENCE
| Method Detail |
|---|
public static DataType[] values()
for (DataType c : DataType.values()) System.out.println(c);
public static DataType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String value()
public static DataType fromValue(String v)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||