|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.api.UDSColumnInfo
public class UDSColumnInfo
This class used to store the columns information that returned from result set .
| Constructor Summary | |
|---|---|
UDSColumnInfo()
The constructor.construct a UDS column infomation |
|
UDSColumnInfo(java.lang.String strName,
int iIndex,
int iSQLType,
java.lang.String strSQLTypeName,
int iPrecision,
int iLength,
int iScale,
int iRadix,
int iNullable,
java.lang.String strRemarks)
The constructor.construct a UDS column infomation |
|
| Method Summary | |
|---|---|
void |
add(java.lang.String strName,
int iIndex,
int iSQLType,
java.lang.String strSQLTypeName,
int iPrecision,
int iLength,
int iScale,
int iRadix,
int iNullable,
java.lang.String strRemarks)
create a UDS column infomation |
int |
getDataType()
get column data type |
int |
getIndex()
get column index in resultset |
int |
getLength()
get column length |
java.lang.String |
getName()
get column name |
int |
getNullable()
get column nullable status |
int |
getPrecision()
get column precision. |
int |
getRadix()
get column radix |
java.lang.String |
getRemarks()
get column remarks |
int |
getScale()
get column scale |
java.lang.String |
getSQLTypeName()
get column data type name. |
void |
setDataType(int iSQLType)
set column data type |
void |
setLength(int iLength)
set column name |
void |
setName(java.lang.String strName)
set column name |
void |
setNullable(int iNullable)
set column name |
void |
setPrecision(int iPrecision)
set column precision |
void |
setRadix(int iRadix)
set column name |
void |
setRemarks(java.lang.String strRemarks)
set column remarks |
void |
setScale(int iScale)
set column name |
void |
setSQLTypeName(java.lang.String strSQLTypeName)
set column SQLTypeName |
java.lang.String |
toString()
Show column information. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UDSColumnInfo()
public UDSColumnInfo(java.lang.String strName,
int iIndex,
int iSQLType,
java.lang.String strSQLTypeName,
int iPrecision,
int iLength,
int iScale,
int iRadix,
int iNullable,
java.lang.String strRemarks)
strName - The column nameiIndex - The column index in ResultSetiSQLType - The column type infomation. The same as java.sql.TypesstrSQLTypeName - The column type name defined in DBMSiPrecision - The precision of column.iLength - The length of columniScale - The scale of columniRadix - The radix of columniNullable - The null status of columnstrRemarks - The remark of column.| Method Detail |
|---|
public void add(java.lang.String strName,
int iIndex,
int iSQLType,
java.lang.String strSQLTypeName,
int iPrecision,
int iLength,
int iScale,
int iRadix,
int iNullable,
java.lang.String strRemarks)
strName - The column nameiIndex - The column index in ResultSetiSQLType - The column type infomation. The same as java.sql.TypesstrSQLTypeName - The column type name defined in DBMSiPrecision - The precision of column.iLength - The length of columniScale - The scale of columniRadix - The radix of columniNullable - The null status of columnstrRemarks - The remark of column.public java.lang.String getName()
public int getIndex()
public int getDataType()
public java.lang.String getSQLTypeName()
public int getPrecision()
public int getLength()
public int getScale()
public int getRadix()
public int getNullable()
public java.lang.String getRemarks()
public void setName(java.lang.String strName)
strName - column namepublic void setDataType(int iSQLType)
iSQLType - column SQL typepublic void setSQLTypeName(java.lang.String strSQLTypeName)
strSQLTypeName - column SQL type namepublic void setPrecision(int iPrecision)
iPrecision - column precisionpublic void setLength(int iLength)
iLength - column lengthpublic void setScale(int iScale)
iScale - column scalepublic void setRadix(int iRadix)
iRadix - column radixpublic void setNullable(int iNullable)
iNullable - column nullable statuspublic void setRemarks(java.lang.String strRemarks)
strRemarks - column remarkpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||