Business Objects
Quark Platform Documentation
Version 1.7.0_0
Business Objects

org.openquark.cal.runtime
Enum CalValue.DataType

java.lang.Object
  extended by java.lang.Enum<CalValue.DataType>
      extended by org.openquark.cal.runtime.CalValue.DataType
All Implemented Interfaces:
Serializable, Comparable<CalValue.DataType>
Enclosing class:
CalValue

public static enum CalValue.DataType
extends Enum<CalValue.DataType>

An enumeration for the underlying value type of an internal value.

Author:
Joseph Wong

Enum Constant Summary
BOOLEAN
           
BYTE
           
CHAR
           
DOUBLE
           
FLOAT
           
INT
           
LONG
           
OBJECT
           
OTHER
           
SHORT
           
 
Method Summary
 String toString()
          
static CalValue.DataType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CalValue.DataType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CHAR

public static final CalValue.DataType CHAR

BOOLEAN

public static final CalValue.DataType BOOLEAN

BYTE

public static final CalValue.DataType BYTE

SHORT

public static final CalValue.DataType SHORT

INT

public static final CalValue.DataType INT

LONG

public static final CalValue.DataType LONG

FLOAT

public static final CalValue.DataType FLOAT

DOUBLE

public static final CalValue.DataType DOUBLE

OBJECT

public static final CalValue.DataType OBJECT

OTHER

public static final CalValue.DataType OTHER
Method Detail

values

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

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

valueOf

public static CalValue.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

toString

public String toString()

Overrides:
toString in class Enum<CalValue.DataType>

Business Objects
Quark Platform Documentation
Version 1.7.0_0
Business Objects

Copyright © 2007 Business Objects. All rights reserved.