org.sintef.mofscript.traceabilitymodel.impl
Class TraceabilitymodelPackageImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.emf.ecore.impl.EModelElementImpl
                  extended by org.eclipse.emf.ecore.impl.ENamedElementImpl
                      extended by org.eclipse.emf.ecore.impl.EPackageImpl
                          extended by org.sintef.mofscript.traceabilitymodel.impl.TraceabilitymodelPackageImpl
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.InternalEObject, org.eclipse.emf.ecore.util.BasicExtendedMetaData.EPackageExtendedMetaData.Holder, TraceabilitymodelPackage

public class TraceabilitymodelPackageImpl
extends org.eclipse.emf.ecore.impl.EPackageImpl
implements TraceabilitymodelPackage

An implementation of the model Package.


Nested Class Summary
 
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.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
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
 
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, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from interface org.sintef.mofscript.traceabilitymodel.TraceabilitymodelPackage
BLOCK, BLOCK__END_POS, BLOCK__ID, BLOCK__PROTECTED_BLOCK, BLOCK__START_POS, BLOCK__TRACEABLESEGMENT, BLOCK_FEATURE_COUNT, eINSTANCE, eNAME, eNS_PREFIX, eNS_URI, FILE, FILE__BLOCKS, FILE__ID, FILE__NAME, FILE__URI, FILE_FEATURE_COUNT, MODEL_ELEMENT_REF, MODEL_ELEMENT_REF__FEATURE_REF, MODEL_ELEMENT_REF__ID, MODEL_ELEMENT_REF__NAME, MODEL_ELEMENT_REF__URI, MODEL_ELEMENT_REF_FEATURE_COUNT, TRACE, TRACE__ORIGINATING_ELEMENT, TRACE__SEGMENT, TRACE__SOURCE_OPERATION_ID, TRACE__SOURCE_OPERATION_NAME, TRACE_FEATURE_COUNT, TRACE_MODEL, TRACE_MODEL__FILES, TRACE_MODEL__TRACE, TRACE_MODEL_FEATURE_COUNT, TRACEABLE_SEGMENT, TRACEABLE_SEGMENT__END_POS, TRACEABLE_SEGMENT__START_POS, TRACEABLE_SEGMENT_FEATURE_COUNT
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 void createPackageContents()
          Creates the meta-model objects for the package.
 org.eclipse.emf.ecore.EAttribute getBlock_EndPos()
           
 org.eclipse.emf.ecore.EAttribute getBlock_ID()
           
 org.eclipse.emf.ecore.EAttribute getBlock_ProtectedBlock()
           
 org.eclipse.emf.ecore.EAttribute getBlock_StartPos()
           
 org.eclipse.emf.ecore.EReference getBlock_Traceablesegment()
           
 org.eclipse.emf.ecore.EClass getBlock()
           
 org.eclipse.emf.ecore.EReference getFile_Blocks()
           
 org.eclipse.emf.ecore.EAttribute getFile_ID()
           
 org.eclipse.emf.ecore.EAttribute getFile_Name()
           
 org.eclipse.emf.ecore.EAttribute getFile_URI()
           
 org.eclipse.emf.ecore.EClass getFile()
           
 org.eclipse.emf.ecore.EAttribute getModelElementRef_FeatureRef()
           
 org.eclipse.emf.ecore.EAttribute getModelElementRef_ID()
           
 org.eclipse.emf.ecore.EAttribute getModelElementRef_Name()
           
 org.eclipse.emf.ecore.EAttribute getModelElementRef_Uri()
           
 org.eclipse.emf.ecore.EClass getModelElementRef()
           
 org.eclipse.emf.ecore.EReference getTrace_OriginatingElement()
           
 org.eclipse.emf.ecore.EReference getTrace_Segment()
           
 org.eclipse.emf.ecore.EAttribute getTrace_SourceOperationID()
           
 org.eclipse.emf.ecore.EAttribute getTrace_SourceOperationName()
           
 org.eclipse.emf.ecore.EClass getTrace()
           
 TraceabilitymodelFactory getTraceabilitymodelFactory()
           
 org.eclipse.emf.ecore.EAttribute getTraceableSegment_EndPos()
           
 org.eclipse.emf.ecore.EAttribute getTraceableSegment_StartPos()
           
 org.eclipse.emf.ecore.EClass getTraceableSegment()
           
 org.eclipse.emf.ecore.EReference getTraceModel_Files()
           
 org.eclipse.emf.ecore.EReference getTraceModel_Trace()
           
 org.eclipse.emf.ecore.EClass getTraceModel()
           
