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(UpdateOperation<S> sourceOperation,
RowField<S,?> targetField,
Table<T> targetTable,
UpdateCascade updateCascadeAnnotation)
Constructor used by
UpdateOperation . |
Modifier and Type | Method and Description |
---|---|
protected SqlOperation<?> |
createOperation()
Creates new instance of sql operation from
CascadeOperation.cascadeSqlOperationClass supplied in the
constructor. |
cascade, close, deriveSqlOperationAttributes, isBatch, prepare
getDepth, getForeignKeyReferenceFieldName, getForeignKeyValueFieldNames, getKeyFieldCount, getNamedParameterMap, getRequiredCascades, getSourceOperation, getSourceRow, getSourceTable, getTargetField, getTargetForeignKeyValueFieldList, getTargetTable, isPost, prepareForeignKeyReferenceField, prepareForeignKeyValueFields, setForeignKeyFieldNames, setForeignKeyReference, setForeignKeyReference, setForeignKeyReferenceFieldName, setForeignKeyValues, setForeignKeyValues, setPost
public UpdateCascadeOperation(UpdateOperation<S> sourceOperation, RowField<S,?> targetField, Table<T> targetTable, UpdateCascade updateCascadeAnnotation)
UpdateOperation
.sourceOperation
- 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.cascadeSqlOperationClass
supplied in the
constructor.createOperation
in class CascadeOperation<S,T>
SqlOperation
that will be used for cascadeOperationException
- if error