global
Class AttrType

java.lang.Object
  extended by global.AttrType

public class AttrType
extends java.lang.Object

Enumeration class for attribute data types.


Field Summary
static int COLNAME
           
static int FIELDNO
           
static int FLOAT
           
static int INTEGER
           
static int STRING
           
 
Method Summary
static int getType(java.lang.Object obj)
          Gets the AttrType of the given value; i.e.
static java.lang.String toString(int value)
          Returns a string representation of an AttrType.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INTEGER

public static final int INTEGER
See Also:
Constant Field Values

FLOAT

public static final int FLOAT
See Also:
Constant Field Values

STRING

public static final int STRING
See Also:
Constant Field Values

COLNAME

public static final int COLNAME
See Also:
Constant Field Values

FIELDNO

public static final int FIELDNO
See Also:
Constant Field Values
Method Detail

getType

public static int getType(java.lang.Object obj)
Gets the AttrType of the given value; i.e. not applicable for column names or field numbers.

Throws:
java.lang.IllegalArgumentException - if obj is not an AttrType

toString

public static java.lang.String toString(int value)
Returns a string representation of an AttrType.