Example #1
0
        public virtual MigratingEventScopeInstance addEventScopeInstance(MigrationInstruction migrationInstruction, ExecutionEntity eventScopeExecution, ScopeImpl sourceScope, ScopeImpl targetScope, MigrationInstruction eventSubscriptionInstruction, EventSubscriptionEntity eventSubscription, ScopeImpl eventSubscriptionSourceScope, ScopeImpl eventSubscriptionTargetScope)
        {
            MigratingEventScopeInstance compensationInstance = new MigratingEventScopeInstance(migrationInstruction, eventScopeExecution, sourceScope, targetScope, eventSubscriptionInstruction, eventSubscription, eventSubscriptionSourceScope, eventSubscriptionTargetScope);

            migratingEventScopeInstances.Add(compensationInstance);

            return(compensationInstance);
        }
Example #2
0
 public virtual void removeChild(MigratingEventScopeInstance compensationInstance)
 {
     this.childCompensationInstances.remove(compensationInstance);
 }
Example #3
0
 public virtual void addChild(MigratingEventScopeInstance compensationInstance)
 {
     this.childCompensationInstances.Add(compensationInstance);
 }