|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sei.aadl.model.instance.util.InstanceSwitch
public class InstanceSwitch
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.
InstancePackage
Field Summary | |
---|---|
static java.lang.String |
copyright
|
static InstanceSwitch |
INSTANCE
|
protected static InstancePackage |
modelPackage
The cached model package |
Constructor Summary | |
---|---|
InstanceSwitch()
Creates an instance of the switch |
Method Summary | |
---|---|
java.lang.Object |
caseAccessConnectionInstance(AccessConnectionInstance object)
Returns the result of interpretting the object as an instance of 'Access Connection Instance' |
java.lang.Object |
caseAObject(AObject object)
Returns the result of interpretting the object as an instance of 'AObject' |
java.lang.Object |
caseComponentInstance(ComponentInstance object)
Returns the result of interpretting the object as an instance of 'Component Instance' |
java.lang.Object |
caseConnectionInstance(ConnectionInstance object)
Returns the result of interpretting the object as an instance of 'Connection Instance' |
java.lang.Object |
caseEndToEndFlowInstance(EndToEndFlowInstance object)
Returns the result of interpretting the object as an instance of 'End To End Flow Instance' |
java.lang.Object |
caseFeatureInstance(FeatureInstance object)
Returns the result of interpretting the object as an instance of 'Feature Instance' |
java.lang.Object |
caseFlowElementInstance(FlowElementInstance object)
Returns the result of interpretting the object as an instance of 'Flow Element Instance' |
java.lang.Object |
caseFlowSpecInstance(FlowSpecInstance object)
Returns the result of interpretting the object as an instance of 'Flow Spec Instance' |
java.lang.Object |
caseInstanceObject(InstanceObject object)
Returns the result of interpretting the object as an instance of 'Object' |
java.lang.Object |
caseInstanceReferenceValue(InstanceReferenceValue object)
Returns the result of interpretting the object as an instance of 'Reference Value' |
java.lang.Object |
caseMode(Mode object)
Returns the result of interpretting the object as an instance of 'Mode' |
java.lang.Object |
caseModeInstance(ModeInstance object)
Returns the result of interpretting the object as an instance of 'Mode Instance' |
java.lang.Object |
caseModeTransitionConnectionInstance(ModeTransitionConnectionInstance object)
Returns the result of interpretting the object as an instance of 'Mode Transition Connection Instance' |
java.lang.Object |
caseModeTransitionInstance(ModeTransitionInstance object)
Returns the result of interpretting the object as an instance of 'Mode Transition Instance' |
java.lang.Object |
caseNamedElement(NamedElement object)
Returns the result of interpretting the object as an instance of 'Named Element' |
java.lang.Object |
casePortConnectionInstance(PortConnectionInstance object)
Returns the result of interpretting the object as an instance of 'Port Connection Instance' |
java.lang.Object |
casePropertyHolder(PropertyHolder object)
Returns the result of interpretting the object as an instance of 'Property Holder' |
java.lang.Object |
casePropertyValue(PropertyValue object)
Returns the result of interpretting the object as an instance of 'Value' |
java.lang.Object |
caseReferenceValue(ReferenceValue object)
Returns the result of interpretting the object as an instance of 'Reference Value' |
java.lang.Object |
caseSystemInstance(SystemInstance object)
Returns the result of interpretting the object as an instance of 'System Instance' |
java.lang.Object |
caseSystemInstanceConfiguration(SystemInstanceConfiguration object)
Returns the result of interpretting the object as an instance of 'System Instance Configuration' |
java.lang.Object |
caseSystemOperationMode(SystemOperationMode object)
Returns the result of interpretting the object as an instance of 'System Operation Mode' |
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 InstanceSwitch INSTANCE
protected static InstancePackage modelPackage
Constructor Detail |
---|
public InstanceSwitch()
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 caseFeatureInstance(FeatureInstance object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseConnectionInstance(ConnectionInstance object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseComponentInstance(ComponentInstance object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSystemInstance(SystemInstance object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseInstanceObject(InstanceObject object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object casePortConnectionInstance(PortConnectionInstance object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseAccessConnectionInstance(AccessConnectionInstance object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseModeTransitionConnectionInstance(ModeTransitionConnectionInstance object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseModeInstance(ModeInstance object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseModeTransitionInstance(ModeTransitionInstance object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseInstanceReferenceValue(InstanceReferenceValue object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSystemInstanceConfiguration(SystemInstanceConfiguration object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSystemOperationMode(SystemOperationMode object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseFlowSpecInstance(FlowSpecInstance object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseEndToEndFlowInstance(EndToEndFlowInstance object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseFlowElementInstance(FlowElementInstance 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 casePropertyValue(PropertyValue object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseReferenceValue(ReferenceValue object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseMode(Mode 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 |