|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--oajava.sql.xo_type
It contains all the necessary elements that characterize a X/Open type.
| Constructor Summary | |
xo_type()
Intialize the object with zero value(s). |
|
xo_type(int type,
int length,
int prec,
int radix,
int scale,
int inull)
Intialize the object with specified value(s). |
|
| Method Summary | |
int |
getLength()
Get the length. |
int |
getNull()
Get the null indicator. |
int |
getPrecision()
Get the precision. |
int |
getRadix()
Get the radix. |
int |
getScale()
Get the scale. |
int |
getType()
Get the data type. |
void |
setLength(int length)
Set the length. |
void |
setNull(int inull)
Set the scale. |
void |
setPrecision(int prec)
Set the precision. |
void |
setRadix(int radix)
Set the radix. |
void |
setScale(int scale)
Set the scale. |
void |
setType(int type)
Set the data type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public xo_type()
public xo_type(int type,
int length,
int prec,
int radix,
int scale,
int inull)
type - The data type.length - Length required to display the data type value.prec - Length required to store the data type value.radix - Indicate data type value's base.scale - Number of digits after decimal point.inull - Indicate value can be null or not.| Method Detail |
public void setType(int type)
type - The data type.public void setLength(int length)
length - Length required to display the data type value.public void setPrecision(int prec)
prec - Length required to store the data type value.public void setRadix(int radix)
radix - Indicate data type value's base.public void setScale(int scale)
scale - Number of digits after decimal point.public void setNull(int inull)
inull - Indicate value can be null or not.public int getType()
public int getLength()
public int getPrecision()
public int getRadix()
public int getScale()
public int getNull()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||