|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sei.aadl.aadl2.instance.util.InstanceSwitch<T>
public class InstanceSwitch<T>
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 | |
---|---|
protected static InstancePackage |
modelPackage
The cached model package |
Constructor Summary | |
---|---|
InstanceSwitch()
Creates an instance of the switch |
Method Summary | |
---|---|
T |
caseClassifierFeature(ClassifierFeature object)
Returns the result of interpreting the object as an instance of 'Classifier Feature' |
T |
caseComponentInstance(ComponentInstance object)
Returns the result of interpreting the object as an instance of 'Component Instance' |
T |
caseConnectionInstance(ConnectionInstance object)
Returns the result of interpreting the object as an instance of 'Connection Instance' |
T |
caseConnectionInstanceEnd(ConnectionInstanceEnd object)
Returns the result of interpreting the object as an instance of 'Connection Instance End' |
T |
caseConnectionReference(ConnectionReference object)
Returns the result of interpreting the object as an instance of 'Connection Reference' |
T |
caseElement(Element object)
Returns the result of interpreting the object as an instance of 'Element' |
T |
caseEndToEndFlowInstance(EndToEndFlowInstance object)
Returns the result of interpreting the object as an instance of 'End To End Flow Instance' |
T |
caseFeatureInstance(FeatureInstance object)
Returns the result of interpreting the object as an instance of 'Feature Instance' |
T |
caseFlowElementInstance(FlowElementInstance object)
Returns the result of interpreting the object as an instance of 'Flow Element Instance' |
T |
caseFlowSpecificationInstance(FlowSpecificationInstance object)
Returns the result of interpreting the object as an instance of 'Flow Specification Instance' |
T |
caseInstanceObject(InstanceObject object)
Returns the result of interpreting the object as an instance of 'Object' |
T |
caseInstanceReferenceValue(InstanceReferenceValue object)
Returns the result of interpreting the object as an instance of 'Reference Value' |
T |
caseMode(Mode object)
Returns the result of interpreting the object as an instance of 'Mode' |
T |
caseModeFeature(ModeFeature object)
Returns the result of interpreting the object as an instance of 'Mode Feature' |
T |
caseModeInstance(ModeInstance object)
Returns the result of interpreting the object as an instance of 'Mode Instance' |
T |
caseModeTransitionInstance(ModeTransitionInstance object)
Returns the result of interpreting the object as an instance of 'Mode Transition Instance' |
T |
caseNamedElement(NamedElement object)
Returns the result of interpreting the object as an instance of 'Named Element' |
T |
casePropertyExpression(PropertyExpression object)
Returns the result of interpreting the object as an instance of 'Property Expression' |
T |
casePropertyValue(PropertyValue object)
Returns the result of interpreting the object as an instance of 'Property Value' |
T |
caseSystemInstance(SystemInstance object)
Returns the result of interpreting the object as an instance of 'System Instance' |
T |
caseSystemOperationMode(SystemOperationMode object)
Returns the result of interpreting the object as an instance of 'System Operation Mode' |
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject' |
protected T |
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 |
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 |
protected T |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static InstancePackage modelPackage
Constructor Detail |
---|
public InstanceSwitch()
Method Detail |
---|
public T 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 T 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 T 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 T caseFeatureInstance(FeatureInstance object)
object
- the target of the switch.
doSwitch(EObject)
public T caseInstanceObject(InstanceObject object)
object
- the target of the switch.
doSwitch(EObject)
public T caseConnectionInstanceEnd(ConnectionInstanceEnd object)
object
- the target of the switch.
doSwitch(EObject)
public T caseConnectionInstance(ConnectionInstance object)
object
- the target of the switch.
doSwitch(EObject)
public T caseFlowElementInstance(FlowElementInstance object)
object
- the target of the switch.
doSwitch(EObject)
public T caseSystemOperationMode(SystemOperationMode object)
object
- the target of the switch.
doSwitch(EObject)
public T caseModeInstance(ModeInstance object)
object
- the target of the switch.
doSwitch(EObject)
public T caseModeTransitionInstance(ModeTransitionInstance object)
object
- the target of the switch.
doSwitch(EObject)
public T caseConnectionReference(ConnectionReference object)
object
- the target of the switch.
doSwitch(EObject)
public T caseComponentInstance(ComponentInstance object)
object
- the target of the switch.
doSwitch(EObject)
public T caseFlowSpecificationInstance(FlowSpecificationInstance object)
object
- the target of the switch.
doSwitch(EObject)
public T caseEndToEndFlowInstance(EndToEndFlowInstance object)
object
- the target of the switch.
doSwitch(EObject)
public T caseSystemInstance(SystemInstance object)
object
- the target of the switch.
doSwitch(EObject)
public T caseInstanceReferenceValue(InstanceReferenceValue object)
object
- the target of the switch.
doSwitch(EObject)
public T caseElement(Element object)
object
- the target of the switch.
doSwitch(EObject)
public T caseNamedElement(NamedElement object)
object
- the target of the switch.
doSwitch(EObject)
public T caseClassifierFeature(ClassifierFeature object)
object
- the target of the switch.
doSwitch(EObject)
public T caseModeFeature(ModeFeature object)
object
- the target of the switch.
doSwitch(EObject)
public T caseMode(Mode object)
object
- the target of the switch.
doSwitch(EObject)
public T casePropertyExpression(PropertyExpression object)
object
- the target of the switch.
doSwitch(EObject)
public T casePropertyValue(PropertyValue object)
object
- the target of the switch.
doSwitch(EObject)
public T defaultCase(org.eclipse.emf.ecore.EObject object)
object
- the target of the switch.
doSwitch(org.eclipse.emf.ecore.EObject)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |