org.sormula.operation.cascade
Class InsertCascadeOperation<S,T>

java.lang.Object
  extended by org.sormula.operation.cascade.CascadeOperation<S,T>
      extended by org.sormula.operation.cascade.ModifyCascadeOperation<S,T>
          extended by org.sormula.operation.cascade.InsertCascadeOperation<S,T>
Type Parameters:
S - row class of table that is source of cascade
T - row class of table that is target of cascade

public class InsertCascadeOperation<S,T>
extends ModifyCascadeOperation<S,T>

Cascade that inserts rows into target table when source operation initiates a cascade.

Author:
Jeff Miller

Constructor Summary
InsertCascadeOperation(SormulaField<S,?> targetField, Table<T> targetTable, InsertCascade insertCascadeAnnotation)
          Constructor used by InsertOperation.
 
Method Summary
 
Methods inherited from class org.sormula.operation.cascade.ModifyCascadeOperation
cascade, close, prepare
 
Methods inherited from class org.sormula.operation.cascade.CascadeOperation
createOperation, getTargetField, getTargetTable, isPost
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InsertCascadeOperation

public InsertCascadeOperation(SormulaField<S,?> targetField,
                              Table<T> targetTable,
                              InsertCascade insertCascadeAnnotation)
Constructor used by InsertOperation.

Parameters:
targetField - cascade insert operation uses row(s) from this field
targetTable - cascade insert operation is performed on this table
insertCascadeAnnotation - cascade operation