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(Table<S> sourceTable,
RowField<S,?> targetField,
Table<T> targetTable,
DeleteCascade deleteCascadeAnnotation)
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
public DeleteCascadeOperation(Table<S> sourceTable, RowField<S,?> targetField, Table<T> targetTable, DeleteCascade deleteCascadeAnnotation)
DeleteCascadeOperation(Table, RowField, Table, DeleteCascade)
DeleteOperation
.sourceTable
- 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.cascadeOperationClass
supplied in the
constructor.createOperation
in class CascadeOperation<S,T>
SqlOperation
that will be used for cascadeOperationException
- if error