static TraceabilitymodelPackage init()
          Creates, registers, and initializes the Package for this model, and for any others upon which it depends.
 void initializePackageContents()
          Complete the initialization of the package and its meta-model.
 
Methods inherited from class org.eclipse.emf.ecore.impl.EPackageImpl
addAnnotation, addEEnumLiteral, addEException, addEOperation, addEParameter, basicSetEFactoryInstance, createEAttribute, createEClass, createEDataType, createEEnum, createEReference, createResource, eBasicRemoveFromContainer, eGet, eInverseAdd, eInverseRemove, eIsSet, eSet, eStaticClass, eUnset, fixEClassifiers, fixEEnumLiterals, fixEStructuralFeatures, fixInstanceClass, freeze, getEClassifier, getEClassifiers, getEFactoryInstance, getESubpackages, getESuperPackage, getExtendedMetaData, getNsPrefix, getNsURI, initEAttribute, initEAttribute, initEAttribute, initEAttribute, initEAttribute, initEAttribute, initEClass, initEClass, initEDataType, initEDataType, initEEnum, initEReference, initEReference, initEReference, initEReference, initEReference, initEReference, initializeFromLoadedEPackage, setEFactoryInstance, setExtendedMetaData, setGeneratedClassName, setNamespaceURI, setNsPrefix, setNsURI, toString
 
Methods inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl
getName, getNameGen, setName
 
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eObjectForURIFragmentSegment, eURIFragmentSegment, getEAnnotation, getEAnnotations, isFrozen
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalResource, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount, eStore
 
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.EPackage
getEClassifier, getEClassifiers, getEFactoryInstance, getESubpackages, getESuperPackage, getNsPrefix, getNsURI, setEFactoryInstance, setNsPrefix, setNsURI
 
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement
getName, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Method Detail

init

public static TraceabilitymodelPackage init()
Creates, registers, and initializes the Package for this model, and for any others upon which it depends. Simple dependencies are satisfied by calling this method on all dependent packages before doing anything else. This method drives initialization for interdependent packages directly, in parallel with this package, itself.

Of this package and its interdependencies, all packages which have not yet been registered by their URI values are first created and registered. The packages are then initialized in two steps: meta-model objects for all of the packages are created before any are initialized, since one package's meta-model objects may refer to those of another.

Invocation of this method will not affect any packages that have already been initialized.

See Also:
TraceabilitymodelPackage.eNS_URI, createPackageContents(), initializePackageContents()

getModelElementRef

public org.eclipse.emf.ecore.EClass getModelElementRef()

Specified by:
getModelElementRef in interface TraceabilitymodelPackage
Returns:
the meta object for class 'Model Element Ref'.
See Also:
ModelElementRef

getModelElementRef_ID

public org.eclipse.emf.ecore.EAttribute getModelElementRef_ID()

Specified by:
getModelElementRef_ID in interface TraceabilitymodelPackage
Returns:
the meta object for the attribute 'ID'.
See Also:
ModelElementRef.getID(), TraceabilitymodelPackage.getModelElementRef()

getModelElementRef_Name

public org.eclipse.emf.ecore.EAttribute getModelElementRef_Name()

