S
- row class of table that is source of cascadeT
- row class of table that is target of cascadepublic class DeleteCascadeOperation<S,T> extends ModifyCascadeOperation<S,T>
Constructor and Description |
---|
DeleteCascadeOperation(DeleteOperation<S> sourceOperation,
RowField<S,?> targetField,
Table<T> targetTable,
DeleteCascade deleteCascadeAnnotation)
Constructor used by
DeleteOperation . |
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 DeleteCascadeOperation(DeleteOperation<S> sourceOperation, RowField<S,?> targetField, Table<T> targetTable, DeleteCascade deleteCascadeAnnotation)
DeleteOperation
.sourceOperation
- cascade originates on row from this tabletargetField
- cascade delete operation uses row(s) from this fieldtargetTable
- cascade delete operation is performed on this tabledeleteCascadeAnnotation
- 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