T
- type of field dataX
- type of owning DataObjectpublic interface FieldValue<T,X> extends SQLAccessor<T,X>, GroupingSQLValue<T>
Modifier and Type | Method and Description |
---|---|
default int |
addField(java.lang.StringBuilder sb,
boolean qualify)
add SQLFragment corresponding to the raw database field.
|
java.lang.String |
getFieldName()
Get the corresponding field name.
|
void |
setObject(java.sql.PreparedStatement stmt,
int pos,
T value)
Add an object of the target type to a prepared statement doing any necessary type conversion
to map it to the SQL representation of the object (as generated by
addField(StringBuilder, boolean)
Note this is only valid if canSet from SQLAccessor returns true. |
addGroup, checkContentsCanGroup, getGroupParameters, groupingIsomorphic
add, getParameters, getRequiredFilter, makeObject
java.lang.String getFieldName()
void setObject(java.sql.PreparedStatement stmt, int pos, T value) throws java.sql.SQLException
addField(StringBuilder, boolean)
Note this is only valid if canSet from SQLAccessor
returns true.stmt
- pos
- value
- java.sql.SQLException
default int addField(java.lang.StringBuilder sb, boolean qualify)
SQLValue.add(StringBuilder, boolean)
sb
- qualify
-