S
- row class of table that is source of cascadeT
- row class of table that is target of cascadepublic class UpdateCascadeOperation<S,T> extends ModifyCascadeOperation<S,T>
Constructor and Description |
---|
UpdateCascadeOperation(Table<S> sourceTable,
RowField<S,?> targetField,
Table<T> targetTable,
UpdateCascade updateCascadeAnnotation)
Constructor used by
UpdateOperation . |
UpdateCascadeOperation(Table<S> sourceTable,
SormulaField<S,?> targetField,
Table<T> targetTable,
UpdateCascade updateCascadeAnnotation)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected SqlOperation<?> |
createOperation()
Creates new instance of sql operation from
CascadeOperation.cascadeOperationClass supplied in the
constructor. |
cascade, close, prepare
getForeignKeyReferenceFieldName, getForeignKeyValueFieldNames, getKeyFieldCount, getNamedParameterMap, getRequiredCascades, getSourceRow, getSourceTable, getTargetField, getTargetForeignKeyValueFieldList, getTargetTable, isPost, prepareForeignKeyReferenceField, prepareForeignKeyValueFields, setForeignKeyFieldNames, setForeignKeyReference, setForeignKeyReference, setForeignKeyReferenceFieldName, setForeignKeyValues, setForeignKeyValues, setNamedParameterMap, setPost, setRequiredCascades
@Deprecated public UpdateCascadeOperation(Table<S> sourceTable, SormulaField<S,?> targetField, Table<T> targetTable, UpdateCascade updateCascadeAnnotation)
UpdateCascadeOperation(Table, RowField, Table, UpdateCascade)
UpdateOperation
.sourceTable
- cascade originates on row from this tabletargetField
- cascade update operation uses row(s) from this fieldtargetTable
- cascade update operation is performed on this tableupdateCascadeAnnotation
- cascade operationpublic UpdateCascadeOperation(Table<S> sourceTable, RowField<S,?> targetField, Table<T> targetTable, UpdateCascade updateCascadeAnnotation)
UpdateOperation
.sourceTable
- cascade originates on row from this tabletargetField
- cascade update operation uses row(s) from this fieldtargetTable
- cascade update operation is performed on this tableupdateCascadeAnnotation
- cascade operationprotected SqlOperation<?> createOperation() throws OperationException
CascadeOperation.cascadeOperationClass
supplied in the
constructor.createOperation
in class CascadeOperation<S,T>
SqlOperation
that will be used for cascadeOperationException
- if error