Class ModelThingImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.openhab.core.model.thing.thing.impl.ModelPropertyContainerImpl
org.openhab.core.model.thing.thing.impl.ModelThingImpl
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
,org.eclipse.emf.ecore.InternalEObject
,ModelPropertyContainer
,ModelThing
- Direct Known Subclasses:
ModelBridgeImpl
An implementation of the model object 'Model Thing'.
The following features are implemented:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
The default value of the 'Bridge UID
' attribute.protected String
The cached value of the 'Bridge UID
' attribute.protected org.eclipse.emf.common.util.EList<ModelChannel>
The cached value of the 'Channels
' containment reference list.protected String
The cached value of the 'Location
' attribute.protected static final String
The default value of the 'Location
' attribute.protected static final String
The default value of the 'Thing Id
' attribute.protected static final String
The default value of the 'Thing Type Id
' attribute.protected String
The cached value of the 'Thing Id
' attribute.protected String
The cached value of the 'Thing Type Id
' attribute.Fields inherited from class org.openhab.core.model.thing.thing.impl.ModelPropertyContainerImpl
id, ID_EDEFAULT, label, LABEL_EDEFAULT, properties
Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainer
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioneGet
(int featureID, boolean resolve, boolean coreType) org.eclipse.emf.common.notify.NotificationChain
eInverseRemove
(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) boolean
eIsSet
(int featureID) void
protected org.eclipse.emf.ecore.EClass
void
eUnset
(int featureID) org.eclipse.emf.common.util.EList<ModelChannel>
void
setBridgeUID
(String newBridgeUID) void
setLocation
(String newLocation) void
setThingId
(String newThingId) void
setThingTypeId
(String newThingTypeId) toString()
Methods inherited from class org.openhab.core.model.thing.thing.impl.ModelPropertyContainerImpl
getId, getLabel, getProperties, setId, setLabel
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
Methods inherited from interface org.openhab.core.model.thing.thing.ModelPropertyContainer
getId, getLabel, getProperties, setId, setLabel
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Field Details
-
THING_TYPE_ID_EDEFAULT
The default value of the 'Thing Type Id
' attribute.- See Also:
-
thingTypeId
The cached value of the 'Thing Type Id
' attribute.- See Also:
-
THING_ID_EDEFAULT
The default value of the 'Thing Id
' attribute.- See Also:
-
thingId
The cached value of the 'Thing Id
' attribute.- See Also:
-
BRIDGE_UID_EDEFAULT
The default value of the 'Bridge UID
' attribute.- See Also:
-
bridgeUID
The cached value of the 'Bridge UID
' attribute.- See Also:
-
LOCATION_EDEFAULT
The default value of the 'Location
' attribute.- See Also:
-
location
The cached value of the 'Location
' attribute.- See Also:
-
channels
The cached value of the 'Channels
' containment reference list.- See Also:
-
-
Constructor Details
-
ModelThingImpl
protected ModelThingImpl()
-
-
Method Details
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()- Overrides:
eStaticClass
in classModelPropertyContainerImpl
-
getThingTypeId
- Specified by:
getThingTypeId
in interfaceModelThing
- Returns:
- the value of the 'Thing Type Id' attribute.
- See Also:
-
setThingTypeId
- Specified by:
setThingTypeId
in interfaceModelThing
- Parameters:
newThingTypeId
- the new value of the 'Thing Type Id' attribute.- See Also:
-
getThingId
- Specified by:
getThingId
in interfaceModelThing
- Returns:
- the value of the 'Thing Id' attribute.
- See Also:
-
setThingId
- Specified by:
setThingId
in interfaceModelThing
- Parameters:
newThingId
- the new value of the 'Thing Id' attribute.- See Also:
-
getBridgeUID
- Specified by:
getBridgeUID
in interfaceModelThing
- Returns:
- the value of the 'Bridge UID' attribute.
- See Also:
-
setBridgeUID
- Specified by:
setBridgeUID
in interfaceModelThing
- Parameters:
newBridgeUID
- the new value of the 'Bridge UID' attribute.- See Also:
-
getLocation
- Specified by:
getLocation
in interfaceModelThing
- Returns:
- the value of the 'Location' attribute.
- See Also:
-
setLocation
- Specified by:
setLocation
in interfaceModelThing
- Parameters:
newLocation
- the new value of the 'Location' attribute.- See Also:
-
getChannels
- Specified by:
getChannels
in interfaceModelThing
- Returns:
- the value of the 'Channels' containment reference list.
- See Also:
-
eInverseRemove
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) - Overrides:
eInverseRemove
in classModelPropertyContainerImpl
-
eGet
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classModelPropertyContainerImpl
-
eSet
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classModelPropertyContainerImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classModelPropertyContainerImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classModelPropertyContainerImpl
-
toString
- Overrides:
toString
in classModelPropertyContainerImpl
-