net.ivoa.xml.vodataservice.v1
Enum VOTScalarDataType

java.lang.Object
  extended by java.lang.Enum<VOTScalarDataType>
      extended by net.ivoa.xml.vodataservice.v1.VOTScalarDataType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<VOTScalarDataType>

public enum VOTScalarDataType
extends java.lang.Enum<VOTScalarDataType>

Java class for VOTScalarDataType.

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

 <simpleType name="VOTScalarDataType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
     <enumeration value="boolean"/>
     <enumeration value="bit"/>
     <enumeration value="unsignedByte"/>
     <enumeration value="short"/>
     <enumeration value="int"/>
     <enumeration value="long"/>
     <enumeration value="char"/>
     <enumeration value="unicodeChar"/>
     <enumeration value="float"/>
     <enumeration value="double"/>
     <enumeration value="floatComplex"/>
     <enumeration value="doubleComplex"/>
     <enumeration value="string"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
BIT
           
BOOLEAN
           
CHAR
           
DOUBLE
           
DOUBLE_COMPLEX
           
FLOAT
           
FLOAT_COMPLEX
           
INT
           
LONG
           
SHORT
           
STRING
           
UNICODE_CHAR
           
UNSIGNED_BYTE
           
 
Method Summary
static VOTScalarDataType fromValue(java.lang.String v)
           
 java.lang.String value()
           
static VOTScalarDataType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static VOTScalarDataType[] 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

BOOLEAN

public static final VOTScalarDataType BOOLEAN

BIT

public static final VOTScalarDataType BIT

UNSIGNED_BYTE

public static final VOTScalarDataType UNSIGNED_BYTE

SHORT

public static final VOTScalarDataType SHORT

INT

public static final VOTScalarDataType INT

LONG

public static final VOTScalarDataType LONG

CHAR

public static final VOTScalarDataType CHAR

UNICODE_CHAR

public static final VOTScalarDataType UNICODE_CHAR

FLOAT

public static final VOTScalarDataType FLOAT

DOUBLE

public static final VOTScalarDataType DOUBLE

FLOAT_COMPLEX

public static final VOTScalarDataType FLOAT_COMPLEX

DOUBLE_COMPLEX

public static final VOTScalarDataType DOUBLE_COMPLEX

STRING

public static final VOTScalarDataType STRING
Method Detail

values

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

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

valueOf

public static VOTScalarDataType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

value

public java.lang.String value()

fromValue

public static VOTScalarDataType fromValue(java.lang.String v)


Copyright © 2011 VAMDC. All Rights Reserved.