Class RulesAdapterFactory
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
org.openhab.core.model.rule.rules.util.RulesAdapterFactory
- All Implemented Interfaces:
org.eclipse.emf.common.notify.AdapterFactory
public class RulesAdapterFactory
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:
-
Field Summary
Modifier and TypeFieldDescriptionprotected static RulesPackage
The cached model package.protected RulesSwitch<org.eclipse.emf.common.notify.Adapter>
The switch that delegates to thecreateXXX
methods. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.common.notify.Adapter
createAdapter
(org.eclipse.emf.common.notify.Notifier target) Creates an adapter for thetarget
.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Changed Event Trigger
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Command Event Trigger
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Date Time Trigger
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for the default case.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Event Emitted Trigger
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Event Trigger
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Group Member Changed Event Trigger
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Group Member Command Event Trigger
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Group Member Update Event Trigger
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Rule
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Rule Model
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'System On Shutdown Trigger
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'System On Startup Trigger
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'System Startlevel Trigger
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'System Trigger
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Thing State Changed Event Trigger
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Thing State Update Event Trigger
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Timer Trigger
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Update Event Trigger
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Valid Command
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Valid Command Id
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Valid Command Number
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Valid Command String
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Valid State
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Valid State Id
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Valid State Number
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Valid State String
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Valid Trigger
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Valid Trigger Id
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Valid Trigger Number
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Valid Trigger String
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Variable Declaration
'.boolean
isFactoryForType
(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 thecreateXXX
methods.
-
-
Constructor Details
-
RulesAdapterFactory
public RulesAdapterFactory()Creates an instance of the adapter factory.
-
-
Method Details
-
isFactoryForType
Returns whether this factory is applicable for the type of the object. This implementation returnstrue
if the object is either the model's package or is an instance object of the model.- Specified by:
isFactoryForType
in interfaceorg.eclipse.emf.common.notify.AdapterFactory
- Overrides:
isFactoryForType
in 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:
createAdapter
in classorg.eclipse.emf.common.notify.impl.AdapterFactoryImpl
- Parameters:
target
- the object to adapt.- Returns:
- the adapter for the
target
.
-
createRuleModelAdapter
public org.eclipse.emf.common.notify.Adapter createRuleModelAdapter()Creates a new adapter for an object of class 'Rule 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:
-
createVariableDeclarationAdapter
public org.eclipse.emf.common.notify.Adapter createVariableDeclarationAdapter()Creates a new adapter for an object of class 'Variable Declaration
'. 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:
-
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:
-
createEventTriggerAdapter
public org.eclipse.emf.common.notify.Adapter createEventTriggerAdapter()Creates a new adapter for an object of class 'Event Trigger
'. 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:
-
createCommandEventTriggerAdapter
public org.eclipse.emf.common.notify.Adapter createCommandEventTriggerAdapter()Creates a new adapter for an object of class 'Command Event Trigger
'. 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:
-
createGroupMemberCommandEventTriggerAdapter
public org.eclipse.emf.common.notify.Adapter createGroupMemberCommandEventTriggerAdapter()Creates a new adapter for an object of class 'Group Member Command Event Trigger
'. 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:
-
createUpdateEventTriggerAdapter
public org.eclipse.emf.common.notify.Adapter createUpdateEventTriggerAdapter()Creates a new adapter for an object of class 'Update Event Trigger
'. 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:
-
createGroupMemberUpdateEventTriggerAdapter
public org.eclipse.emf.common.notify.Adapter createGroupMemberUpdateEventTriggerAdapter()Creates a new adapter for an object of class 'Group Member Update Event Trigger
'. 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:
-
createChangedEventTriggerAdapter
public org.eclipse.emf.common.notify.Adapter createChangedEventTriggerAdapter()Creates a new adapter for an object of class 'Changed Event Trigger
'. 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:
-
createGroupMemberChangedEventTriggerAdapter
public org.eclipse.emf.common.notify.Adapter createGroupMemberChangedEventTriggerAdapter()Creates a new adapter for an object of class 'Group Member Changed Event Trigger
'. 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:
-
createEventEmittedTriggerAdapter
public org.eclipse.emf.common.notify.Adapter createEventEmittedTriggerAdapter()Creates a new adapter for an object of class 'Event Emitted Trigger
'. 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:
-
createTimerTriggerAdapter
public org.eclipse.emf.common.notify.Adapter createTimerTriggerAdapter()Creates a new adapter for an object of class 'Timer Trigger
'. 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:
-
createDateTimeTriggerAdapter
public org.eclipse.emf.common.notify.Adapter createDateTimeTriggerAdapter()Creates a new adapter for an object of class 'Date Time Trigger
'. 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:
-
createSystemTriggerAdapter
public org.eclipse.emf.common.notify.Adapter createSystemTriggerAdapter()Creates a new adapter for an object of class 'System Trigger
'. 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:
-
createSystemOnStartupTriggerAdapter
public org.eclipse.emf.common.notify.Adapter createSystemOnStartupTriggerAdapter()Creates a new adapter for an object of class 'System On Startup Trigger
'. 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:
-
createSystemStartlevelTriggerAdapter
public org.eclipse.emf.common.notify.Adapter createSystemStartlevelTriggerAdapter()Creates a new adapter for an object of class 'System Startlevel Trigger
'. 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:
-
createSystemOnShutdownTriggerAdapter
public org.eclipse.emf.common.notify.Adapter createSystemOnShutdownTriggerAdapter()Creates a new adapter for an object of class 'System On Shutdown Trigger
'. 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:
-
createThingStateUpdateEventTriggerAdapter
public org.eclipse.emf.common.notify.Adapter createThingStateUpdateEventTriggerAdapter()Creates a new adapter for an object of class 'Thing State Update Event Trigger
'. 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:
-
createThingStateChangedEventTriggerAdapter
public org.eclipse.emf.common.notify.Adapter createThingStateChangedEventTriggerAdapter()Creates a new adapter for an object of class 'Thing State Changed Event Trigger
'. 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:
-
createValidStateAdapter
public org.eclipse.emf.common.notify.Adapter createValidStateAdapter()Creates a new adapter for an object of class 'Valid State
'. 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:
-
createValidStateIdAdapter
public org.eclipse.emf.common.notify.Adapter createValidStateIdAdapter()Creates a new adapter for an object of class 'Valid State 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:
-
createValidStateNumberAdapter
public org.eclipse.emf.common.notify.Adapter createValidStateNumberAdapter()Creates a new adapter for an object of class 'Valid State Number
'. 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:
-
createValidStateStringAdapter
public org.eclipse.emf.common.notify.Adapter createValidStateStringAdapter()Creates a new adapter for an object of class 'Valid State String
'. 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:
-
createValidCommandAdapter
public org.eclipse.emf.common.notify.Adapter createValidCommandAdapter()Creates a new adapter for an object of class 'Valid Command
'. 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:
-
createValidCommandIdAdapter
public org.eclipse.emf.common.notify.Adapter createValidCommandIdAdapter()Creates a new adapter for an object of class 'Valid Command 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:
-
createValidCommandNumberAdapter
public org.eclipse.emf.common.notify.Adapter createValidCommandNumberAdapter()Creates a new adapter for an object of class 'Valid Command Number
'. 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:
-
createValidCommandStringAdapter
public org.eclipse.emf.common.notify.Adapter createValidCommandStringAdapter()Creates a new adapter for an object of class 'Valid Command String
'. 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:
-
createValidTriggerAdapter
public org.eclipse.emf.common.notify.Adapter createValidTriggerAdapter()Creates a new adapter for an object of class 'Valid Trigger
'. 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:
-
createValidTriggerIdAdapter
public org.eclipse.emf.common.notify.Adapter createValidTriggerIdAdapter()Creates a new adapter for an object of class 'Valid Trigger 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:
-
createValidTriggerNumberAdapter
public org.eclipse.emf.common.notify.Adapter createValidTriggerNumberAdapter()Creates a new adapter for an object of class 'Valid Trigger Number
'. 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:
-
createValidTriggerStringAdapter
public org.eclipse.emf.common.notify.Adapter createValidTriggerStringAdapter()Creates a new adapter for an object of class 'Valid Trigger String
'. 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:
-
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.
-