Specified by:
getModelElementRef_Name in interface TraceabilitymodelPackage
Returns:
the meta object for the attribute 'Name'.
See Also:
ModelElementRef.getName(), TraceabilitymodelPackage.getModelElementRef()

getModelElementRef_FeatureRef

public org.eclipse.emf.ecore.EAttribute getModelElementRef_FeatureRef()

Specified by:
getModelElementRef_FeatureRef in interface TraceabilitymodelPackage
Returns:
the meta object for the attribute 'Feature Ref'.
See Also:
ModelElementRef.getFeatureRef(), TraceabilitymodelPackage.getModelElementRef()

getModelElementRef_Uri

public org.eclipse.emf.ecore.EAttribute getModelElementRef_Uri()

Specified by:
getModelElementRef_Uri in interface TraceabilitymodelPackage
Returns:
the meta object for the attribute 'Uri'.
See Also:
ModelElementRef.getUri(), TraceabilitymodelPackage.getModelElementRef()

getTrace

public org.eclipse.emf.ecore.EClass getTrace()

Specified by:
getTrace in interface TraceabilitymodelPackage
Returns:
the meta object for class 'Trace'.
See Also:
Trace

getTrace_OriginatingElement

public org.eclipse.emf.ecore.EReference getTrace_OriginatingElement()

Specified by:
getTrace_OriginatingElement in interface TraceabilitymodelPackage
Returns:
the meta object for the containment reference 'Originating Element'.
See Also:
Trace.getOriginatingElement(), TraceabilitymodelPackage.getTrace()

getTrace_Segment

public org.eclipse.emf.ecore.EReference getTrace_Segment()

Specified by:
getTrace_Segment in interface TraceabilitymodelPackage
Returns:
the meta object for the reference 'Segment'.
See Also:
Trace.getSegment(), TraceabilitymodelPackage.getTrace()

getTrace_SourceOperationID

public org.eclipse.emf.ecore.EAttribute getTrace_SourceOperationID()

Specified by:
getTrace_SourceOperationID in interface TraceabilitymodelPackage
Returns:
the meta object for the attribute 'Source Operation ID'.
See Also:
Trace.getSourceOperationID(), TraceabilitymodelPackage.getTrace()

getTrace_SourceOperationName

public org.eclipse.emf.ecore.EAttribute getTrace_SourceOperationName()

Specified by:
getTrace_SourceOperationName in interface TraceabilitymodelPackage
Returns:
the meta object for the attribute 'Source Operation Name'.
See Also:
Trace.getSourceOperationName(), TraceabilitymodelPackage.getTrace()

getTraceableSegment

public org.eclipse.emf.ecore.EClass getTraceableSegment()

Specified by:
getTraceableSegment in interface TraceabilitymodelPackage
Returns:
the meta object for class 'Traceable Segment'.
See Also:
TraceableSegment

getTraceableSegment_StartPos

public org.eclipse.emf.ecore.EAttribute getTraceableSegment_StartPos()

Specified by:
getTraceableSegment_StartPos in interface TraceabilitymodelPackage
Returns:
the meta object for the attribute 'Start Pos'.
See Also:
TraceableSegment.getStartPos(), TraceabilitymodelPackage.getTraceableSegment()

getTraceableSegment_EndPos

public org.eclipse.emf.ecore.EAttribute getTraceableSegment_EndPos()

Specified by:
getTraceableSegment_EndPos in interface TraceabilitymodelPackage
Returns:
the meta object for the attribute 'End Pos'.
See Also:
TraceableSegment.getEndPos(), TraceabilitymodelPackage.getTraceableSegment()

getBlock

public org.eclipse.emf.ecore.EClass getBlock()

Specified by:
getBlock in interface TraceabilitymodelPackage
Returns:
the meta object for class 'Block'.
See Also:
Block

getBlock_ID

public org.eclipse.emf.ecore.EAttribute getBlock_ID()

Specified by:
getBlock_ID in interface TraceabilitymodelPackage
Returns:
the meta object for the attribute 'ID'.
See Also:
Block.getID(), TraceabilitymodelPackage.getBlock()

