Class ThingPackageImpl
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.eclipse.emf.ecore.impl.EModelElementImpl
org.eclipse.emf.ecore.impl.ENamedElementImpl
org.eclipse.emf.ecore.impl.EPackageImpl
org.openhab.core.model.thing.thing.impl.ThingPackageImpl
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EModelElement,org.eclipse.emf.ecore.ENamedElement,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EPackage,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder,org.eclipse.emf.ecore.InternalEObject,org.eclipse.emf.ecore.util.BasicExtendedMetaData.EPackageExtendedMetaData.Holder,ThingPackage
public class ThingPackageImpl
extends org.eclipse.emf.ecore.impl.EPackageImpl
implements ThingPackage
An implementation of the model Package.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.EPackageImpl
org.eclipse.emf.ecore.impl.EPackageImpl.EBasicWhiteListNested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.DynamicNested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.ContainerNested 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.EPropertiesHolderImplNested 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.EScannableAdapterListNested classes/interfaces inherited from interface org.eclipse.emf.ecore.EPackage
org.eclipse.emf.ecore.EPackage.Descriptor, org.eclipse.emf.ecore.EPackage.RegistryNested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStoreNested classes/interfaces inherited from interface org.openhab.core.model.thing.thing.ThingPackage
ThingPackage.Literals -
Field Summary
Fields inherited from class org.eclipse.emf.ecore.impl.EPackageImpl
eClassifiers, ecoreFactory, ecorePackage, eFactoryInstance, eNameToEClassifierMap, ePackageExtendedMetaData, eSubpackages, IS_ABSTRACT, IS_CHANGEABLE, IS_COMPOSITE, IS_DERIVED, IS_GENERATED_INSTANCE_CLASS, IS_ID, IS_INTERFACE, IS_ORDERED, IS_RESOLVABLE, IS_RESOLVE_PROXIES, IS_SERIALIZABLE, IS_TRANSIENT, IS_UNIQUE, IS_UNSETTABLE, IS_VOLATILE, NS_PREFIX_EDEFAULT, NS_URI_EDEFAULT, nsPrefix, nsURIFields inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl
name, NAME_EDEFAULTFields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eAnnotations, eFlags, EFROZEN, ELAST_EMODEL_ELEMENT_FLAGFields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainerFields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETFields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NILFields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASEFields inherited from interface org.openhab.core.model.thing.thing.ThingPackage
eINSTANCE, eNAME, eNS_PREFIX, eNS_URI, MODEL_BRIDGE, MODEL_BRIDGE__BRIDGE, MODEL_BRIDGE__BRIDGE_UID, MODEL_BRIDGE__CHANNELS, MODEL_BRIDGE__CHANNELS_HEADER, MODEL_BRIDGE__ID, MODEL_BRIDGE__LABEL, MODEL_BRIDGE__LOCATION, MODEL_BRIDGE__PROPERTIES, MODEL_BRIDGE__THING_ID, MODEL_BRIDGE__THING_TYPE_ID, MODEL_BRIDGE__THINGS, MODEL_BRIDGE__THINGS_HEADER, MODEL_BRIDGE_FEATURE_COUNT, MODEL_CHANNEL, MODEL_CHANNEL__CHANNEL_KIND, MODEL_CHANNEL__CHANNEL_TYPE, MODEL_CHANNEL__ID, MODEL_CHANNEL__LABEL, MODEL_CHANNEL__PROPERTIES, MODEL_CHANNEL__TYPE, MODEL_CHANNEL_FEATURE_COUNT, MODEL_PROPERTY, MODEL_PROPERTY__KEY, MODEL_PROPERTY__VALUE, MODEL_PROPERTY_CONTAINER, MODEL_PROPERTY_CONTAINER__ID, MODEL_PROPERTY_CONTAINER__LABEL, MODEL_PROPERTY_CONTAINER__PROPERTIES, MODEL_PROPERTY_CONTAINER_FEATURE_COUNT, MODEL_PROPERTY_FEATURE_COUNT, MODEL_THING, MODEL_THING__BRIDGE_UID, MODEL_THING__CHANNELS, MODEL_THING__CHANNELS_HEADER, MODEL_THING__ID, MODEL_THING__LABEL, MODEL_THING__LOCATION, MODEL_THING__PROPERTIES, MODEL_THING__THING_ID, MODEL_THING__THING_TYPE_ID, MODEL_THING_FEATURE_COUNT, THING_MODEL, THING_MODEL__THINGS, THING_MODEL_FEATURE_COUNT -
Method Summary
Modifier and TypeMethodDescriptionvoidCreates the meta-model objects for the package.org.eclipse.emf.ecore.EClassorg.eclipse.emf.ecore.EAttributeorg.eclipse.emf.ecore.EReferenceorg.eclipse.emf.ecore.EAttributeorg.eclipse.emf.ecore.EClassorg.eclipse.emf.ecore.EAttributeorg.eclipse.emf.ecore.EAttributeorg.eclipse.emf.ecore.EAttributeorg.eclipse.emf.ecore.EClassorg.eclipse.emf.ecore.EAttributeorg.eclipse.emf.ecore.EAttributeorg.eclipse.emf.ecore.EClassorg.eclipse.emf.ecore.EAttributeorg.eclipse.emf.ecore.EAttributeorg.eclipse.emf.ecore.EReferenceorg.eclipse.emf.ecore.EClassorg.eclipse.emf.ecore.EAttributeorg.eclipse.emf.ecore.EReferenceorg.eclipse.emf.ecore.EAttributeorg.eclipse.emf.ecore.EAttributeorg.eclipse.emf.ecore.EAttributeorg.eclipse.emf.ecore.EAttributeorg.eclipse.emf.ecore.EClassorg.eclipse.emf.ecore.EReferencestatic ThingPackageinit()Creates, registers, and initializes the Package for this model, and for any others upon which it depends.voidComplete the initialization of the package and its meta-model.Methods inherited from class org.eclipse.emf.ecore.impl.EPackageImpl
addAnnotation, addAnnotation, addAnnotation, addAnnotation, addAnnotation, addAnnotation, addEEnumLiteral, addEException, addEException, addEOperation, addEOperation, addEOperation, addEParameter, addEParameter, addEParameter, addEParameter, addEParameter, addETypeParameter, addETypeParameter, basicGetESuperPackage, basicSetEFactoryInstance, createEAttribute, createEClass, createEDataType, createEEnum, createEGenericType, createEGenericType, createEGenericType, createEOperation, createEReference, createResource, eBasicRemoveFromContainerFeature, eGet, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eSet, eSetProxyURI, eStaticClass, eUnset, fixEClassifiers, fixEEnumLiterals, fixEOperations, fixEStructuralFeatures, fixInstanceClass, freeze, getEClassifier, getEClassifierGen, getEClassifiers, getEFactoryInstance, getESubpackages, getESuperPackage, getExtendedMetaData, getNsPrefix, getNsURI, initEAttribute, initEAttribute, initEAttribute, initEAttribute, initEAttribute, initEAttribute, initEAttribute, initEClass, initEClass, initEClass, initEDataType, initEDataType, initEDataType, initEEnum, initEOperation, initEOperation, initEOperation, initEOperation, initEReference, initEReference, initEReference, initEReference, initEReference, initEReference, initEReference, initializeFromLoadedEPackage, setEFactoryInstance, setExtendedMetaData, setGeneratedClassName, setInstanceTypeName, setName, setNamespaceURI, setNsPrefix, setNsURI, toStringMethods inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl
eContents, eCrossReferences, getName, getNameGenMethods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eObjectForURIFragmentSegment, eSetDirectResource, eURIFragmentSegment, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozenMethods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainerMethods 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, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSettingsMethods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, 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, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValuesMethods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotifyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotationsMethods inherited from interface org.eclipse.emf.ecore.ENamedElement
getName, setNameMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.ecore.EPackage
getEClassifier, getEClassifiers, getEFactoryInstance, getESubpackages, getESuperPackage, getNsPrefix, getNsURI, setEFactoryInstance, setNsPrefix, setNsURIMethods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequiredMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
init
Creates, registers, and initializes the Package for this model, and for any others upon which it depends.This method is used to initialize
ThingPackage.eINSTANCEwhen that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.- See Also:
-
getThingModel
public org.eclipse.emf.ecore.EClass getThingModel()- Specified by:
getThingModelin interfaceThingPackage- Returns:
- the meta object for class 'Model'.
- See Also:
-
getThingModel_Things
public org.eclipse.emf.ecore.EReference getThingModel_Things()- Specified by:
getThingModel_Thingsin interfaceThingPackage- Returns:
- the meta object for the containment reference list 'Things'.
- See Also:
-
getModelPropertyContainer
public org.eclipse.emf.ecore.EClass getModelPropertyContainer()- Specified by:
getModelPropertyContainerin interfaceThingPackage- Returns:
- the meta object for class 'Model Property Container'.
- See Also:
-
getModelPropertyContainer_Id
public org.eclipse.emf.ecore.EAttribute getModelPropertyContainer_Id()- Specified by:
getModelPropertyContainer_Idin interfaceThingPackage- Returns:
- the meta object for the attribute 'Id'.
- See Also:
-
getModelPropertyContainer_Label
public org.eclipse.emf.ecore.EAttribute getModelPropertyContainer_Label()- Specified by:
getModelPropertyContainer_Labelin interfaceThingPackage- Returns:
- the meta object for the attribute 'Label'.
- See Also:
-
getModelPropertyContainer_Properties
public org.eclipse.emf.ecore.EReference getModelPropertyContainer_Properties()- Specified by:
getModelPropertyContainer_Propertiesin interfaceThingPackage- Returns:
- the meta object for the containment reference list 'Properties'.
- See Also:
-
getModelThing
public org.eclipse.emf.ecore.EClass getModelThing()- Specified by:
getModelThingin interfaceThingPackage- Returns:
- the meta object for class 'Model Thing'.
- See Also:
-
getModelThing_ThingTypeId
public org.eclipse.emf.ecore.EAttribute getModelThing_ThingTypeId()- Specified by:
getModelThing_ThingTypeIdin interfaceThingPackage- Returns:
- the meta object for the attribute 'Thing Type Id'.
- See Also:
-
getModelThing_ThingId
public org.eclipse.emf.ecore.EAttribute getModelThing_ThingId()- Specified by:
getModelThing_ThingIdin interfaceThingPackage- Returns:
- the meta object for the attribute 'Thing Id'.
- See Also:
-
getModelThing_BridgeUID
public org.eclipse.emf.ecore.EAttribute getModelThing_BridgeUID()- Specified by:
getModelThing_BridgeUIDin interfaceThingPackage- Returns:
- the meta object for the attribute 'Bridge UID'.
- See Also:
-
getModelThing_Location
public org.eclipse.emf.ecore.EAttribute getModelThing_Location()- Specified by:
getModelThing_Locationin interfaceThingPackage- Returns:
- the meta object for the attribute 'Location'.
- See Also:
-
getModelThing_ChannelsHeader
public org.eclipse.emf.ecore.EAttribute getModelThing_ChannelsHeader()- Specified by:
getModelThing_ChannelsHeaderin interfaceThingPackage- Returns:
- the meta object for the attribute 'Channels Header'.
- See Also:
-
getModelThing_Channels
public org.eclipse.emf.ecore.EReference getModelThing_Channels()- Specified by:
getModelThing_Channelsin interfaceThingPackage- Returns:
- the meta object for the containment reference list 'Channels'.
- See Also:
-
getModelChannel
public org.eclipse.emf.ecore.EClass getModelChannel()- Specified by:
getModelChannelin interfaceThingPackage- Returns:
- the meta object for class 'Model Channel'.
- See Also:
-
getModelChannel_ChannelKind
public org.eclipse.emf.ecore.EAttribute getModelChannel_ChannelKind()- Specified by:
getModelChannel_ChannelKindin interfaceThingPackage- Returns:
- the meta object for the attribute 'Channel Kind'.
- See Also:
-
getModelChannel_Type
public org.eclipse.emf.ecore.EAttribute getModelChannel_Type()- Specified by:
getModelChannel_Typein interfaceThingPackage- Returns:
- the meta object for the attribute 'Type'.
- See Also:
-
getModelChannel_ChannelType
public org.eclipse.emf.ecore.EAttribute getModelChannel_ChannelType()- Specified by:
getModelChannel_ChannelTypein interfaceThingPackage- Returns:
- the meta object for the attribute 'Channel Type'.
- See Also:
-
getModelProperty
public org.eclipse.emf.ecore.EClass getModelProperty()- Specified by:
getModelPropertyin interfaceThingPackage- Returns:
- the meta object for class 'Model Property'.
- See Also:
-
getModelProperty_Key
public org.eclipse.emf.ecore.EAttribute getModelProperty_Key()- Specified by:
getModelProperty_Keyin interfaceThingPackage- Returns:
- the meta object for the attribute 'Key'.
- See Also:
-
getModelProperty_Value
public org.eclipse.emf.ecore.EAttribute getModelProperty_Value()- Specified by:
getModelProperty_Valuein interfaceThingPackage- Returns:
- the meta object for the attribute list 'Value'.
- See Also:
-
getModelBridge
public org.eclipse.emf.ecore.EClass getModelBridge()- Specified by:
getModelBridgein interfaceThingPackage- Returns:
- the meta object for class 'Model Bridge'.
- See Also:
-
getModelBridge_Bridge
public org.eclipse.emf.ecore.EAttribute getModelBridge_Bridge()- Specified by:
getModelBridge_Bridgein interfaceThingPackage- Returns:
- the meta object for the attribute 'Bridge'.
- See Also:
-
getModelBridge_ThingsHeader
public org.eclipse.emf.ecore.EAttribute getModelBridge_ThingsHeader()- Specified by:
getModelBridge_ThingsHeaderin interfaceThingPackage- Returns:
- the meta object for the attribute 'Things Header'.
- See Also:
-
getModelBridge_Things
public org.eclipse.emf.ecore.EReference getModelBridge_Things()- Specified by:
getModelBridge_Thingsin interfaceThingPackage- Returns:
- the meta object for the containment reference list 'Things'.
- See Also:
-
getThingFactory
- Specified by:
getThingFactoryin interfaceThingPackage- Returns:
- the factory that creates the instances of the model.
-
createPackageContents
public void createPackageContents()Creates the meta-model objects for the package. This method is guarded to have no affect on any invocation but its first. -
initializePackageContents
public void initializePackageContents()Complete the initialization of the package and its meta-model. This method is guarded to have no affect on any invocation but its first.
-