Class ScriptPackageImpl
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.script.script.impl.ScriptPackageImpl
- 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
,ScriptPackage
public class ScriptPackageImpl
extends org.eclipse.emf.ecore.impl.EPackageImpl
implements ScriptPackage
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.EBasicWhiteList
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.EPackage
org.eclipse.emf.ecore.EPackage.Descriptor, org.eclipse.emf.ecore.EPackage.Registry
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
Nested classes/interfaces inherited from interface org.openhab.core.model.script.script.ScriptPackage
ScriptPackage.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, nsURI
Fields inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl
name, NAME_EDEFAULT
Fields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eAnnotations, eFlags, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG
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
Fields inherited from interface org.openhab.core.model.script.script.ScriptPackage
ABSTRACT_UNIT, ABSTRACT_UNIT__VALUE, ABSTRACT_UNIT_FEATURE_COUNT, eINSTANCE, eNAME, eNS_PREFIX, eNS_URI, ID_UNIT, ID_UNIT__VALUE, ID_UNIT_FEATURE_COUNT, QUANTITY_LITERAL, QUANTITY_LITERAL__UNIT, QUANTITY_LITERAL__VALUE, QUANTITY_LITERAL_FEATURE_COUNT, SCRIPT, SCRIPT__EXPRESSIONS, SCRIPT_FEATURE_COUNT, SPECIFIC_UNIT, SPECIFIC_UNIT__VALUE, SPECIFIC_UNIT_FEATURE_COUNT, STRING_UNIT, STRING_UNIT__VALUE, STRING_UNIT_FEATURE_COUNT
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Creates the meta-model objects for the package.org.eclipse.emf.ecore.EClass
org.eclipse.emf.ecore.EAttribute
org.eclipse.emf.ecore.EClass
org.eclipse.emf.ecore.EClass
org.eclipse.emf.ecore.EReference
org.eclipse.emf.ecore.EAttribute
org.eclipse.emf.ecore.EClass
org.eclipse.emf.ecore.EClass
org.eclipse.emf.ecore.EClass
static ScriptPackage
init()
Creates, registers, and initializes the Package for this model, and for any others upon which it depends.void
Complete 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, toString
Methods inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl
eContents, eCrossReferences, getName, getNameGen
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eObjectForURIFragmentSegment, eSetDirectResource, eURIFragmentSegment, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozen
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, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSettings
Methods 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, 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.EModelElement
getEAnnotation, getEAnnotations
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement
getName, setName
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.EPackage
getEClassifier, getEClassifiers, getEFactoryInstance, getESubpackages, getESuperPackage, getNsPrefix, getNsURI, setEFactoryInstance, setNsPrefix, setNsURI
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
Methods 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
ScriptPackage.eINSTANCE
when that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. -
getAbstractUnit
public org.eclipse.emf.ecore.EClass getAbstractUnit()- Specified by:
getAbstractUnit
in interfaceScriptPackage
- Returns:
- the meta object for class 'Abstract Unit'.
- See Also:
-
getAbstractUnit_Value
public org.eclipse.emf.ecore.EAttribute getAbstractUnit_Value()- Specified by:
getAbstractUnit_Value
in interfaceScriptPackage
- Returns:
- the meta object for the attribute 'Value'.
- See Also:
-
getStringUnit
public org.eclipse.emf.ecore.EClass getStringUnit()- Specified by:
getStringUnit
in interfaceScriptPackage
- Returns:
- the meta object for class 'String Unit'.
- See Also:
-
getIDUnit
public org.eclipse.emf.ecore.EClass getIDUnit()- Specified by:
getIDUnit
in interfaceScriptPackage
- Returns:
- the meta object for class 'ID Unit'.
- See Also:
-
getSpecificUnit
public org.eclipse.emf.ecore.EClass getSpecificUnit()- Specified by:
getSpecificUnit
in interfaceScriptPackage
- Returns:
- the meta object for class 'Specific Unit'.
- See Also:
-
getScript
public org.eclipse.emf.ecore.EClass getScript()- Specified by:
getScript
in interfaceScriptPackage
- Returns:
- the meta object for class 'Script'.
- See Also:
-
getQuantityLiteral
public org.eclipse.emf.ecore.EClass getQuantityLiteral()- Specified by:
getQuantityLiteral
in interfaceScriptPackage
- Returns:
- the meta object for class 'Quantity Literal'.
- See Also:
-
getQuantityLiteral_Value
public org.eclipse.emf.ecore.EAttribute getQuantityLiteral_Value()- Specified by:
getQuantityLiteral_Value
in interfaceScriptPackage
- Returns:
- the meta object for the attribute 'Value'.
- See Also:
-
getQuantityLiteral_Unit
public org.eclipse.emf.ecore.EReference getQuantityLiteral_Unit()- Specified by:
getQuantityLiteral_Unit
in interfaceScriptPackage
- Returns:
- the meta object for the containment reference 'Unit'.
- See Also:
-
getScriptFactory
- Specified by:
getScriptFactory
in interfaceScriptPackage
- 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.
-