|
Modelers | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.topcased.modeler.graphconf.util.GraphconfSwitch
public class GraphconfSwitch
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.
GraphconfPackage
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 |
---|
protected static GraphconfPackage modelPackage
Constructor Detail |
---|
public GraphconfSwitch()
Method Detail |
---|
public java.lang.Object doSwitch(EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that
result.
caseXXX
call.protected java.lang.Object doSwitch(EClass theEClass, EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that
result.
caseXXX
call.protected java.lang.Object doSwitch(int classifierID, EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that
result.
caseXXX
call.public java.lang.Object caseAbstractGraphConf(AbstractGraphConf object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDiagramGraphConf(DiagramGraphConf object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseNodeGraphConf(NodeGraphConf object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseEdgeGraphConf(EdgeGraphConf object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseBridge(Bridge object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseEMFBridge(EMFBridge object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseStringBridge(StringBridge object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseConstraint(Constraint object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object defaultCase(EObject object)
object
- the target of the switch.
doSwitch(org.eclipse.emf.ecore.EObject)
|
Modelers | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.