|
jacquard 1.12.0 by The Web Engineering Factory and Toolworks | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.co.weft.dbutil.ColumnDescriptor
uk.co.weft.dbutil.IntegerColumnDescriptor
A descriptor for an integer column
| Field Summary | |
protected int |
fieldwidth
field width of this column. |
| Constructor Summary | |
IntegerColumnDescriptor(java.lang.String n,
int f)
Creates a new IntegerColumnDescriptor object. |
|
| Method Summary | |
protected java.lang.String |
format(Context c)
format an integer for sending to the database. |
protected java.lang.Object |
genKey(Context context)
generate a new unique key for me given this context. |
protected java.lang.Object |
interpret(Context context,
java.sql.ResultSet results)
put into this context an interpretation of the value of my name in these results. |
| Methods inherited from class uk.co.weft.dbutil.ColumnDescriptor |
createColumnDescriptor, formatForInsert, formatForMatch, formatForMatch, formatForSelect, formatForUpdate, quoteValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected int fieldwidth
| Constructor Detail |
public IntegerColumnDescriptor(java.lang.String n,
int f)
n - my namef - my fieldwidth| Method Detail |
protected java.lang.String format(Context c)
throws DataFormatException
format in class ColumnDescriptorDataFormatException
protected java.lang.Object genKey(Context context)
throws DataStoreException
genKey in class ColumnDescriptorcontext - a context from which I can grab a connection
throws - DataStoreException if a unique key could not be
generated
DataStoreException
protected java.lang.Object interpret(Context context,
java.sql.ResultSet results)
throws DataFormatException
interpret in class ColumnDescriptorDataFormatException
|
jacquard 1.12.0 by The Web Engineering Factory and Toolworks | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||