TPTP 4.6.0 Platform Project
Public API Specification

org.eclipse.hyades.models.common.datapool.util
Class Common_DatapoolSwitch<T>

java.lang.Object
  extended by org.eclipse.hyades.models.common.datapool.util.Common_DatapoolSwitch<T>

public class Common_DatapoolSwitch<T>
extends java.lang.Object

The Switch for the model's inheritance hierarchy. It supports the call doSwitch(object) to invoke the caseXXX method for each class of the model, starting with the actual class of the object and proceeding up the inheritance hierarchy until a non-null result is returned, which is the result of the switch.

See Also:
Common_DatapoolPackage
Generated

Constructor Summary
Common_DatapoolSwitch()
          Creates an instance of the switch
 
Method Summary
 T caseCFGClass(CFGClass object)
          Returns the result of interpreting the object as an instance of 'CFG Class'
 T caseCMNNamedElement(CMNNamedElement object)
          Returns the result of interpreting the object as an instance of 'CMN Named Element'
 T caseDPLCell(DPLCell object)
          Returns the result of interpreting the object as an instance of 'DPL Cell'
 T caseDPLDatapool(DPLDatapool object)
          Returns the result of interpreting the object as an instance of 'DPL Datapool'
 T caseDPLDatapoolSpec(DPLDatapoolSpec object)
          Returns the result of interpreting the object as an instance of 'DPL Datapool Spec'
 T caseDPLEquivalenceClass(DPLEquivalenceClass object)
          Returns the result of interpreting the object as an instance of 'DPL Equivalence Class'
 T caseDPLRecord(DPLRecord object)
          Returns the result of interpreting the object as an instance of 'DPL Record'
 T caseDPLVariable(DPLVariable object)
          Returns the result of interpreting the object as an instance of 'DPL Variable'
 T defaultCase(org.eclipse.emf.ecore.EObject object)
          Returns the result of interpreting the object as an instance of 'EObject'
 T doSwitch(org.eclipse.emf.ecore.EObject theEObject)
          Calls caseXXX for each class of the model until one returns a non null result; it yields that result
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Common_DatapoolSwitch

public Common_DatapoolSwitch()
Creates an instance of the switch.

Generated
Method Detail

doSwitch

public T doSwitch(org.eclipse.emf.ecore.EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result.

Returns:
the first non-null result returned by a caseXXX call.
Generated

caseDPLDatapoolSpec

public T caseDPLDatapoolSpec(DPLDatapoolSpec object)
Returns the result of interpreting the object as an instance of 'DPL Datapool Spec'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'DPL Datapool Spec'.
See Also:
doSwitch(EObject)
Generated

caseDPLDatapool

public T caseDPLDatapool(DPLDatapool object)
Returns the result of interpreting the object as an instance of 'DPL Datapool'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'DPL Datapool'.
See Also:
doSwitch(EObject)
Generated

caseDPLEquivalenceClass

public T caseDPLEquivalenceClass(DPLEquivalenceClass object)
Returns the result of interpreting the object as an instance of 'DPL Equivalence Class'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'DPL Equivalence Class'.
See Also:
doSwitch(EObject)
Generated

caseDPLRecord

public T caseDPLRecord(DPLRecord object)
Returns the result of interpreting the object as an instance of 'DPL Record'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'DPL Record'.
See Also:
doSwitch(EObject)
Generated

caseDPLCell

public T caseDPLCell(DPLCell object)
Returns the result of interpreting the object as an instance of 'DPL Cell'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'DPL Cell'.
See Also:
doSwitch(EObject)
Generated

caseDPLVariable

public T caseDPLVariable(DPLVariable object)
Returns the result of interpreting the object as an instance of 'DPL Variable'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'DPL Variable'.
See Also:
doSwitch(EObject)
Generated

caseCMNNamedElement

public T caseCMNNamedElement(CMNNamedElement object)
Returns the result of interpreting the object as an instance of 'CMN Named Element'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CMN Named Element'.
See Also:
doSwitch(EObject)
Generated

caseCFGClass

public T caseCFGClass(CFGClass object)
Returns the result of interpreting the object as an instance of 'CFG Class'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CFG Class'.
See Also:
doSwitch(EObject)
Generated

defaultCase

public T defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'. This implementation returns null; returning a non-null result will terminate the switch, but this is the last case anyway.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'EObject'.
See Also:
doSwitch(org.eclipse.emf.ecore.EObject)
Generated

TPTP 4.6.0 Platform Project
Public API Specification