getBlock_StartPos

public org.eclipse.emf.ecore.EAttribute getBlock_StartPos()

Specified by:
getBlock_StartPos in interface TraceabilitymodelPackage
Returns:
the meta object for the attribute 'Start Pos'.
See Also:
Block.getStartPos(), TraceabilitymodelPackage.getBlock()

getBlock_EndPos

public org.eclipse.emf.ecore.EAttribute getBlock_EndPos()

Specified by:
getBlock_EndPos in interface TraceabilitymodelPackage
Returns:
the meta object for the attribute 'End Pos'.
See Also:
Block.getEndPos(), TraceabilitymodelPackage.getBlock()

getBlock_ProtectedBlock

public org.eclipse.emf.ecore.EAttribute getBlock_ProtectedBlock()

Specified by:
getBlock_ProtectedBlock in interface TraceabilitymodelPackage
Returns:
the meta object for the attribute 'Protected Block'.
See Also:
Block.isProtectedBlock(), TraceabilitymodelPackage.getBlock()

getBlock_Traceablesegment

public org.eclipse.emf.ecore.EReference getBlock_Traceablesegment()

Specified by:
getBlock_Traceablesegment in interface TraceabilitymodelPackage
Returns:
the meta object for the containment reference list 'Traceablesegment'.
See Also:
Block.getTraceablesegment(), TraceabilitymodelPackage.getBlock()

getTraceModel

public org.eclipse.emf.ecore.EClass getTraceModel()

Specified by:
getTraceModel in interface TraceabilitymodelPackage
Returns:
the meta object for class 'Trace Model'.
See Also:
TraceModel

getTraceModel_Trace

public org.eclipse.emf.ecore.EReference getTraceModel_Trace()

Specified by:
getTraceModel_Trace in interface TraceabilitymodelPackage
Returns:
the meta object for the containment reference list 'Trace'.
See Also:
TraceModel.getTrace(), TraceabilitymodelPackage.getTraceModel()

getTraceModel_Files

public org.eclipse.emf.ecore.EReference getTraceModel_Files()

Specified by:
getTraceModel_Files in interface TraceabilitymodelPackage
Returns:
the meta object for the containment reference list 'Files'.
See Also:
TraceModel.getFiles(), TraceabilitymodelPackage.getTraceModel()

getFile

public org.eclipse.emf.ecore.EClass getFile()

Specified by:
getFile in interface TraceabilitymodelPackage
Returns:
the meta object for class 'File'.
See Also:
File

getFile_Blocks

public org.eclipse.emf.ecore.EReference getFile_Blocks()

Specified by:
getFile_Blocks in interface TraceabilitymodelPackage
Returns:
the meta object for the containment reference list 'Blocks'.
See Also:
File.getBlocks(), TraceabilitymodelPackage.getFile()

getFile_ID

public org.eclipse.emf.ecore.EAttribute getFile_ID()

Specified by:
getFile_ID in interface TraceabilitymodelPackage
Returns:
the meta object for the attribute 'ID'.
See Also:
File.getID(), TraceabilitymodelPackage.getFile()

getFile_Name

public org.eclipse.emf.ecore.EAttribute getFile_Name()

Specified by:
getFile_Name in interface TraceabilitymodelPackage
Returns:
the meta object for the attribute 'Name'.
See Also:
File.getName(), TraceabilitymodelPackage.getFile()

getFile_URI

public org.eclipse.emf.ecore.EAttribute getFile_URI()

Specified by:
getFile_URI in interface TraceabilitymodelPackage
Returns:
the meta object for the attribute 'URI'.
See Also:
File.getURI(), TraceabilitymodelPackage.getFile()

getTraceabilitymodelFactory

public TraceabilitymodelFactory getTraceabilitymodelFactory()

Specified by:
getTraceabilitymodelFactory in interface TraceabilitymodelPackage
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.