|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.workingdogs.village.Column
public class Column
This class represents a Column in the database and its associated meta information. A Record is a collection of columns.
Constructor Summary | |
---|---|
Column()
constructor |
Method Summary | |
---|---|
boolean |
autoIncrement()
does this column auto increment? |
String |
dbKonaMethod()
unknown use |
String |
dbType()
the data type of a column |
String |
getTableName()
TODO: DOCUMENT ME! |
boolean |
isBigDecimal()
column isBigDecimal: 2 || 3 |
boolean |
isBinary()
column isBinary: -2 |
boolean |
isBoolean()
column isBoolean: -7 |
boolean |
isByte()
column isByte: -6 |
boolean |
isBytes()
column isBytes: -4 || -3 || -2 |
boolean |
isDate()
column isBytes: 91 |
boolean |
isDouble()
column isDouble: 6 || 8 |
boolean |
isFloat()
column isFloat: 7 |
boolean |
isInt()
column isInt: 4 |
boolean |
isLong()
column isLong: -5 |
boolean |
isLongVarBinary()
column isLongVarBinary: -4 |
boolean |
isShort()
column isShort: 5 |
boolean |
isString()
column isString: -1 || -11 || 12 |
boolean |
isTime()
column isTime: 92 |
boolean |
isTimestamp()
column isTimestamp: 93 |
boolean |
isVarBinary()
column isVarBinary: -3 |
String |
javaType()
unknown use |
int |
length()
the storage length of a column |
String |
name()
the name of the column |
boolean |
nullAllowed()
does this column allow null? |
int |
precision()
the precision of the column |
String |
preparedStatemntBindMethod()
unknown use |
boolean |
readOnly()
is this column read only? |
String |
resultSetMethod()
unknown use |
int |
scale()
the scale of the column |
boolean |
searchable()
is this column searchable? |
String |
type()
the type of the column as a string |
int |
typeEnum()
the data type of a column |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Column()
Method Detail |
---|
public String name()
public String dbType()
public int typeEnum()
public boolean nullAllowed()
public boolean autoIncrement()
public boolean readOnly()
public boolean searchable()
public int scale()
public int precision()
public int length()
public String type()
public boolean isBoolean()
public boolean isBigDecimal()
public boolean isBinary()
public boolean isByte()
public boolean isBytes()
public boolean isDate()
public boolean isDouble()
public boolean isFloat()
public boolean isInt()
public boolean isLong()
public boolean isShort()
public boolean isString()
public boolean isTime()
public boolean isTimestamp()
public boolean isVarBinary()
public boolean isLongVarBinary()
public String dbKonaMethod() throws DataSetException
DataSetException
- TODO: DOCUMENT ME!public String javaType() throws DataSetException
DataSetException
- TODO: DOCUMENT ME!public final String preparedStatemntBindMethod() throws DataSetException
DataSetException
- TODO: DOCUMENT ME!public final String resultSetMethod() throws DataSetException
DataSetException
- TODO: DOCUMENT ME!public String getTableName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |