Package iotmodel.util
Class IotmodelAdapterFactory
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
iotmodel.util.IotmodelAdapterFactory
- All Implemented Interfaces:
org.eclipse.emf.common.notify.AdapterFactory
public class IotmodelAdapterFactory
extends org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
The Adapter Factory for the model.
It provides an adapter
createXXX method for each class of the model.
- See Also:
IotmodelPackage
-
Field Summary
Fields Modifier and Type Field Description protected static IotmodelPackagemodelPackageThe cached model package.protected IotmodelSwitch<org.eclipse.emf.common.notify.Adapter>modelSwitchThe switch that delegates to thecreateXXXmethods. -
Constructor Summary
Constructors Constructor Description IotmodelAdapterFactory()Creates an instance of the adapter factory. -
Method Summary
Modifier and Type Method Description org.eclipse.emf.common.notify.AdaptercreateAccessControlPolicyAdapter()Creates a new adapter for an object of class 'Access Control Policy'.org.eclipse.emf.common.notify.AdaptercreateActionAdapter()Creates a new adapter for an object of class 'Action'.org.eclipse.emf.common.notify.AdaptercreateActorAdapter()Creates a new adapter for an object of class 'Actor'.org.eclipse.emf.common.notify.AdaptercreateActuatorAdapter()Creates a new adapter for an object of class 'Actuator'.org.eclipse.emf.common.notify.AdaptercreateAdapter(org.eclipse.emf.common.notify.Notifier target)Creates an adapter for thetarget.org.eclipse.emf.common.notify.AdaptercreateAllowPermissionAdapter()Creates a new adapter for an object of class 'Allow Permission'.org.eclipse.emf.common.notify.AdaptercreateAppChannelAdapter()Creates a new adapter for an object of class 'App Channel'.org.eclipse.emf.common.notify.AdaptercreateAppPortAdapter()Creates a new adapter for an object of class 'App Port'.org.eclipse.emf.common.notify.AdaptercreateBehaviorAdapter()Creates a new adapter for an object of class 'Behavior'.org.eclipse.emf.common.notify.AdaptercreateConstraintExpressionAdapter()Creates a new adapter for an object of class 'Constraint Expression'.org.eclipse.emf.common.notify.AdaptercreateDataAdapter()Creates a new adapter for an object of class 'Data'.org.eclipse.emf.common.notify.AdaptercreateDefaultPolicyAdapter()Creates a new adapter for an object of class 'Default Policy'.org.eclipse.emf.common.notify.AdaptercreateDenyPermissionAdapter()Creates a new adapter for an object of class 'Deny Permission'.org.eclipse.emf.common.notify.AdaptercreateDesktopAppAdapter()Creates a new adapter for an object of class 'Desktop App'.org.eclipse.emf.common.notify.AdaptercreateEdgeDeviceAdapter()Creates a new adapter for an object of class 'Edge Device'.org.eclipse.emf.common.notify.AdaptercreateEObjectAdapter()Creates a new adapter for the default case.org.eclipse.emf.common.notify.AdaptercreateEventAdapter()Creates a new adapter for an object of class 'Event'.org.eclipse.emf.common.notify.AdaptercreateGatewayAdapter()Creates a new adapter for an object of class 'Gateway'.org.eclipse.emf.common.notify.AdaptercreateIDAdapter()Creates a new adapter for an object of class 'ID'.org.eclipse.emf.common.notify.AdaptercreateIoTMetamodelAdapter()Creates a new adapter for an object of class 'Io TMetamodel'.org.eclipse.emf.common.notify.AdaptercreateIoTOsAdapter()Creates a new adapter for an object of class 'Io TOs'.org.eclipse.emf.common.notify.AdaptercreateIoTPlatformAdapter()Creates a new adapter for an object of class 'Io TPlatform'.org.eclipse.emf.common.notify.AdaptercreateMaliciousActorAdapter()Creates a new adapter for an object of class 'Malicious Actor'.org.eclipse.emf.common.notify.AdaptercreateMessageAdapter()Creates a new adapter for an object of class 'Message'.org.eclipse.emf.common.notify.AdaptercreateMessageBrokerAdapter()Creates a new adapter for an object of class 'Message Broker'.org.eclipse.emf.common.notify.AdaptercreateMessageFormatAdapter()Creates a new adapter for an object of class 'Message Format'.org.eclipse.emf.common.notify.AdaptercreateMobileAppAdapter()Creates a new adapter for an object of class 'Mobile App'.org.eclipse.emf.common.notify.AdaptercreateNetworkAdapter()Creates a new adapter for an object of class 'Network'.org.eclipse.emf.common.notify.AdaptercreatePermissionAdapter()Creates a new adapter for an object of class 'Permission'.org.eclipse.emf.common.notify.AdaptercreatePrivatePolicyAdapter()Creates a new adapter for an object of class 'Private Policy'.org.eclipse.emf.common.notify.AdaptercreateProgrammingModelAdapter()Creates a new adapter for an object of class 'Programming Model'.org.eclipse.emf.common.notify.AdaptercreateProtocolStackAdapter()Creates a new adapter for an object of class 'Protocol Stack'.org.eclipse.emf.common.notify.AdaptercreatePublishSubscribeAdapter()Creates a new adapter for an object of class 'Publish Subscribe'.org.eclipse.emf.common.notify.AdaptercreateRequestResponseAdapter()Creates a new adapter for an object of class 'Request Response'.org.eclipse.emf.common.notify.AdaptercreateRuleAdapter()Creates a new adapter for an object of class 'Rule'.org.eclipse.emf.common.notify.AdaptercreateSensorAdapter()Creates a new adapter for an object of class 'Sensor'.org.eclipse.emf.common.notify.AdaptercreateSharedActionAdapter()Creates a new adapter for an object of class 'Shared Action'.org.eclipse.emf.common.notify.AdaptercreateThingAdapter()Creates a new adapter for an object of class 'Thing'.org.eclipse.emf.common.notify.AdaptercreateTopicAdapter()Creates a new adapter for an object of class 'Topic'.org.eclipse.emf.common.notify.AdaptercreateUserApplicationAdapter()Creates a new adapter for an object of class 'User Application'.org.eclipse.emf.common.notify.AdaptercreateWebServerAdapter()Creates a new adapter for an object of class 'Web Server'.booleanisFactoryForType(Object object)Returns whether this factory is applicable for the type of the object.Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
adapt, adapt, adaptAllNew, adaptNew, associate, createAdapter, resolve
-
Field Details
-
modelPackage
The cached model package. -
modelSwitch
The switch that delegates to thecreateXXXmethods.
-
-
Constructor Details
-
IotmodelAdapterFactory
public IotmodelAdapterFactory()Creates an instance of the adapter factory.
-
-
Method Details
-
isFactoryForType
Returns whether this factory is applicable for the type of the object. This implementation returnstrueif the object is either the model's package or is an instance object of the model.- Specified by:
isFactoryForTypein interfaceorg.eclipse.emf.common.notify.AdapterFactory- Overrides:
isFactoryForTypein classorg.eclipse.emf.common.notify.impl.AdapterFactoryImpl- Returns:
- whether this factory is applicable for the type of the object.
-
createAdapter
public org.eclipse.emf.common.notify.Adapter createAdapter(org.eclipse.emf.common.notify.Notifier target)Creates an adapter for thetarget.- Overrides:
createAdapterin classorg.eclipse.emf.common.notify.impl.AdapterFactoryImpl- Parameters:
target- the object to adapt.- Returns:
- the adapter for the
target.
-
createGatewayAdapter
public org.eclipse.emf.common.notify.Adapter createGatewayAdapter()Creates a new adapter for an object of class 'Gateway'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Gateway
-
createEdgeDeviceAdapter
public org.eclipse.emf.common.notify.Adapter createEdgeDeviceAdapter()Creates a new adapter for an object of class 'Edge Device'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
EdgeDevice
-
createAppChannelAdapter
public org.eclipse.emf.common.notify.Adapter createAppChannelAdapter()Creates a new adapter for an object of class 'App Channel'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
AppChannel
-
createNetworkAdapter
public org.eclipse.emf.common.notify.Adapter createNetworkAdapter()Creates a new adapter for an object of class 'Network'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Network
-
createRequestResponseAdapter
public org.eclipse.emf.common.notify.Adapter createRequestResponseAdapter()Creates a new adapter for an object of class 'Request Response'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
RequestResponse
-
createPublishSubscribeAdapter
public org.eclipse.emf.common.notify.Adapter createPublishSubscribeAdapter()Creates a new adapter for an object of class 'Publish Subscribe'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
PublishSubscribe
-
createThingAdapter
public org.eclipse.emf.common.notify.Adapter createThingAdapter()Creates a new adapter for an object of class 'Thing'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Thing
-
createAccessControlPolicyAdapter
public org.eclipse.emf.common.notify.Adapter createAccessControlPolicyAdapter()Creates a new adapter for an object of class 'Access Control Policy'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
AccessControlPolicy
-
createProtocolStackAdapter
public org.eclipse.emf.common.notify.Adapter createProtocolStackAdapter()Creates a new adapter for an object of class 'Protocol Stack'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
ProtocolStack
-
createRuleAdapter
public org.eclipse.emf.common.notify.Adapter createRuleAdapter()Creates a new adapter for an object of class 'Rule'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Rule
-
createIoTOsAdapter
public org.eclipse.emf.common.notify.Adapter createIoTOsAdapter()Creates a new adapter for an object of class 'Io TOs'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
IoTOs
-
createIoTPlatformAdapter
public org.eclipse.emf.common.notify.Adapter createIoTPlatformAdapter()Creates a new adapter for an object of class 'Io TPlatform'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
IoTPlatform
-
createMessageAdapter
public org.eclipse.emf.common.notify.Adapter createMessageAdapter()Creates a new adapter for an object of class 'Message'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Message
-
createMessageFormatAdapter
public org.eclipse.emf.common.notify.Adapter createMessageFormatAdapter()Creates a new adapter for an object of class 'Message Format'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
MessageFormat
-
createMessageBrokerAdapter
public org.eclipse.emf.common.notify.Adapter createMessageBrokerAdapter()Creates a new adapter for an object of class 'Message Broker'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
MessageBroker
-
createTopicAdapter
public org.eclipse.emf.common.notify.Adapter createTopicAdapter()Creates a new adapter for an object of class 'Topic'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Topic
-
createUserApplicationAdapter
public org.eclipse.emf.common.notify.Adapter createUserApplicationAdapter()Creates a new adapter for an object of class 'User Application'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
UserApplication
-
createDesktopAppAdapter
public org.eclipse.emf.common.notify.Adapter createDesktopAppAdapter()Creates a new adapter for an object of class 'Desktop App'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
DesktopApp
-
createMobileAppAdapter
public org.eclipse.emf.common.notify.Adapter createMobileAppAdapter()Creates a new adapter for an object of class 'Mobile App'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
MobileApp
-
createWebServerAdapter
public org.eclipse.emf.common.notify.Adapter createWebServerAdapter()Creates a new adapter for an object of class 'Web Server'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
WebServer
-
createDefaultPolicyAdapter
public org.eclipse.emf.common.notify.Adapter createDefaultPolicyAdapter()Creates a new adapter for an object of class 'Default Policy'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
DefaultPolicy
-
createPrivatePolicyAdapter
public org.eclipse.emf.common.notify.Adapter createPrivatePolicyAdapter()Creates a new adapter for an object of class 'Private Policy'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
PrivatePolicy
-
createPermissionAdapter
public org.eclipse.emf.common.notify.Adapter createPermissionAdapter()Creates a new adapter for an object of class 'Permission'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Permission
-
createConstraintExpressionAdapter
public org.eclipse.emf.common.notify.Adapter createConstraintExpressionAdapter()Creates a new adapter for an object of class 'Constraint Expression'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
ConstraintExpression
-
createAllowPermissionAdapter
public org.eclipse.emf.common.notify.Adapter createAllowPermissionAdapter()Creates a new adapter for an object of class 'Allow Permission'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
AllowPermission
-
createDenyPermissionAdapter
public org.eclipse.emf.common.notify.Adapter createDenyPermissionAdapter()Creates a new adapter for an object of class 'Deny Permission'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
DenyPermission
-
createSensorAdapter
public org.eclipse.emf.common.notify.Adapter createSensorAdapter()Creates a new adapter for an object of class 'Sensor'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Sensor
-
createActuatorAdapter
public org.eclipse.emf.common.notify.Adapter createActuatorAdapter()Creates a new adapter for an object of class 'Actuator'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Actuator
-
createIoTMetamodelAdapter
public org.eclipse.emf.common.notify.Adapter createIoTMetamodelAdapter()Creates a new adapter for an object of class 'Io TMetamodel'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
IoTMetamodel
-
createIDAdapter
public org.eclipse.emf.common.notify.Adapter createIDAdapter()Creates a new adapter for an object of class 'ID'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
ID
-
createBehaviorAdapter
public org.eclipse.emf.common.notify.Adapter createBehaviorAdapter()Creates a new adapter for an object of class 'Behavior'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Behavior
-
createActionAdapter
public org.eclipse.emf.common.notify.Adapter createActionAdapter()Creates a new adapter for an object of class 'Action'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Action
-
createEventAdapter
public org.eclipse.emf.common.notify.Adapter createEventAdapter()Creates a new adapter for an object of class 'Event'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Event
-
createProgrammingModelAdapter
public org.eclipse.emf.common.notify.Adapter createProgrammingModelAdapter()Creates a new adapter for an object of class 'Programming Model'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
ProgrammingModel
-
createAppPortAdapter
public org.eclipse.emf.common.notify.Adapter createAppPortAdapter()Creates a new adapter for an object of class 'App Port'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
AppPort
-
createDataAdapter
public org.eclipse.emf.common.notify.Adapter createDataAdapter()Creates a new adapter for an object of class 'Data'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Data
-
createActorAdapter
public org.eclipse.emf.common.notify.Adapter createActorAdapter()Creates a new adapter for an object of class 'Actor'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Actor
-
createMaliciousActorAdapter
public org.eclipse.emf.common.notify.Adapter createMaliciousActorAdapter()Creates a new adapter for an object of class 'Malicious Actor'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
MaliciousActor
-
createEObjectAdapter
public org.eclipse.emf.common.notify.Adapter createEObjectAdapter()Creates a new adapter for the default case. This default implementation returns null.- Returns:
- the new adapter.
-