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 Details

    • modelPackage

      protected static IotmodelPackage modelPackage
      The cached model package.
    • modelSwitch

      protected IotmodelSwitch<org.eclipse.emf.common.notify.Adapter> modelSwitch
      The switch that delegates to the createXXX methods.
  • Constructor Details

    • IotmodelAdapterFactory

      public IotmodelAdapterFactory()
      Creates an instance of the adapter factory.
  • Method Details

    • isFactoryForType

      public boolean isFactoryForType​(Object object)
      Returns whether this factory is applicable for the type of the object. This implementation returns true if the object is either the model's package or is an instance object of the model.
      Specified by:
      isFactoryForType in interface org.eclipse.emf.common.notify.AdapterFactory
      Overrides:
      isFactoryForType in class org.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 the target.
      Overrides:
      createAdapter in class org.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
    • createSharedActionAdapter

      public org.eclipse.emf.common.notify.Adapter createSharedActionAdapter()
      Creates a new adapter for an object of class 'Shared 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:
      SharedAction
    • 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.