public class IotmodelSwitch<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.
IotmodelPackage| Modifier and Type | Field and Description |
|---|---|
protected static IotmodelPackage |
modelPackage
The cached model package
|
| Constructor and Description |
|---|
IotmodelSwitch()
Creates an instance of the switch.
|
| Modifier and Type | Method and Description |
|---|---|
T |
caseAccessControlPolicy(AccessControlPolicy object)
Returns the result of interpreting the object as an instance of 'Access Control Policy'.
|
T |
caseAction(Action object)
Returns the result of interpreting the object as an instance of 'Action'.
|
T |
caseActor(Actor object)
Returns the result of interpreting the object as an instance of 'Actor'.
|
T |
caseActuator(Actuator object)
Returns the result of interpreting the object as an instance of 'Actuator'.
|
T |
caseAllowPermission(AllowPermission object)
Returns the result of interpreting the object as an instance of 'Allow Permission'.
|
T |
caseAppChannel(AppChannel object)
Returns the result of interpreting the object as an instance of 'App Channel'.
|
T |
caseAppPort(AppPort object)
Returns the result of interpreting the object as an instance of 'App Port'.
|
T |
caseBehavior(Behavior object)
Returns the result of interpreting the object as an instance of 'Behavior'.
|
T |
caseConstraintExpression(ConstraintExpression object)
Returns the result of interpreting the object as an instance of 'Constraint Expression'.
|
T |
caseData(Data object)
Returns the result of interpreting the object as an instance of 'Data'.
|
T |
caseDefaultPolicy(DefaultPolicy object)
Returns the result of interpreting the object as an instance of 'Default Policy'.
|
T |
caseDenyPermission(DenyPermission object)
Returns the result of interpreting the object as an instance of 'Deny Permission'.
|
T |
caseDesktopApp(DesktopApp object)
Returns the result of interpreting the object as an instance of 'Desktop App'.
|
T |
caseEdgeDevice(EdgeDevice object)
Returns the result of interpreting the object as an instance of 'Edge Device'.
|
T |
caseEvent(Event object)
Returns the result of interpreting the object as an instance of 'Event'.
|
T |
caseGateway(Gateway object)
Returns the result of interpreting the object as an instance of 'Gateway'.
|
T |
caseID(ID object)
Returns the result of interpreting the object as an instance of 'ID'.
|
T |
caseIoTMetamodel(IoTMetamodel object)
Returns the result of interpreting the object as an instance of 'Io TMetamodel'.
|
T |
caseIoTOs(IoTOs object)
Returns the result of interpreting the object as an instance of 'Io TOs'.
|
T |
caseIoTPlatform(IoTPlatform object)
Returns the result of interpreting the object as an instance of 'Io TPlatform'.
|
T |
caseMaliciousActor(MaliciousActor object)
Returns the result of interpreting the object as an instance of 'Malicious Actor'.
|
T |
caseMessage(Message object)
Returns the result of interpreting the object as an instance of 'Message'.
|
T |
caseMessageBroker(MessageBroker object)
Returns the result of interpreting the object as an instance of 'Message Broker'.
|
T |
caseMessageFormat(MessageFormat object)
Returns the result of interpreting the object as an instance of 'Message Format'.
|
T |
caseMobileApp(MobileApp object)
Returns the result of interpreting the object as an instance of 'Mobile App'.
|
T |
caseNetwork(Network object)
Returns the result of interpreting the object as an instance of 'Network'.
|
T |
casePermission(Permission object)
Returns the result of interpreting the object as an instance of 'Permission'.
|
T |
casePrivatePolicy(PrivatePolicy object)
Returns the result of interpreting the object as an instance of 'Private Policy'.
|
T |
caseProgrammingModel(ProgrammingModel object)
Returns the result of interpreting the object as an instance of 'Programming Model'.
|
T |
caseProtocolStack(ProtocolStack object)
Returns the result of interpreting the object as an instance of 'Protocol Stack'.
|
T |
casePublishSubscribe(PublishSubscribe object)
Returns the result of interpreting the object as an instance of 'Publish Subscribe'.
|
T |
caseRequestResponse(RequestResponse object)
Returns the result of interpreting the object as an instance of 'Request Response'.
|
T |
caseRule(Rule object)
Returns the result of interpreting the object as an instance of 'Rule'.
|
T |
caseSensor(Sensor object)
Returns the result of interpreting the object as an instance of 'Sensor'.
|
T |
caseSharedAction(SharedAction object)
Returns the result of interpreting the object as an instance of 'Shared Action'.
|
T |
caseThing(Thing object)
Returns the result of interpreting the object as an instance of 'Thing'.
|
T |
caseTopic(Topic object)
Returns the result of interpreting the object as an instance of 'Topic'.
|
T |
caseUserApplication(UserApplication object)
Returns the result of interpreting the object as an instance of 'User Application'.
|
T |
caseWebServer(WebServer object)
Returns the result of interpreting the object as an instance of 'Web Server'.
|
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
protected T |
doSwitch(int classifierID,
org.eclipse.emf.ecore.EObject theEObject)
Calls
caseXXX for each class of the model until one returns a non null result; it yields that result. |
protected boolean |
isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
Checks whether this is a switch for the given package.
|
protected static IotmodelPackage modelPackage
protected boolean isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
isSwitchFor in class org.eclipse.emf.ecore.util.Switch<T>ePackage - the package in question.protected T doSwitch(int classifierID, org.eclipse.emf.ecore.EObject theEObject)
caseXXX for each class of the model until one returns a non null result; it yields that result.
doSwitch in class org.eclipse.emf.ecore.util.Switch<T>caseXXX call.public T caseGateway(Gateway object)
object - the target of the switch.doSwitch(EObject)public T caseEdgeDevice(EdgeDevice object)
object - the target of the switch.doSwitch(EObject)public T caseAppChannel(AppChannel object)
object - the target of the switch.doSwitch(EObject)public T caseNetwork(Network object)
object - the target of the switch.doSwitch(EObject)public T caseRequestResponse(RequestResponse object)
object - the target of the switch.doSwitch(EObject)public T casePublishSubscribe(PublishSubscribe object)
object - the target of the switch.doSwitch(EObject)public T caseThing(Thing object)
object - the target of the switch.doSwitch(EObject)public T caseAccessControlPolicy(AccessControlPolicy object)
object - the target of the switch.doSwitch(EObject)public T caseProtocolStack(ProtocolStack object)
object - the target of the switch.doSwitch(EObject)public T caseRule(Rule object)
object - the target of the switch.doSwitch(EObject)public T caseIoTOs(IoTOs object)
object - the target of the switch.doSwitch(EObject)public T caseIoTPlatform(IoTPlatform object)
object - the target of the switch.doSwitch(EObject)public T caseMessage(Message object)
object - the target of the switch.doSwitch(EObject)public T caseMessageFormat(MessageFormat object)
object - the target of the switch.doSwitch(EObject)public T caseMessageBroker(MessageBroker object)
object - the target of the switch.doSwitch(EObject)public T caseTopic(Topic object)
object - the target of the switch.doSwitch(EObject)public T caseUserApplication(UserApplication object)
object - the target of the switch.doSwitch(EObject)public T caseDesktopApp(DesktopApp object)
object - the target of the switch.doSwitch(EObject)public T caseMobileApp(MobileApp object)
object - the target of the switch.doSwitch(EObject)public T caseWebServer(WebServer object)
object - the target of the switch.doSwitch(EObject)public T caseDefaultPolicy(DefaultPolicy object)
object - the target of the switch.doSwitch(EObject)public T casePrivatePolicy(PrivatePolicy object)
object - the target of the switch.doSwitch(EObject)public T casePermission(Permission object)
object - the target of the switch.doSwitch(EObject)public T caseConstraintExpression(ConstraintExpression object)
object - the target of the switch.doSwitch(EObject)public T caseAllowPermission(AllowPermission object)
object - the target of the switch.doSwitch(EObject)public T caseDenyPermission(DenyPermission object)
object - the target of the switch.doSwitch(EObject)public T caseSensor(Sensor object)
object - the target of the switch.doSwitch(EObject)public T caseActuator(Actuator object)
object - the target of the switch.doSwitch(EObject)public T caseIoTMetamodel(IoTMetamodel object)
object - the target of the switch.doSwitch(EObject)public T caseID(ID object)
object - the target of the switch.doSwitch(EObject)public T caseBehavior(Behavior object)
object - the target of the switch.doSwitch(EObject)public T caseAction(Action object)
object - the target of the switch.doSwitch(EObject)public T caseEvent(Event object)
object - the target of the switch.doSwitch(EObject)public T caseProgrammingModel(ProgrammingModel object)
object - the target of the switch.doSwitch(EObject)public T caseSharedAction(SharedAction object)
object - the target of the switch.doSwitch(EObject)public T caseAppPort(AppPort object)
object - the target of the switch.doSwitch(EObject)public T caseData(Data object)
object - the target of the switch.doSwitch(EObject)public T caseActor(Actor object)
object - the target of the switch.doSwitch(EObject)public T caseMaliciousActor(MaliciousActor 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)Copyright © 2018–2020 Atlanmod. All rights reserved.