Modelers

org.topcased.modeler.graphconf.util
Class GraphconfSwitch

java.lang.Object
  extended by org.topcased.modeler.graphconf.util.GraphconfSwitch

public class GraphconfSwitch
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:
GraphconfPackage
** Generated **

Field Summary
protected static GraphconfPackage modelPackage
          The cached model package
 
Constructor Summary
GraphconfSwitch()
          Creates an instance of the switch.
 
Method Summary
 java.lang.Object caseAbstractGraphConf(AbstractGraphConf object)
          Returns the result of interpretting the object as an instance of 'Abstract Graph Conf'.
 java.lang.Object caseBridge(Bridge object)
          Returns the result of interpretting the object as an instance of 'Bridge'.
 java.lang.Object caseConstraint(Constraint object)
          Returns the result of interpretting the object as an instance of 'Constraint'.
 java.lang.Object caseDiagramGraphConf(DiagramGraphConf object)
          Returns the result of interpretting the object as an instance of 'Diagram Graph Conf'.
 java.lang.Object caseEdgeGraphConf(EdgeGraphConf object)
          Returns the result of interpretting the object as an instance of 'Edge Graph Conf'.
 java.lang.Object caseEMFBridge(EMFBridge object)
          Returns the result of interpretting the object as an instance of 'EMF Bridge'.
 java.lang.Object caseNodeGraphConf(NodeGraphConf object)
          Returns the result of interpretting the object as an instance of 'Node Graph Conf'.
 java.lang.Object caseStringBridge(StringBridge object)
          Returns the result of interpretting the object as an instance of 'String Bridge'.
 java.lang.Object defaultCase(EObject object)
          Returns the result of interpretting the object as an instance of 'EObject'.
protected  java.lang.Object doSwitch(EClass theEClass, EObject theEObject)
          Calls caseXXX for each class of the model until one returns a non null result; it yields that result.
 java.lang.Object doSwitch(EObject theEObject)
          Calls caseXXX for each class of the model until one returns a non null result; it yields that result.
protected  java.lang.Object doSwitch(int classifierID, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

modelPackage

protected static GraphconfPackage modelPackage
The cached model package

** Generated **
Constructor Detail

GraphconfSwitch

public GraphconfSwitch()
Creates an instance of the switch.

** Generated **
Method Detail

doSwitch

public java.lang.Object doSwitch(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 **

doSwitch

protected java.lang.Object doSwitch(EClass theEClass,
                                    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 **

doSwitch

protected java.lang.Object doSwitch(int classifierID,
                                    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 **

caseAbstractGraphConf

public java.lang.Object caseAbstractGraphConf(AbstractGraphConf object)
Returns the result of interpretting the object as an instance of 'Abstract Graph Conf'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Abstract Graph Conf'.
See Also:
doSwitch(EObject)
** Generated **

caseDiagramGraphConf

public java.lang.Object caseDiagramGraphConf(DiagramGraphConf object)
Returns the result of interpretting the object as an instance of 'Diagram Graph Conf'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Diagram Graph Conf'.
See Also:
doSwitch(EObject)
** Generated **

caseNodeGraphConf

public java.lang.Object caseNodeGraphConf(NodeGraphConf object)
Returns the result of interpretting the object as an instance of 'Node Graph Conf'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Node Graph Conf'.
See Also:
doSwitch(EObject)
** Generated **

caseEdgeGraphConf

public java.lang.Object caseEdgeGraphConf(EdgeGraphConf object)
Returns the result of interpretting the object as an instance of 'Edge Graph Conf'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Edge Graph Conf'.
See Also:
doSwitch(EObject)
** Generated **

caseBridge

public java.lang.Object caseBridge(Bridge object)
Returns the result of interpretting the object as an instance of 'Bridge'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Bridge'.
See Also:
doSwitch(EObject)
** Generated **

caseEMFBridge

public java.lang.Object caseEMFBridge(EMFBridge object)
Returns the result of interpretting the object as an instance of 'EMF Bridge'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'EMF Bridge'.
See Also:
doSwitch(EObject)
** Generated **

caseStringBridge

public java.lang.Object caseStringBridge(StringBridge object)
Returns the result of interpretting the object as an instance of 'String Bridge'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'String Bridge'.
See Also:
doSwitch(EObject)
** Generated **

caseConstraint

public java.lang.Object caseConstraint(Constraint object)
Returns the result of interpretting the object as an instance of 'Constraint'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Constraint'.
See Also:
doSwitch(EObject)
** Generated **

defaultCase

public java.lang.Object defaultCase(EObject object)
Returns the result of interpretting 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 interpretting the object as an instance of 'EObject'.
See Also:
doSwitch(org.eclipse.emf.ecore.EObject)
** Generated **

Modelers

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.