| |
|
| java.lang.Object com.workingdogs.village.Column
Column | public class Column (Code) | | This class represents a Column in the database and its associated meta information. A Record is a
collection of columns.
author: Jon S. Stevens version: $Revision: 568 $ |
Constructor Summary | |
public | Column() |
Column | public Column()(Code) | | constructor
|
autoIncrement | public boolean autoIncrement()(Code) | | does this column auto increment?
whether or not this column auto increments |
dbType | public String dbType()(Code) | | the data type of a column
the java.sql.Types String |
getTableName | public String getTableName()(Code) | | TODO: DOCUMENT ME!
TODO: DOCUMENT ME! |
isBigDecimal | public boolean isBigDecimal()(Code) | | column isBigDecimal: 2 || 3
TODO: DOCUMENT ME! |
isBinary | public boolean isBinary()(Code) | | column isBinary: -2
TODO: DOCUMENT ME! |
isBoolean | public boolean isBoolean()(Code) | | column isBoolean: -7
TODO: DOCUMENT ME! |
isByte | public boolean isByte()(Code) | | column isByte: -6
TODO: DOCUMENT ME! |
isBytes | public boolean isBytes()(Code) | | column isBytes: -4 || -3 || -2
TODO: DOCUMENT ME! |
isDate | public boolean isDate()(Code) | | column isBytes: 91
TODO: DOCUMENT ME! |
isDouble | public boolean isDouble()(Code) | | column isDouble: 6 || 8
TODO: DOCUMENT ME! |
isFloat | public boolean isFloat()(Code) | | column isFloat: 7
TODO: DOCUMENT ME! |
isInt | public boolean isInt()(Code) | | column isInt: 4
TODO: DOCUMENT ME! |
isLong | public boolean isLong()(Code) | | column isLong: -5
TODO: DOCUMENT ME! |
isLongVarBinary | public boolean isLongVarBinary()(Code) | | column isLongVarBinary: -4
TODO: DOCUMENT ME! |
isShort | public boolean isShort()(Code) | | column isShort: 5
TODO: DOCUMENT ME! |
isString | public boolean isString()(Code) | | column isString: -1 || -11 || 12
TODO: DOCUMENT ME! |
isTime | public boolean isTime()(Code) | | column isTime: 92
TODO: DOCUMENT ME! |
isTimestamp | public boolean isTimestamp()(Code) | | column isTimestamp: 93
TODO: DOCUMENT ME! |
isVarBinary | public boolean isVarBinary()(Code) | | column isVarBinary: -3
TODO: DOCUMENT ME! |
length | public int length()(Code) | | the storage length of a column
the storage length of a column |
name | public String name()(Code) | | the name of the column
the name of the column |
nullAllowed | public boolean nullAllowed()(Code) | | does this column allow null?
whether or not the column has null Allowed |
populate | void populate(ResultSetMetaData rsmd, int colNum, String tableName) throws SQLException(Code) | | internal package method for populating a Column instance
Parameters: rsmd - TODO: DOCUMENT ME! Parameters: colNum - TODO: DOCUMENT ME! Parameters: tableName - TODO: DOCUMENT ME! throws: SQLException - TODO: DOCUMENT ME! |
precision | public int precision()(Code) | | the precision of the column
the precision of the column |
readOnly | public boolean readOnly()(Code) | | is this column read only?
whether or not this column is read only |
scale | public int scale()(Code) | | the scale of the column
the scale of the column |
searchable | public boolean searchable()(Code) | | is this column searchable?
true if this column is searchable |
type | public String type()(Code) | | the type of the column as a string
the type of the column as a string |
typeEnum | public int typeEnum()(Code) | | the data type of a column
the java.sql.Types enum |
|
|
|