org.plasma.sdo
Enum DataType

java.lang.Object
  extended by java.lang.Enum<DataType>
      extended by org.plasma.sdo.DataType
All Implemented Interfaces:
Serializable, Comparable<DataType>

public enum DataType
extends Enum<DataType>

An enum listing the SDO datatypes.


Enum Constant Summary
Boolean
           
Byte
           
Bytes
           
Character
           
Date
           
DateTime
           
Day
           
Decimal
           
Double
           
Duration
           
Float
           
Int
           
Integer
           
Long
           
Month
           
MonthDay
           
Object
           
Short
           
String
           
Strings
           
Time
           
URI
           
Year
           
YearMonth
           
YearMonthDay
           
 
Method Summary
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

Boolean

public static final DataType Boolean

Byte

public static final DataType Byte

Bytes

public static final DataType Bytes

Character

public static final DataType Character

Date

public static final DataType Date

DateTime

public static final DataType DateTime

Day

public static final DataType Day

Decimal

public static final DataType Decimal

Double

public static final DataType Double

Duration

public static final DataType Duration

Float

public static final DataType Float

Int

public static final DataType Int

Integer

public static final DataType Integer

Long

public static final DataType Long

Month

public static final DataType Month

MonthDay

public static final DataType MonthDay

Object

public static final DataType Object

Short

public static final DataType Short

String

public static final DataType String

Strings

public static final DataType Strings

Time

public static final DataType Time

URI

public static final DataType URI

Year

public static final DataType Year

YearMonth

public static final DataType YearMonth

YearMonthDay

public static final DataType YearMonthDay
Method Detail

values

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

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

valueOf

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


Copyright © 2013. All rights reserved.