public class ComponentRepositorySwitch<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.
ComponentRepositoryPackage
Constructor and Description |
---|
ComponentRepositorySwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
T |
caseBistableCylinder(BistableCylinder object)
Returns the result of interpreting the object as an instance of 'Bistable Cylinder'.
|
T |
caseBottleSeperator(BottleSeperator object)
Returns the result of interpreting the object as an instance of 'Bottle Seperator'.
|
T |
caseCable(Cable object)
Returns the result of interpreting the object as an instance of 'Cable'.
|
T |
caseComponent(Component object)
Returns the result of interpreting the object as an instance of 'Component'.
|
T |
caseComponentRepository(ComponentRepository object)
Returns the result of interpreting the object as an instance of 'Component Repository'.
|
T |
caseCompressor(Compressor object)
Returns the result of interpreting the object as an instance of 'Compressor'.
|
T |
caseController(Controller object)
Returns the result of interpreting the object as an instance of 'Controller'.
|
T |
caseConveyorBelt(ConveyorBelt object)
Returns the result of interpreting the object as an instance of 'Conveyor Belt'.
|
T |
caseCorner(Corner object)
Returns the result of interpreting the object as an instance of 'Corner'.
|
T |
caseCylinder(Cylinder object)
Returns the result of interpreting the object as an instance of 'Cylinder'.
|
T |
caseCylinderPart(CylinderPart object)
Returns the result of interpreting the object as an instance of 'Cylinder Part'.
|
T |
caseDispenser(Dispenser object)
Returns the result of interpreting the object as an instance of 'Dispenser'.
|
T |
caseElectronicPart(ElectronicPart object)
Returns the result of interpreting the object as an instance of 'Electronic Part'.
|
T |
caseFrame(Frame object)
Returns the result of interpreting the object as an instance of 'Frame'.
|
T |
caseIdentifier(Identifier object)
Returns the result of interpreting the object as an instance of 'Identifier'.
|
T |
caseInductiveSensor(InductiveSensor object)
Returns the result of interpreting the object as an instance of 'Inductive Sensor'.
|
T |
caseInterface(Interface object)
Returns the result of interpreting the object as an instance of 'Interface'.
|
T |
caseLogicalWiring(LogicalWiring object)
Returns the result of interpreting the object as an instance of 'Logical Wiring'.
|
T |
caseMechanicalAssembly(MechanicalAssembly object)
Returns the result of interpreting the object as an instance of 'Mechanical Assembly'.
|
T |
caseMechanicalPart(MechanicalPart object)
Returns the result of interpreting the object as an instance of 'Mechanical Part'.
|
T |
caseMicroswitchModule(MicroswitchModule object)
Returns the result of interpreting the object as an instance of 'Microswitch Module'.
|
T |
caseMonostableCylinder(MonostableCylinder object)
Returns the result of interpreting the object as an instance of 'Monostable Cylinder'.
|
T |
caseMotor(Motor object)
Returns the result of interpreting the object as an instance of 'Motor'.
|
T |
caseOperationPanel(OperationPanel object)
Returns the result of interpreting the object as an instance of 'Operation Panel'.
|
T |
caseOpticalSensor(OpticalSensor object)
Returns the result of interpreting the object as an instance of 'Optical Sensor'.
|
T |
casePanel(Panel object)
Returns the result of interpreting the object as an instance of 'Panel'.
|
T |
casePipe(Pipe object)
Returns the result of interpreting the object as an instance of 'Pipe'.
|
T |
casePneumaticPipe(PneumaticPipe object)
Returns the result of interpreting the object as an instance of 'Pneumatic Pipe'.
|
T |
casePneumaticSplitter(PneumaticSplitter object)
Returns the result of interpreting the object as an instance of 'Pneumatic Splitter'.
|
T |
casePotentiometer(Potentiometer object)
Returns the result of interpreting the object as an instance of 'Potentiometer'.
|
T |
casePowerCable(PowerCable object)
Returns the result of interpreting the object as an instance of 'Power Cable'.
|
T |
casePowerSplitter(PowerSplitter object)
Returns the result of interpreting the object as an instance of 'Power Splitter'.
|
T |
casePowerSupply(PowerSupply object)
Returns the result of interpreting the object as an instance of 'Power Supply'.
|
T |
casePresenceSensor(PresenceSensor object)
Returns the result of interpreting the object as an instance of 'Presence Sensor'.
|
T |
caseProportionalCylinder(ProportionalCylinder object)
Returns the result of interpreting the object as an instance of 'Proportional Cylinder'.
|
T |
casePusher(Pusher object)
Returns the result of interpreting the object as an instance of 'Pusher'.
|
T |
caseRack(Rack object)
Returns the result of interpreting the object as an instance of 'Rack'.
|
T |
caseRamp(Ramp object)
Returns the result of interpreting the object as an instance of 'Ramp'.
|
T |
caseReedSwitch(ReedSwitch object)
Returns the result of interpreting the object as an instance of 'Reed Switch'.
|
T |
caseRegularRamp(RegularRamp object)
Returns the result of interpreting the object as an instance of 'Regular Ramp'.
|
T |
caseRegularValve(RegularValve object)
Returns the result of interpreting the object as an instance of 'Regular Valve'.
|
T |
caseSensor(Sensor object)
Returns the result of interpreting the object as an instance of 'Sensor'.
|
T |
caseSimpleMotor(SimpleMotor object)
Returns the result of interpreting the object as an instance of 'Simple Motor'.
|
T |
caseSplitter(Splitter object)
Returns the result of interpreting the object as an instance of 'Splitter'.
|
T |
caseSwitch(Switch object)
Returns the result of interpreting the object as an instance of 'Switch'.
|
T |
caseTank(Tank object)
Returns the result of interpreting the object as an instance of 'Tank'.
|
T |
caseTurningTable(TurningTable object)
Returns the result of interpreting the object as an instance of 'Turning Table'.
|
T |
caseVacuumGripper(VacuumGripper object)
Returns the result of interpreting the object as an instance of 'Vacuum Gripper'.
|
T |
caseVacuumSwitch(VacuumSwitch object)
Returns the result of interpreting the object as an instance of 'Vacuum Switch'.
|
T |
caseValve(Valve object)
Returns the result of interpreting the object as an instance of 'Valve'.
|
T |
caseWaterSplitter(WaterSplitter object)
Returns the result of interpreting the object as an instance of 'Water Splitter'.
|
T |
defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
public ComponentRepositorySwitch()
public T caseComponent(Component object)
object
- the target of the switch.doSwitch(EObject)
public T casePanel(Panel object)
object
- the target of the switch.doSwitch(EObject)
public T caseOperationPanel(OperationPanel object)
object
- the target of the switch.doSwitch(EObject)
public T caseMotor(Motor object)
object
- the target of the switch.doSwitch(EObject)
public T caseSimpleMotor(SimpleMotor object)
object
- the target of the switch.doSwitch(EObject)
public T caseMechanicalAssembly(MechanicalAssembly object)
object
- the target of the switch.doSwitch(EObject)
public T caseRegularRamp(RegularRamp object)
object
- the target of the switch.doSwitch(EObject)
public T caseSensor(Sensor object)
object
- the target of the switch.doSwitch(EObject)
public T caseOpticalSensor(OpticalSensor object)
object
- the target of the switch.doSwitch(EObject)
public T caseInductiveSensor(InductiveSensor object)
object
- the target of the switch.doSwitch(EObject)
public T casePresenceSensor(PresenceSensor object)
object
- the target of the switch.doSwitch(EObject)
public T casePipe(Pipe object)
object
- the target of the switch.doSwitch(EObject)
public T casePneumaticPipe(PneumaticPipe object)
object
- the target of the switch.doSwitch(EObject)
public T caseCompressor(Compressor object)
object
- the target of the switch.doSwitch(EObject)
public T caseCable(Cable object)
object
- the target of the switch.doSwitch(EObject)
public T casePowerCable(PowerCable object)
object
- the target of the switch.doSwitch(EObject)
public T caseCylinder(Cylinder object)
object
- the target of the switch.doSwitch(EObject)
public T caseProportionalCylinder(ProportionalCylinder object)
object
- the target of the switch.doSwitch(EObject)
public T caseBistableCylinder(BistableCylinder object)
object
- the target of the switch.doSwitch(EObject)
public T caseRack(Rack object)
object
- the target of the switch.doSwitch(EObject)
public T caseCorner(Corner object)
object
- the target of the switch.doSwitch(EObject)
public T caseValve(Valve object)
object
- the target of the switch.doSwitch(EObject)
public T caseRegularValve(RegularValve object)
object
- the target of the switch.doSwitch(EObject)
public T caseTank(Tank object)
object
- the target of the switch.doSwitch(EObject)
public T caseDispenser(Dispenser object)
object
- the target of the switch.doSwitch(EObject)
public T caseBottleSeperator(BottleSeperator object)
object
- the target of the switch.doSwitch(EObject)
public T caseSplitter(Splitter object)
object
- the target of the switch.doSwitch(EObject)
public T casePowerSupply(PowerSupply object)
object
- the target of the switch.doSwitch(EObject)
public T caseVacuumGripper(VacuumGripper object)
object
- the target of the switch.doSwitch(EObject)
public T caseConveyorBelt(ConveyorBelt object)
object
- the target of the switch.doSwitch(EObject)
public T caseFrame(Frame object)
object
- the target of the switch.doSwitch(EObject)
public T casePusher(Pusher object)
object
- the target of the switch.doSwitch(EObject)
public T caseTurningTable(TurningTable object)
object
- the target of the switch.doSwitch(EObject)
public T caseController(Controller object)
object
- the target of the switch.doSwitch(EObject)
public T caseLogicalWiring(LogicalWiring object)
object
- the target of the switch.doSwitch(EObject)
public T caseMicroswitchModule(MicroswitchModule object)
object
- the target of the switch.doSwitch(EObject)
public T casePotentiometer(Potentiometer object)
object
- the target of the switch.doSwitch(EObject)
public T caseVacuumSwitch(VacuumSwitch object)
object
- the target of the switch.doSwitch(EObject)
public T caseReedSwitch(ReedSwitch object)
object
- the target of the switch.doSwitch(EObject)
public T casePowerSplitter(PowerSplitter object)
object
- the target of the switch.doSwitch(EObject)
public T caseWaterSplitter(WaterSplitter object)
object
- the target of the switch.doSwitch(EObject)
public T casePneumaticSplitter(PneumaticSplitter object)
object
- the target of the switch.doSwitch(EObject)
public T caseCylinderPart(CylinderPart object)
object
- the target of the switch.doSwitch(EObject)
public T caseMonostableCylinder(MonostableCylinder object)
object
- the target of the switch.doSwitch(EObject)
public T caseComponentRepository(ComponentRepository object)
object
- the target of the switch.doSwitch(EObject)
public T caseIdentifier(Identifier object)
object
- the target of the switch.doSwitch(EObject)
public T caseRamp(Ramp object)
object
- the target of the switch.doSwitch(EObject)
public T caseInterface(Interface object)
object
- the target of the switch.doSwitch(EObject)
public T caseElectronicPart(ElectronicPart object)
object
- the target of the switch.doSwitch(EObject)
public T caseSwitch(Switch object)
object
- the target of the switch.doSwitch(EObject)
public T caseMechanicalPart(MechanicalPart 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)