public class StructureRepositorySwitch<T> extends 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.
StructureRepositoryPackage
Constructor and Description |
---|
StructureRepositorySwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
T |
caseCommunicationNetwork(CommunicationNetwork object)
Returns the result of interpreting the object as an instance of 'Communication Network'.
|
T |
caseControlCabinet(ControlCabinet object)
Returns the result of interpreting the object as an instance of 'Control Cabinet'.
|
T |
caseConveyor(Conveyor object)
Returns the result of interpreting the object as an instance of 'Conveyor'.
|
T |
caseCrane(Crane object)
Returns the result of interpreting the object as an instance of 'Crane'.
|
T |
caseIdentifier(Identifier object)
Returns the result of interpreting the object as an instance of 'Identifier'.
|
T |
casePneumaticNetwork(PneumaticNetwork object)
Returns the result of interpreting the object as an instance of 'Pneumatic Network'.
|
T |
casePowerNetwork(PowerNetwork object)
Returns the result of interpreting the object as an instance of 'Power Network'.
|
T |
casePowerWiring(PowerWiring object)
Returns the result of interpreting the object as an instance of 'Power Wiring'.
|
T |
caseStructure(Structure object)
Returns the result of interpreting the object as an instance of 'Structure'.
|
T |
defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
public StructureRepositorySwitch()
public T caseStructure(Structure object)
object
- the target of the switch.doSwitch(EObject)
public T caseCommunicationNetwork(CommunicationNetwork object)
object
- the target of the switch.doSwitch(EObject)
public T casePowerNetwork(PowerNetwork object)
object
- the target of the switch.doSwitch(EObject)
public T caseControlCabinet(ControlCabinet object)
object
- the target of the switch.doSwitch(EObject)
public T casePneumaticNetwork(PneumaticNetwork object)
object
- the target of the switch.doSwitch(EObject)
public T caseConveyor(Conveyor object)
object
- the target of the switch.doSwitch(EObject)
public T caseCrane(Crane object)
object
- the target of the switch.doSwitch(EObject)
public T casePowerWiring(PowerWiring object)
object
- the target of the switch.doSwitch(EObject)
public T caseIdentifier(Identifier object)
object
- the target of the switch.doSwitch(EObject)
public T defaultCase(EObject object)
defaultCase
in class Switch<T>
object
- the target of the switch.Switch.doSwitch(org.eclipse.emf.ecore.EObject)