|
ElegantJ Data Tables Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.elegantj.data.dataprovider.sql.ColumnAttribs
The ColumnAttribs provides the attributes of the column.
| Constructor Summary | |
ColumnAttribs(java.lang.String catalogName,
java.lang.String columnClassName,
int columnDisplaySize,
java.lang.String columnLabel,
java.lang.String columnName,
int columnType,
java.lang.String columnTypeName,
int precision,
int scale,
java.lang.String schemaName,
java.lang.String tableName,
boolean autoIncrement,
boolean caseSensitive,
boolean currency,
boolean defWritable,
int nullable,
boolean readOnly,
boolean searchable,
boolean signed,
boolean writable)
Creates a ColumnAttribs with the specified attributes |
|
| Method Summary | |
java.lang.String |
getCatalogName()
Returns a column's table's catalog name. |
java.lang.String |
getColumnClassName()
Returns the fully qualified column's class name |
int |
getColumnDisplaySize()
Indicates the column's normal max width in chars. |
java.lang.String |
getColumnLabel()
Returns the suggested column title for use in printouts and displays. |
java.lang.String |
getColumnName()
Returns the column's name. |
int |
getColumnType()
Retrieves a column's SQL type. |
java.lang.String |
getColumnTypeName()
Retrieves a column's database-specific type name. |
java.lang.String |
getName()
Returns the column's name with it's catalog, schema and table names |
int |
getPrecision()
Returns a column's number of decimal digits. |
int |
getScale()
Returns a column's number of digits to right of the decimal point. |
java.lang.String |
getSchemaName()
Returns a column's table's schema. |
java.lang.String |
getTableName()
Returns a column's table name. |
boolean |
isAutoIncrement()
Indicates whether the column is automatically numbered, thus read-only. |
boolean |
isCaseSensitive()
Indicates whether the column's case matters. |
boolean |
isCurrency()
Indicates whether the column is a cash value. |
boolean |
isDefinitelyWritable()
Indicates whether a write on the column will definitely succeed. |
int |
isNullable()
Indicates the nullability of values in the designated column. |
boolean |
isPrimaryKey()
Indicates whether the column is a primary key |
boolean |
isReadOnly()
Indicates whether the column is definitely not writable. |
boolean |
isSearchable()
Indicates whether the column can be used in a where clause. |
boolean |
isSigned()
Indicates whether values in the column are signed numbers. |
boolean |
isUniqueKey()
Indicates whether the column is a unique key |
boolean |
isUpdateable()
Indicates whether the column is a updateable |
boolean |
isWritable()
Indicates whether it is possible for a write on the column to succeed. |
void |
setPrimaryKey(boolean primaryKey)
Indicates whether the column is a primary key |
void |
setUniqueKey(boolean uniqueKey)
Indicates whether the column is a unique key |
void |
setUpdateable(boolean updateable)
Indicates whether the column is a updateable |
java.lang.String |
toString()
Returns the string representation of this object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ColumnAttribs(java.lang.String catalogName,
java.lang.String columnClassName,
int columnDisplaySize,
java.lang.String columnLabel,
java.lang.String columnName,
int columnType,
java.lang.String columnTypeName,
int precision,
int scale,
java.lang.String schemaName,
java.lang.String tableName,
boolean autoIncrement,
boolean caseSensitive,
boolean currency,
boolean defWritable,
int nullable,
boolean readOnly,
boolean searchable,
boolean signed,
boolean writable)
catalogName - the column's table's catalog namecolumnClassName - the fully qualified column class namecolumnDisplaySize - the column's normal max width in charscolumnLabel - the suggested column title for use in printouts and displayscolumnName - the column's namecolumnType - the columns's SQL typecolumnTypeName - the column's database-specific type nameprecision - the column's number of decimal digitsscale - the column's number of digits to right of the decimal pointschemaName - the column's table's schematableName - the column's table nameautoIncrement - indicates whether the column is automatically numbered, thus read-onlycaseSensitive - indicates whether a column's case matterscurrency - indicates whether the column is a cash valuedefWritable - indicates whether a write on the column will definitely succeednullable - indicates the nullability of values in the designated columnreadOnly - indicates whether a column is definitely not writablesearchable - indicates whether the column can be used in a where clausesigned - indicates whether values in the column are signed numberswritable - indicates whether it is possible for a write on the column to succeed| Method Detail |
public java.lang.String getName()
public java.lang.String getCatalogName()
public java.lang.String getColumnClassName()
public int getColumnDisplaySize()
public java.lang.String getColumnLabel()
public java.lang.String getColumnName()
public int getColumnType()
public java.lang.String getColumnTypeName()
public int getPrecision()
public int getScale()
public java.lang.String getSchemaName()
public java.lang.String getTableName()
public boolean isAutoIncrement()
public boolean isCaseSensitive()
public boolean isCurrency()
public boolean isDefinitelyWritable()
public int isNullable()
public boolean isReadOnly()
public boolean isSearchable()
public boolean isSigned()
public boolean isWritable()
public void setUpdateable(boolean updateable)
updateable - true if the column is a updateable, otherwise falsepublic boolean isUpdateable()
public void setUniqueKey(boolean uniqueKey)
uniqueKey - true if the column is a unique key, otherwise falsepublic boolean isUniqueKey()
public void setPrimaryKey(boolean primaryKey)
primaryKey - true if the column is a primary key, otherwise falsepublic boolean isPrimaryKey()
public java.lang.String toString()
|
ElegantJ Data Tables Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||