public class InstanceSwitch<T>
extends org.eclipse.emf.ecore.util.Switch<T>
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
Constructor and Description |
---|
InstanceSwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
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'.
|
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.java.lang.InstantiationException
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)
defaultCase
in class org.eclipse.emf.ecore.util.Switch<T>
object
- the target of the switch.Switch.doSwitch(org.eclipse.emf.ecore.EObject)