Package | Description |
---|---|
org.sormula |
Fundamental classes.
|
org.sormula.active.operation |
Thread-safe and transaction-compliant database operations used by
ActiveTable . |
org.sormula.translator |
Classes that provide mapping between columns and Java class members.
|
Modifier and Type | Method and Description |
---|---|
protected RowTranslator<R> |
Table.initRowTranslator(Row rowAnnotation)
Creates a
RowTranslator for use by this table. |
Modifier and Type | Method and Description |
---|---|
protected RowTranslator<R> |
OperationTable.initRowTranslator(Row rowAnnotation)
Creates a
RowTranslator for use by this table. |
Modifier and Type | Class and Description |
---|---|
class |
NoColumnTranslatorException
Failed column translator lookup exception.
|
class |
NoTypeTranslatorException
No type translator defined.
|
Modifier and Type | Method and Description |
---|---|
protected void |
PrimaryKeyWhereTranslator.addColumnTranslator(java.lang.reflect.Field f,
java.lang.String annotationName)
Adds a
ColumnTranslator for a field. |
RowField<R,?> |
RowTranslator.createRowField(java.lang.reflect.Field field)
Creates a
RowField object with the appropriate field access (either getter/setter method
or direct access). |
protected void |
WhereTranslator.init(RowTranslator<R> rowTranslator,
Where whereAnnotation)
Initializes.
|
protected void |
RowTranslator.initColumnTranslators()
|
protected void |
RowTranslator.initUnusedColumnSql(java.lang.Class<R> rowClass)
Process
UnusedColumns annotations. |
static ColumnTranslator<?> |
AbstractColumnTranslator.newInstance(java.lang.Class<? extends ColumnTranslator> columnTranslatorClass,
RowField<?,?> rowField,
java.lang.String columnName)
Factory method for creating a new instance of a column translator for a row field.
|
int |
ColumnsTranslator.read(java.sql.ResultSet resultSet,
int columnIndex,
R row)
Reads a record from a result set.
|
int |
ColumnsTranslator.write(java.sql.PreparedStatement preparedStatement,
int parameterIndex,
R row)
Sets parameters in a prepared statement.
|
Constructor and Description |
---|
AbstractColumnTranslator(RowField<R,T> rowfield,
java.lang.String columnName)
Constructs for a column.
|
AbstractWhereTranslator(RowTranslator<R> rowTranslator)
Constructs for row translator.
|
ColumnsTranslator(java.lang.Class<R> rowClass)
Constructs for a row class.
|
OrderByTranslator(RowTranslator<R> rowTranslator,
OrderBy orderByAnnotation)
Constructs for an order by annotation.
|
PrimaryKeyWhereTranslator(RowTranslator<R> rowTranslator)
Constructs based upon a row translator.
|
RowTranslator(Table<R> table,
Row rowAnnotation)
Constructs for a table.
|
WhereTranslator(RowTranslator<R> rowTranslator,
int initialCapacity)
Constructs and empty where condition.
|
WhereTranslator(RowTranslator<R> rowTranslator,
Where whereAnnotation)
Constructs for where annotation.
|