public class FlaxmlSwitch<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.
FlaxmlPackage
Constructor and Description |
---|
FlaxmlSwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
T |
caseComponent(Component object)
Returns the result of interpreting the object as an instance of 'Component'.
|
T |
caseComponents(Components object)
Returns the result of interpreting the object as an instance of 'Components'.
|
T |
caseCompositeComponent(CompositeComponent object)
Returns the result of interpreting the object as an instance of 'Composite Component'.
|
T |
caseConnection(Connection object)
Returns the result of interpreting the object as an instance of 'Connection'.
|
T |
caseConnections(Connections object)
Returns the result of interpreting the object as an instance of 'Connections'.
|
T |
caseDocumentRoot(DocumentRoot object)
Returns the result of interpreting the object as an instance of 'Document Root'.
|
T |
caseFailure(Failure object)
Returns the result of interpreting the object as an instance of 'Failure'.
|
T |
caseFptcRules(FptcRules object)
Returns the result of interpreting the object as an instance of 'Fptc Rules'.
|
T |
caseInputPort(InputPort object)
Returns the result of interpreting the object as an instance of 'Input Port'.
|
T |
caseInputPorts(InputPorts object)
Returns the result of interpreting the object as an instance of 'Input Ports'.
|
T |
caseNamedElement(NamedElement object)
Returns the result of interpreting the object as an instance of 'Named Element'.
|
T |
caseOutputPort(OutputPort object)
Returns the result of interpreting the object as an instance of 'Output Port'.
|
T |
caseOutputPorts(OutputPorts object)
Returns the result of interpreting the object as an instance of 'Output Ports'.
|
T |
caseRuleString(RuleString object)
Returns the result of interpreting the object as an instance of 'Rule String'.
|
T |
caseSimpleComponent(SimpleComponent object)
Returns the result of interpreting the object as an instance of 'Simple Component'.
|
T |
caseSystem(System object)
Returns the result of interpreting the object as an instance of 'System'.
|
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
public T caseComponent(Component object)
object
- the target of the switch.doSwitch(EObject)
public T caseComponents(Components object)
object
- the target of the switch.doSwitch(EObject)
public T caseCompositeComponent(CompositeComponent object)
object
- the target of the switch.doSwitch(EObject)
public T caseConnection(Connection object)
object
- the target of the switch.doSwitch(EObject)
public T caseConnections(Connections object)
object
- the target of the switch.doSwitch(EObject)
public T caseDocumentRoot(DocumentRoot object)
object
- the target of the switch.doSwitch(EObject)
public T caseFailure(Failure object)
object
- the target of the switch.doSwitch(EObject)
public T caseFptcRules(FptcRules object)
object
- the target of the switch.doSwitch(EObject)
public T caseInputPort(InputPort object)
object
- the target of the switch.doSwitch(EObject)
public T caseInputPorts(InputPorts object)
object
- the target of the switch.doSwitch(EObject)
public T caseNamedElement(NamedElement object)
object
- the target of the switch.doSwitch(EObject)
public T caseOutputPort(OutputPort object)
object
- the target of the switch.doSwitch(EObject)
public T caseOutputPorts(OutputPorts object)
object
- the target of the switch.doSwitch(EObject)
public T caseRuleString(RuleString object)
object
- the target of the switch.doSwitch(EObject)
public T caseSimpleComponent(SimpleComponent object)
object
- the target of the switch.doSwitch(EObject)
public T caseSystem(System 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)