com.edustructures.sifworks
Enum SIFDataType

java.lang.Object
  extended by java.lang.Enum<SIFDataType>
      extended by com.edustructures.sifworks.SIFDataType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SIFDataType>

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

An enumeration of XSD datatypes supported by the ADK


Enum Constant Summary
BOOLEAN
          Represents the XSD boolean datatype
DATE
          Represents the XSD date datatype
DATETIME
          Represents the XSD datetime datatype
DECIMAL
          Represents the XSD decimal datatype
DURATION
          Represents the XSD duration datatype
INT
          Represents the XSD int and uint datatypes
STRING
          Represents the XSD string, token, and normalizedString datatypes
TIME
          Represents the XSD time datatype
 
Method Summary
 SIFTypeConverter getConverter()
           
static SIFDataType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SIFDataType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, 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 SIFDataType BOOLEAN
Represents the XSD boolean datatype


INT

public static final SIFDataType INT
Represents the XSD int and uint datatypes


STRING

public static final SIFDataType STRING
Represents the XSD string, token, and normalizedString datatypes


DATE

public static final SIFDataType DATE
Represents the XSD date datatype


DATETIME

public static final SIFDataType DATETIME
Represents the XSD datetime datatype


TIME

public static final SIFDataType TIME
Represents the XSD time datatype


DECIMAL

public static final SIFDataType DECIMAL
Represents the XSD decimal datatype


DURATION

public static final SIFDataType DURATION
Represents the XSD duration datatype

Method Detail

values

public static final SIFDataType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(SIFDataType c : SIFDataType.values())
        System.out.println(c);

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

valueOf

public static SIFDataType 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

getConverter

public SIFTypeConverter getConverter()


Copyright © 2001-2007 Edustructures LLC. All Rights Reserved. SIFWorks® and ADK® are registered trademarks of Edustructures LLC. SIF™ and Schools Interoperability Framework are trademarks of the Schools Interoperability Framework Association.