Java Client API Reference 6.0.2.61

com.baan.b3.boi1.dt
Class SynchronizationActionType.Switch

java.lang.Object
  |
  +--com.baan.b3.boi1.dt.SynchronizationActionType.Switch
Enclosing class:
SynchronizationActionType

public abstract static class SynchronizationActionType.Switch
extends java.lang.Object

Argument for the SynchronizationActionType.doSwitch(com.baan.b3.boi1.dt.SynchronizationActionType.Switch) method.
Programmers should create a subclass that does something useful. eg:

 public void myMethod(SynchronizationActionType p_sat)
 {
     p_sat.doSwitch( new SynchronizationActionType.Switch()
                     {
                         public void satDelete()
                         {
                             System.out.println("Delete action");
                         }
 
                         public void satDefault()
                         {
                             System.out.println("Some other action");
                         }
                     };
 }
 

Author:
Baan Company

Constructor Summary
SynchronizationActionType.Switch()
           
 
Method Summary
 void satChange()
          Called when the switch argument is SynchronizationActionType.CHANGE.
 void satDefault()
          Called when no specific action is defined for the switch argument.
 void satDelete()
          Called when the switch argument is SynchronizationActionType.DELETE.
 void satInsert()
          Called when the switch argument is SynchronizationActionType.INSERT.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SynchronizationActionType.Switch

public SynchronizationActionType.Switch()
Method Detail

satInsert

public void satInsert()
Called when the switch argument is SynchronizationActionType.INSERT.
Calls satDefault().
Threading policy: MTSafe

satDelete

public void satDelete()
Called when the switch argument is SynchronizationActionType.DELETE.
Calls satDefault().
Threading policy: MTSafe

satChange

public void satChange()
Called when the switch argument is SynchronizationActionType.CHANGE.
Calls satDefault().
Threading policy: MTSafe

satDefault

public void satDefault()
Called when no specific action is defined for the switch argument.
Does nothing.
Threading policy: MTSafe

Java Client API Reference 6.0.2.61

Visit the SSA Global website for more information.