Package | Description |
---|---|
org.sormula.operation |
Classes that perform SQL operations such as select, update, insert, save, and delete.
|
org.sormula.operation.cascade |
Classes that perform cascade (one-to-many and one-to-one) operations that are defined
by cascade annotations.
|
org.sormula.reflect |
Classes for performing Java reflection operations.
|
org.sormula.translator |
Classes that provide mapping between columns and Java class members.
|
org.sormula.translator.standard |
Classes that convert values from standard Java data types to a prepared statement and
to convert from result set to standard Java data types.
|
Modifier and Type | Method and Description |
---|---|
protected RowField<R,?> |
SqlOperation.createRowField(Table<R> targetTable,
java.lang.reflect.Field field)
|
Modifier and Type | Method and Description |
---|---|
RowField<S,?> |
CascadeOperation.getTargetField()
Gets target field as
RowField . |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<RowField<T,java.lang.Object>> |
CascadeOperation.getTargetForeignKeyValueFieldList() |
Constructor and Description |
---|
CascadeOperation(SqlOperation<S> sourceOperation,
RowField<S,?> targetField,
Table<T> targetTable,
java.lang.Class<?> cascadeSqlOperationClass)
Constructs from source operation and targets of the cascade.
|
DeleteCascadeOperation(DeleteOperation<S> sourceOperation,
RowField<S,?> targetField,
Table<T> targetTable,
DeleteCascade deleteCascadeAnnotation)
Constructor used by
DeleteOperation . |
InsertCascadeOperation(InsertOperation<S> sourceOperation,
RowField<S,?> targetField,
Table<T> targetTable,
InsertCascade insertCascadeAnnotation)
Constructor used by
InsertOperation . |
ModifyCascadeOperation(ModifyOperation<S> sourceOperation,
RowField<S,?> targetField,
Table<T> targetTable,
java.lang.Class<?> cascadeSqlOperationClass)
Constructs from source operation and targets of the cascade.
|
SaveCascadeOperation(SaveOperation<S> sourceOperation,
RowField<S,?> targetField,
Table<T> targetTable,
SaveCascade saveCascadeAnnotation)
Constructor used by
SaveOperation . |
SelectCascadeOperation(ScalarSelectOperation<S> sourceOperation,
RowField<S,?> targetField,
Table<T> targetTable,
SelectCascade selectCascadeAnnotation)
Constructor used by
ScalarSelectOperation . |
UpdateCascadeOperation(UpdateOperation<S> sourceOperation,
RowField<S,?> targetField,
Table<T> targetTable,
UpdateCascade updateCascadeAnnotation)
Constructor used by
UpdateOperation . |
Modifier and Type | Class and Description |
---|---|
class |
DirectAccessField<C,T>
Provides direct access to a field within a row class.
|
class |
MethodAccessField<C,T>
Provides method access to a field within a row class.
|
Modifier and Type | Method and Description |
---|---|
static <C,T> RowField<C,T> |
RowField.newInstance(FieldAccessType fieldAccessType,
java.lang.reflect.Field field)
Factory method to create concrete
RowField subclass instance for a field. |
Modifier and Type | Method and Description |
---|---|
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). |
RowField<R,T> |
AbstractColumnTranslator.getRowField()
Gets the
RowField for field in this translator. |
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
AbstractBlobColumnTranslator(RowField<R,T> rowField,
java.lang.String columnName)
Constructs for a
RowField and column name. |
AbstractColumnTranslator(RowField<R,T> rowfield,
java.lang.String columnName)
Constructs for a column.
|
Constructor and Description |
---|
BooleanYNColumnTranslator(RowField<R,java.lang.Boolean> rowField,
java.lang.String columnName)
Constructs for a
RowField and column name. |
StandardColumnTranslator(RowField<R,T> rowField,
java.lang.String columnName)
Constructs for a
RowField and column name. |