public class TOSDeviceSwitch<T>
extends <any>
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.
TOSDevicePackage| Modifier and Type | Field and Description |
|---|---|
protected static TOSDevicePackage |
modelPackage
The cached model package
|
| Constructor and Description |
|---|
TOSDeviceSwitch()
Creates an instance of the switch.
|
| Modifier and Type | Method and Description |
|---|---|
T |
caseAbstractDataEntry(AbstractDataEntry object)
Returns the result of interpreting the object as an instance of 'Abstract Data Entry'.
|
T |
caseAbstractTimeTableEntry(AbstractTimeTableEntry object)
Returns the result of interpreting the object as an instance of 'Abstract Time Table Entry'.
|
T |
caseAddressLocation(AddressLocation object)
Returns the result of interpreting the object as an instance of 'Address Location'.
|
T |
caseCacheDataEntry(CacheDataEntry object)
Returns the result of interpreting the object as an instance of 'Cache Data Entry'.
|
T |
caseClearArea(ClearArea object)
Returns the result of interpreting the object as an instance of 'Clear Area'.
|
T |
caseConflictingLane(ConflictingLane object)
Returns the result of interpreting the object as an instance of 'Conflicting Lane'.
|
T |
caseCycleLane(CycleLane object)
Returns the result of interpreting the object as an instance of 'Cycle Lane'.
|
T |
caseDataEntry(DataEntry object)
Returns the result of interpreting the object as an instance of 'Data Entry'.
|
T |
caseDataValue(DataValue object)
Returns the result of interpreting the object as an instance of 'Data Value'.
|
T |
caseDevice(Device object)
Returns the result of interpreting the object as an instance of 'Device'.
|
T |
caseDeviceConfiguration(DeviceConfiguration object)
Returns the result of interpreting the object as an instance of 'Device Configuration'.
|
T |
caseDeviceGroup(DeviceGroup object)
Returns the result of interpreting the object as an instance of 'Device Group'.
|
T |
caseDeviceInfo(DeviceInfo object)
Returns the result of interpreting the object as an instance of 'Device Info'.
|
T |
caseHardwareConfiguration(HardwareConfiguration object)
Returns the result of interpreting the object as an instance of 'Hardware Configuration'.
|
T |
caseIdNameElement(IdNameElement object)
Returns the result of interpreting the object as an instance of 'Id Name Element'.
|
T |
caseIncomingLane(IncomingLane object)
Returns the result of interpreting the object as an instance of 'Incoming Lane'.
|
T |
caseIntersection(Intersection object)
Returns the result of interpreting the object as an instance of 'Intersection'.
|
T |
caseLane(Lane object)
Returns the result of interpreting the object as an instance of 'Lane'.
|
T |
caseLink(Link object)
Returns the result of interpreting the object as an instance of 'Link'.
|
T |
caseLocalizable(Localizable object)
Returns the result of interpreting the object as an instance of 'Localizable'.
|
T |
caseLocation(Location object)
Returns the result of interpreting the object as an instance of 'Location'.
|
T |
caseNetworkLocation(NetworkLocation object)
Returns the result of interpreting the object as an instance of 'Network Location'.
|
T |
caseOutgoingLane(OutgoingLane object)
Returns the result of interpreting the object as an instance of 'Outgoing Lane'.
|
T |
caseOutPinConfiguration(OutPinConfiguration object)
Returns the result of interpreting the object as an instance of 'Out Pin Configuration'.
|
T |
caseOutput(Output object)
Returns the result of interpreting the object as an instance of 'Output'.
|
T |
caseOutputConfiguration(OutputConfiguration object)
Returns the result of interpreting the object as an instance of 'Output Configuration'.
|
T |
caseParameter(Parameter object)
Returns the result of interpreting the object as an instance of 'Parameter'.
|
T |
casePedestrianLane(PedestrianLane object)
Returns the result of interpreting the object as an instance of 'Pedestrian Lane'.
|
T |
casePhase(Phase object)
Returns the result of interpreting the object as an instance of 'Phase'.
|
T |
casePhaseGroup(PhaseGroup object)
Returns the result of interpreting the object as an instance of 'Phase Group'.
|
T |
casePosition(Position object)
Returns the result of interpreting the object as an instance of 'Position'.
|
T |
caseProgram(Program object)
Returns the result of interpreting the object as an instance of 'Program'.
|
T |
caseProgramEntry(ProgramEntry object)
Returns the result of interpreting the object as an instance of 'Program Entry'.
|
T |
caseProgramTransition(ProgramTransition object)
Returns the result of interpreting the object as an instance of 'Program Transition'.
|
T |
casePublicTransportConfiguration(PublicTransportConfiguration object)
Returns the result of interpreting the object as an instance of 'Public Transport Configuration'.
|
T |
casePublicTransportDataEntry(PublicTransportDataEntry object)
Returns the result of interpreting the object as an instance of 'Public Transport Data Entry'.
|
T |
casePublicTransportDataValue(PublicTransportDataValue object)
Returns the result of interpreting the object as an instance of 'Public Transport Data Value'.
|
T |
casePublicTransportDataValueObject(PublicTransportDataValueObject object)
Returns the result of interpreting the object as an instance of 'Public Transport Data Value Object'.
|
T |
casePublicTransportDoorChange(PublicTransportDoorChange object)
Returns the result of interpreting the object as an instance of 'Public Transport Door Change'.
|
T |
casePublicTransportLane(PublicTransportLane object)
Returns the result of interpreting the object as an instance of 'Public Transport Lane'.
|
T |
casePublicTransportLine(PublicTransportLine object)
Returns the result of interpreting the object as an instance of 'Public Transport Line'.
|
T |
casePublicTransportLocMsg(PublicTransportLocMsg object)
Returns the result of interpreting the object as an instance of 'Public Transport Loc Msg'.
|
T |
casePublicTransportPosition(PublicTransportPosition object)
Returns the result of interpreting the object as an instance of 'Public Transport Position'.
|
T |
casePublicTransportProgram(PublicTransportProgram object)
Returns the result of interpreting the object as an instance of 'Public Transport Program'.
|
T |
casePublicTransportStation(PublicTransportStation object)
Returns the result of interpreting the object as an instance of 'Public Transport Station'.
|
T |
casePublicTransportStop(PublicTransportStop object)
Returns the result of interpreting the object as an instance of 'Public Transport Stop'.
|
T |
casePublicTransportTelegram(PublicTransportTelegram object)
Returns the result of interpreting the object as an instance of 'Public Transport Telegram'.
|
T |
casePublicTransportTimeTable(PublicTransportTimeTable object)
Returns the result of interpreting the object as an instance of 'Public Transport Time Table'.
|
T |
casePublicTransportTimeTableEntry(PublicTransportTimeTableEntry object)
Returns the result of interpreting the object as an instance of 'Public Transport Time Table Entry'.
|
T |
caseRoad(Road object)
Returns the result of interpreting the object as an instance of 'Road'.
|
T |
caseSignalTable(SignalTable object)
Returns the result of interpreting the object as an instance of 'Signal Table'.
|
T |
caseSystemInfo(SystemInfo object)
Returns the result of interpreting the object as an instance of 'System Info'.
|
T |
caseTimeTable(TimeTable object)
Returns the result of interpreting the object as an instance of 'Time Table'.
|
T |
caseTimeTableEntry(TimeTableEntry object)
Returns the result of interpreting the object as an instance of 'Time Table Entry'.
|
T |
caseTransition(Transition object)
Returns the result of interpreting the object as an instance of 'Transition'.
|
T |
defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
protected T |
doSwitch(int classifierID,
EObject theEObject)
Calls
caseXXX for each class of the model until one returns a non null result; it yields that result. |
protected boolean |
isSwitchFor(EPackage ePackage)
Checks whether this is a switch for the given package.
|
protected static TOSDevicePackage modelPackage
protected boolean isSwitchFor(EPackage ePackage)
ePackage - the package in question.protected T doSwitch(int classifierID, EObject theEObject)
caseXXX for each class of the model until one returns a non null result; it yields that result.
caseXXX call.public T caseDeviceGroup(DeviceGroup object)
object - the target of the switch.doSwitch(EObject)public T caseDevice(Device object)
object - the target of the switch.doSwitch(EObject)public T caseSystemInfo(SystemInfo object)
object - the target of the switch.doSwitch(EObject)public T caseDeviceInfo(DeviceInfo object)
object - the target of the switch.doSwitch(EObject)public T caseDeviceConfiguration(DeviceConfiguration object)
object - the target of the switch.doSwitch(EObject)public T caseIntersection(Intersection object)
object - the target of the switch.doSwitch(EObject)public T caseRoad(Road object)
object - the target of the switch.doSwitch(EObject)public T caseLane(Lane object)
object - the target of the switch.doSwitch(EObject)public T caseConflictingLane(ConflictingLane object)
object - the target of the switch.doSwitch(EObject)public T caseIncomingLane(IncomingLane object)
object - the target of the switch.doSwitch(EObject)public T caseOutgoingLane(OutgoingLane object)
object - the target of the switch.doSwitch(EObject)public T casePedestrianLane(PedestrianLane object)
object - the target of the switch.doSwitch(EObject)public T caseLink(Link object)
object - the target of the switch.doSwitch(EObject)public T casePhase(Phase object)
object - the target of the switch.doSwitch(EObject)public T caseProgramEntry(ProgramEntry object)
object - the target of the switch.doSwitch(EObject)public T caseProgram(Program object)
object - the target of the switch.doSwitch(EObject)public T caseTransition(Transition object)
object - the target of the switch.doSwitch(EObject)public T caseProgramTransition(ProgramTransition object)
object - the target of the switch.doSwitch(EObject)public T caseClearArea(ClearArea object)
object - the target of the switch.doSwitch(EObject)public T casePhaseGroup(PhaseGroup object)
object - the target of the switch.doSwitch(EObject)public T caseIdNameElement(IdNameElement object)
object - the target of the switch.doSwitch(EObject)public T caseOutput(Output object)
object - the target of the switch.doSwitch(EObject)public T caseLocalizable(Localizable object)
object - the target of the switch.doSwitch(EObject)public T caseLocation(Location object)
object - the target of the switch.doSwitch(EObject)public T caseNetworkLocation(NetworkLocation object)
object - the target of the switch.doSwitch(EObject)public T casePosition(Position object)
object - the target of the switch.doSwitch(EObject)public T caseAddressLocation(AddressLocation object)
object - the target of the switch.doSwitch(EObject)public T caseTimeTable(TimeTable object)
object - the target of the switch.doSwitch(EObject)public T caseTimeTableEntry(TimeTableEntry object)
object - the target of the switch.doSwitch(EObject)public T caseDataEntry(DataEntry object)
object - the target of the switch.doSwitch(EObject)public T caseDataValue(DataValue object)
object - the target of the switch.doSwitch(EObject)public T caseParameter(Parameter object)
object - the target of the switch.doSwitch(EObject)public T caseCacheDataEntry(CacheDataEntry object)
object - the target of the switch.doSwitch(EObject)public T caseSignalTable(SignalTable object)
object - the target of the switch.doSwitch(EObject)public T caseHardwareConfiguration(HardwareConfiguration object)
object - the target of the switch.doSwitch(EObject)public T caseOutputConfiguration(OutputConfiguration object)
object - the target of the switch.doSwitch(EObject)public T caseOutPinConfiguration(OutPinConfiguration object)
object - the target of the switch.doSwitch(EObject)public T casePublicTransportLane(PublicTransportLane object)
object - the target of the switch.doSwitch(EObject)public T caseCycleLane(CycleLane object)
object - the target of the switch.doSwitch(EObject)public T caseAbstractDataEntry(AbstractDataEntry object)
object - the target of the switch.doSwitch(EObject)public T casePublicTransportStation(PublicTransportStation object)
object - the target of the switch.doSwitch(EObject)public T casePublicTransportTimeTable(PublicTransportTimeTable object)
object - the target of the switch.doSwitch(EObject)public T caseAbstractTimeTableEntry(AbstractTimeTableEntry object)
object - the target of the switch.doSwitch(EObject)public T casePublicTransportTimeTableEntry(PublicTransportTimeTableEntry object)
object - the target of the switch.doSwitch(EObject)public T casePublicTransportProgram(PublicTransportProgram object)
object - the target of the switch.doSwitch(EObject)public T casePublicTransportLine(PublicTransportLine object)
object - the target of the switch.doSwitch(EObject)public T casePublicTransportConfiguration(PublicTransportConfiguration object)
object - the target of the switch.doSwitch(EObject)public T casePublicTransportDataEntry(PublicTransportDataEntry object)
object - the target of the switch.doSwitch(EObject)public T casePublicTransportDataValue(PublicTransportDataValue object)
object - the target of the switch.doSwitch(EObject)public T casePublicTransportDataValueObject(PublicTransportDataValueObject object)
object - the target of the switch.doSwitch(EObject)public T casePublicTransportTelegram(PublicTransportTelegram object)
object - the target of the switch.doSwitch(EObject)public T casePublicTransportPosition(PublicTransportPosition object)
object - the target of the switch.doSwitch(EObject)public T casePublicTransportDoorChange(PublicTransportDoorChange object)
object - the target of the switch.doSwitch(EObject)public T casePublicTransportStop(PublicTransportStop object)
object - the target of the switch.doSwitch(EObject)public T casePublicTransportLocMsg(PublicTransportLocMsg object)
object - the target of the switch.doSwitch(EObject)public T defaultCase(EObject object)
object - the target of the switch.#doSwitch(org.eclipse.emf.ecore.EObject)Data In Motion Consuling GmbH - All rights reserved