org.eclipse.ohf.stem.core.model.impl
Class ModelPackageImpl

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.FlatEObjectImpl
                  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.eclipse.ohf.stem.core.model.impl.ModelPackageImpl
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, ModelPackage

public class ModelPackageImpl
extends org.eclipse.emf.ecore.impl.EPackageImpl
implements ModelPackage

An implementation of the model Package.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>
 
Nested classes/interfaces inherited from interface org.eclipse.ohf.stem.core.model.ModelPackage
ModelPackage.Literals
 
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.EObjectImpl
ELAST_EOBJECT_FLAG
 
Fields inherited from interface org.eclipse.ohf.stem.core.model.ModelPackage
DECORATOR, DECORATOR__DUBLIN_CORE, DECORATOR__GRAPH, DECORATOR__LABELS_TO_UPDATE, DECORATOR__TYPE_URI, DECORATOR__URI, DECORATOR_FEATURE_COUNT, EDGE_DECORATOR, EDGE_DECORATOR__DUBLIN_CORE, EDGE_DECORATOR__GRAPH, EDGE_DECORATOR__LABELS_TO_UPDATE, EDGE_DECORATOR__TYPE_URI, EDGE_DECORATOR__URI, EDGE_DECORATOR_FEATURE_COUNT, eINSTANCE, eNAME, eNS_PREFIX, eNS_URI, GRAPH_DECORATOR, GRAPH_DECORATOR__DUBLIN_CORE, GRAPH_DECORATOR__GRAPH, GRAPH_DECORATOR__LABELS_TO_UPDATE, GRAPH_DECORATOR__TYPE_URI, GRAPH_DECORATOR__URI, GRAPH_DECORATOR_FEATURE_COUNT, MODEL, MODEL__DUBLIN_CORE, MODEL__EDGE_DECORATORS, MODEL__GRAPH_DECORATORS, MODEL__GRAPHS, MODEL__MODELS, MODEL__NODE_DECORATORS, MODEL__TYPE_URI, MODEL__URI, MODEL_FEATURE_COUNT, NODE_DECORATOR, NODE_DECORATOR__DUBLIN_CORE, NODE_DECORATOR__GRAPH, NODE_DECORATOR__LABELS_TO_UPDATE, NODE_DECORATOR__TYPE_URI, NODE_DECORATOR__URI, NODE_DECORATOR_FEATURE_COUNT, STEM_TIME, STEM_TIME__TIME, STEM_TIME_FEATURE_COUNT, URI
 
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.EReference getDecorator_Graph()
           
 org.eclipse.emf.ecore.EReference getDecorator_LabelsToUpdate()
           
 org.eclipse.emf.ecore.EClass getDecorator()
           
 org.eclipse.emf.ecore.EClass getEdgeDecorator()
           
 org.eclipse.emf.ecore.EClass getGraphDecorator()
           
 org.eclipse.emf.ecore.EReference getModel_EdgeDecorators()
           
 org.eclipse.emf.ecore.EReference getModel_GraphDecorators()
           
 org.eclipse.emf.ecore.EReference getModel_Graphs()
           
 org.eclipse.emf.ecore.EReference getModel_Models()
           
 org.eclipse.emf.ecore.EReference getModel_NodeDecorators()
           
 org.eclipse.emf.ecore.EClass getModel()
           
 ModelFactory getModelFactory()
           
 org.eclipse.emf.ecore.EClass getNodeDecorator()
           
 org.eclipse.emf.ecore.EAttribute getSTEMTime_Time()
           
 org.eclipse.emf.ecore.EClass getSTEMTime()
           
 org.eclipse.emf.ecore.EDataType getURI()
           
static ModelPackage 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
basicGetESuperPackage, basicSetEFactoryInstance, eBasicRemoveFromContainerFeature, eGet, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eSet, eSetProxyURI, eUnset, freeze, getEClassifier, getEClassifierGen, getEClassifiers, getEFactoryInstance, getESubpackages, getESuperPackage, getExtendedMetaData, getNsPrefix, getNsURI, setEFactoryInstance, setExtendedMetaData, setNamespaceURI, setNsPrefix, setNsURI, toString
 
Methods inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl
eContents, eCrossReferences, getName, getNameGen, setName
 
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eURIFragmentSegment, getEAnnotation, getEAnnotations
 
Methods inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl
eIsProxy, eProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eSetClass, eSetDeliver
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
equals, 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 ModelPackage 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:
ModelPackage.eNS_URI, createPackageContents(), initializePackageContents()

getDecorator

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

Specified by:
getDecorator in interface ModelPackage
Returns:
the meta object for class 'Decorator'.
See Also:
Decorator

getDecorator_LabelsToUpdate

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

Specified by:
getDecorator_LabelsToUpdate in interface ModelPackage
Returns:
the meta object for the reference list 'Labels To Update'.
See Also:
Decorator.getLabelsToUpdate(), ModelPackage.getDecorator()

getDecorator_Graph

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

Specified by:
getDecorator_Graph in interface ModelPackage
Returns:
the meta object for the container reference 'Graph'.
See Also:
Decorator.getGraph(), ModelPackage.getDecorator()

getEdgeDecorator

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

Specified by:
getEdgeDecorator in interface ModelPackage
Returns:
the meta object for class 'Edge Decorator'.
See Also:
EdgeDecorator

getGraphDecorator

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

Specified by:
getGraphDecorator in interface ModelPackage
Returns:
the meta object for class 'Graph Decorator'.
See Also:
GraphDecorator

getModel

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

Specified by:
getModel in interface ModelPackage
Returns:
the meta object for class 'Model'.
See Also:
Model

getModel_Models

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

Specified by:
getModel_Models in interface ModelPackage
Returns:
the meta object for the reference list 'Models'.
See Also:
Model.getModels(), ModelPackage.getModel()

getModel_Graphs

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

Specified by:
getModel_Graphs in interface ModelPackage
Returns:
the meta object for the reference list 'Graphs'.
See Also:
Model.getGraphs(), ModelPackage.getModel()

getModel_GraphDecorators

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

Specified by:
getModel_GraphDecorators in interface ModelPackage
Returns:
the meta object for the reference list 'Graph Decorators'.
See Also:
Model.getGraphDecorators(), ModelPackage.getModel()

getModel_NodeDecorators

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

Specified by:
getModel_NodeDecorators in interface ModelPackage
Returns:
the meta object for the reference list 'Node Decorators'.
See Also:
Model.getNodeDecorators(), ModelPackage.getModel()

getModel_EdgeDecorators

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

Specified by:
getModel_EdgeDecorators in interface ModelPackage
Returns:
the meta object for the reference list 'Edge Decorators'.
See Also:
Model.getEdgeDecorators(), ModelPackage.getModel()

getNodeDecorator

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

Specified by:
getNodeDecorator in interface ModelPackage
Returns:
the meta object for class 'Node Decorator'.
See Also:
NodeDecorator

getSTEMTime

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

Specified by:
getSTEMTime in interface ModelPackage
Returns:
the meta object for class 'STEM Time'.
See Also:
STEMTime

getSTEMTime_Time

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

Specified by:
getSTEMTime_Time in interface ModelPackage
Returns:
the meta object for the attribute 'Time'.
See Also:
STEMTime.getTime(), ModelPackage.getSTEMTime()

getURI

public org.eclipse.emf.ecore.EDataType getURI()

Specified by:
getURI in interface ModelPackage
Returns:
the meta object for data type 'URI'.
See Also:
URI

getModelFactory

public ModelFactory getModelFactory()

Specified by:
getModelFactory in interface ModelPackage
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.