com.sybase.reflection
Class DataType

java.lang.Object
  extended by com.sybase.reflection.DataType

public class DataType
extends java.lang.Object

Data type for meta data.


Field Summary
protected  int __code
           
protected  DataType __itemType
           
protected  java.lang.String __name
           
protected  boolean __nullable
           
static int BINARY
           
static int BOOLEAN
           
static int BYTE
           
static int CHAR
           
static int DATE
           
static int DATE_TIME
           
static int DECIMAL
           
static int DOUBLE
           
static int FLOAT
           
static int INT
           
static int INTEGER
           
static int LIST
           
static int LONG
           
static int OBJECT
           
static int SHORT
           
static int STRING
           
static int TIME
           
static int VOID
           
 
Constructor Summary
DataType()
          Sybase internal use only.
 
Method Summary
 DataType finishInit()
          Sybase internal use only.
static DataType forName(java.lang.String theName)
          Sybase internal use only.
 int getCode()
          Sybase internal use only.
 DataType getItemType()
          Get the DataType of List item.
 java.lang.String getName()
          Gets the name of this type.
 boolean getNullable()
          Returns true if this data type is nullable.
 DataType initCode(int _code)
          Sybase internal use only.
 DataType initItemType(DataType _itemType)
          Sybase internal use only.
 DataType initName(java.lang.String _name)
          Sybase internal use only.
 DataType initNullable(boolean _nullable)
          Sybase internal use only.
 void setCode(int _code)
          Sybase internal use only.
 void setItemType(DataType _itemType)
          Sybase internal use only.
 void setName(java.lang.String _name)
          Sybase internal use only.
 void setNullable(boolean _nullable)
          Sybase internal use only.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VOID

public static final int VOID
See Also:
Constant Field Values

OBJECT

public static final int OBJECT
See Also:
Constant Field Values

BOOLEAN

public static final int BOOLEAN
See Also:
Constant Field Values

STRING

public static final int STRING
See Also:
Constant Field Values

BINARY

public static final int BINARY
See Also:
Constant Field Values

CHAR

public static final int CHAR
See Also:
Constant Field Values

BYTE

public static final int BYTE
See Also:
Constant Field Values

SHORT

public static final int SHORT
See Also:
Constant Field Values

INT

public static final int INT
See Also:
Constant Field Values

LONG

public static final int LONG
See Also:
Constant Field Values

INTEGER

public static final int INTEGER
See Also:
Constant Field Values

DECIMAL

public static final int DECIMAL
See Also:
Constant Field Values

FLOAT

public static final int FLOAT
See Also:
Constant Field Values

DOUBLE

public static final int DOUBLE
See Also:
Constant Field Values

DATE

public static final int DATE
See Also:
Constant Field Values

TIME

public static final int TIME
See Also:
Constant Field Values

DATE_TIME

public static final int DATE_TIME
See Also:
Constant Field Values

LIST

public static final int LIST
See Also:
Constant Field Values

__code

protected int __code

__name

protected java.lang.String __name

__nullable

protected boolean __nullable

__itemType

protected DataType __itemType
Constructor Detail

DataType

public DataType()
Sybase internal use only.

Method Detail

initCode

public DataType initCode(int _code)
Sybase internal use only.


getCode

public int getCode()
Sybase internal use only.


setCode

public void setCode(int _code)
Sybase internal use only.


initName

public DataType initName(java.lang.String _name)
Sybase internal use only.


getName

public java.lang.String getName()
Gets the name of this type.


setName

public void setName(java.lang.String _name)
Sybase internal use only.


initNullable

public DataType initNullable(boolean _nullable)
Sybase internal use only.


getNullable

public boolean getNullable()
Returns true if this data type is nullable.


setNullable

public void setNullable(boolean _nullable)
Sybase internal use only.


initItemType

public DataType initItemType(DataType _itemType)
Sybase internal use only.


getItemType

public DataType getItemType()
Get the DataType of List item.


setItemType

public void setItemType(DataType _itemType)
Sybase internal use only.


forName

public static DataType forName(java.lang.String theName)
Sybase internal use only.


finishInit

public DataType finishInit()
Sybase internal use only.