|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sei.aadl.model.flow.util.FlowSwitch
public class FlowSwitch
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.
FlowPackage
Field Summary | |
---|---|
static java.lang.String |
copyright
|
static FlowSwitch |
INSTANCE
|
protected static FlowPackage |
modelPackage
The cached model package |
Constructor Summary | |
---|---|
FlowSwitch()
Creates an instance of the switch |
Method Summary | |
---|---|
java.lang.Object |
caseAObject(AObject object)
Returns the result of interpretting the object as an instance of 'AObject' |
java.lang.Object |
caseEndToEndFlow(EndToEndFlow object)
Returns the result of interpretting the object as an instance of 'End To End Flow' |
java.lang.Object |
caseFlowElement(FlowElement object)
Returns the result of interpretting the object as an instance of 'Element' |
java.lang.Object |
caseFlowImpl(FlowImpl object)
Returns the result of interpretting the object as an instance of 'Impl' |
java.lang.Object |
caseFlowPathImpl(FlowPathImpl object)
Returns the result of interpretting the object as an instance of 'Path Impl' |
java.lang.Object |
caseFlowPathSpec(FlowPathSpec object)
Returns the result of interpretting the object as an instance of 'Path Spec' |
java.lang.Object |
caseFlowPoint(FlowPoint object)
Returns the result of interpretting the object as an instance of 'Point' |
java.lang.Object |
caseFlows(Flows object)
Returns the result of interpretting the object as an instance of 'Flows' |
java.lang.Object |
caseFlowSequence(FlowSequence object)
Returns the result of interpretting the object as an instance of 'Sequence' |
java.lang.Object |
caseFlowSinkImpl(FlowSinkImpl object)
Returns the result of interpretting the object as an instance of 'Sink Impl' |
java.lang.Object |
caseFlowSinkSpec(FlowSinkSpec object)
Returns the result of interpretting the object as an instance of 'Sink Spec' |
java.lang.Object |
caseFlowSourceImpl(FlowSourceImpl object)
Returns the result of interpretting the object as an instance of 'Source Impl' |
java.lang.Object |
caseFlowSourceSpec(FlowSourceSpec object)
Returns the result of interpretting the object as an instance of 'Source Spec' |
java.lang.Object |
caseFlowSpec(FlowSpec object)
Returns the result of interpretting the object as an instance of 'Spec' |
java.lang.Object |
caseFlowSpecs(FlowSpecs object)
Returns the result of interpretting the object as an instance of 'Specs' |
java.lang.Object |
caseModeMember(ModeMember object)
Returns the result of interpretting the object as an instance of 'Mode Member' |
java.lang.Object |
caseNamedElement(NamedElement object)
Returns the result of interpretting the object as an instance of 'Named Element' |
java.lang.Object |
casePropertyHolder(PropertyHolder object)
Returns the result of interpretting the object as an instance of 'Property Holder' |
java.lang.Object |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpretting the object as an instance of 'EObject' |
protected java.lang.Object |
doSwitch(org.eclipse.emf.ecore.EClass theEClass,
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 |
java.lang.Object |
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 |
protected java.lang.Object |
doSwitch(int classifierID,
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 |
void |
setAadlProcessingSwitch(AadlProcessingSwitch cs)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String copyright
public static FlowSwitch INSTANCE
protected static FlowPackage modelPackage
Constructor Detail |
---|
public FlowSwitch()
Method Detail |
---|
public java.lang.Object doSwitch(org.eclipse.emf.ecore.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(org.eclipse.emf.ecore.EClass theEClass, org.eclipse.emf.ecore.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, org.eclipse.emf.ecore.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 caseFlowSpec(FlowSpec object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseFlows(Flows object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseFlowImpl(FlowImpl object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseFlowSpecs(FlowSpecs object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseFlowSequence(FlowSequence object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseEndToEndFlow(EndToEndFlow object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseFlowPoint(FlowPoint object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseFlowSourceSpec(FlowSourceSpec object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseFlowSinkSpec(FlowSinkSpec object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseFlowPathSpec(FlowPathSpec object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseFlowElement(FlowElement object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseFlowSourceImpl(FlowSourceImpl object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseFlowSinkImpl(FlowSinkImpl object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseFlowPathImpl(FlowPathImpl object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseAObject(AObject object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseNamedElement(NamedElement object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object casePropertyHolder(PropertyHolder object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseModeMember(ModeMember object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object defaultCase(org.eclipse.emf.ecore.EObject object)
object
- the target of the switch.
doSwitch(org.eclipse.emf.ecore.EObject)
public void setAadlProcessingSwitch(AadlProcessingSwitch cs)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |