org.eclipse.epsilon.emc.emf.virtual.impl
Class VirtualPackageImpl

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.MinimalEObjectImpl
              extended by org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
                  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.epsilon.emc.emf.virtual.impl.VirtualPackageImpl
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, VirtualPackage

public class VirtualPackageImpl
extends org.eclipse.emf.ecore.impl.EPackageImpl
implements VirtualPackage

An implementation of the model Package.


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.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.epsilon.emc.emf.virtual.VirtualPackage
VirtualPackage.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 interface org.eclipse.epsilon.emc.emf.virtual.VirtualPackage
BOOLEAN_SLOT, BOOLEAN_SLOT__OWNER, BOOLEAN_SLOT__TYPE, BOOLEAN_SLOT__VALUES, BOOLEAN_SLOT_FEATURE_COUNT, eINSTANCE, eNAME, eNS_PREFIX, eNS_URI, FLOAT_SLOT, FLOAT_SLOT__OWNER, FLOAT_SLOT__TYPE, FLOAT_SLOT__VALUES, FLOAT_SLOT_FEATURE_COUNT, INTEGER_SLOT, INTEGER_SLOT__OWNER, INTEGER_SLOT__TYPE, INTEGER_SLOT__VALUES, INTEGER_SLOT_FEATURE_COUNT, REFERENCE_SLOT, REFERENCE_SLOT__OWNER, REFERENCE_SLOT__TYPE, REFERENCE_SLOT__VALUES, REFERENCE_SLOT_FEATURE_COUNT, SLOT, SLOT__OWNER, SLOT__TYPE, SLOT_FEATURE_COUNT, STRING_SLOT, STRING_SLOT__OWNER, STRING_SLOT__TYPE, STRING_SLOT__VALUES, STRING_SLOT_FEATURE_COUNT, TYPED_ELEMENT, TYPED_ELEMENT__TYPE, TYPED_ELEMENT_FEATURE_COUNT, VIRTUAL_MODEL, VIRTUAL_MODEL__OBJECTS, VIRTUAL_MODEL_FEATURE_COUNT, VIRTUAL_OBJECT, VIRTUAL_OBJECT__MODEL, VIRTUAL_OBJECT__SLOTS, VIRTUAL_OBJECT__TYPE, VIRTUAL_OBJECT_FEATURE_COUNT
 
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
 
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 getBooleanSlot_Values()
           
 org.eclipse.emf.ecore.EClass getBooleanSlot()
           
 org.eclipse.emf.ecore.EAttribute getFloatSlot_Values()
           
 org.eclipse.emf.ecore.EClass getFloatSlot()
           
 org.eclipse.emf.ecore.EAttribute getIntegerSlot_Values()
           
 org.eclipse.emf.ecore.EClass getIntegerSlot()
           
 org.eclipse.emf.ecore.EReference getReferenceSlot_Values()
           
 org.eclipse.emf.ecore.EClass getReferenceSlot()
           
 org.eclipse.emf.ecore.EReference getSlot_Owner()
           
 org.eclipse.emf.ecore.EClass getSlot()
           
 org.eclipse.emf.ecore.EAttribute getStringSlot_Values()
           
 org.eclipse.emf.ecore.EClass getStringSlot()
           
 org.eclipse.emf.ecore.EAttribute getTypedElement_Type()
           
 org.eclipse.emf.ecore.EClass getTypedElement()
           
 VirtualFactory getVirtualFactory()
           
 org.eclipse.emf.ecore.EReference getVirtualModel_Objects()
           
 org.eclipse.emf.ecore.EClass getVirtualModel()
           
 org.eclipse.emf.ecore.EReference getVirtualObject_Model()
           
 org.eclipse.emf.ecore.EReference getVirtualObject_Slots()
           
 org.eclipse.emf.ecore.EClass getVirtualObject()
           
static VirtualPackage 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, eInvoke, 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.MinimalEObjectImpl.Container
eInternalContainer
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eClass, eContainerFeatureID, eDeliver, eDirectResource, eIsProxy, eProxyURI, eSetClass, eSetDeliver
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvoke, 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, eInvoke, 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 VirtualPackage 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:
VirtualPackage.eNS_URI, createPackageContents(), initializePackageContents()

getVirtualModel

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

Specified by:
getVirtualModel in interface VirtualPackage
Returns:
the meta object for class 'Model'.
See Also:
VirtualModel

getVirtualModel_Objects

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

Specified by:
getVirtualModel_Objects in interface VirtualPackage
Returns:
the meta object for the containment reference list 'Objects'.
See Also:
VirtualModel.getObjects(), VirtualPackage.getVirtualModel()

getTypedElement

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

Specified by:
getTypedElement in interface VirtualPackage
Returns:
the meta object for class 'Typed Element'.
See Also:
TypedElement

getTypedElement_Type

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

Specified by:
getTypedElement_Type in interface VirtualPackage
Returns:
the meta object for the attribute 'Type'.
See Also:
TypedElement.getType(), VirtualPackage.getTypedElement()

getVirtualObject

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

Specified by:
getVirtualObject in interface VirtualPackage
Returns:
the meta object for class 'Object'.
See Also:
VirtualObject

getVirtualObject_Model

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

Specified by:
getVirtualObject_Model in interface VirtualPackage
Returns:
the meta object for the container reference 'Model'.
See Also:
VirtualObject.getModel(), VirtualPackage.getVirtualObject()

getVirtualObject_Slots

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

Specified by:
getVirtualObject_Slots in interface VirtualPackage
Returns:
the meta object for the containment reference list 'Slots'.
See Also:
VirtualObject.getSlots(), VirtualPackage.getVirtualObject()

getSlot

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

Specified by:
getSlot in interface VirtualPackage
Returns:
the meta object for class 'Slot'.
See Also:
Slot

getSlot_Owner

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

Specified by:
getSlot_Owner in interface VirtualPackage
Returns:
the meta object for the container reference 'Owner'.
See Also:
Slot.getOwner(), VirtualPackage.getSlot()

getStringSlot

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

Specified by:
getStringSlot in interface VirtualPackage
Returns:
the meta object for class 'String Slot'.
See Also:
StringSlot

getStringSlot_Values

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

Specified by:
getStringSlot_Values in interface VirtualPackage
Returns:
the meta object for the attribute list 'Values'.
See Also:
StringSlot.getValues(), VirtualPackage.getStringSlot()

getIntegerSlot

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

Specified by:
getIntegerSlot in interface VirtualPackage
Returns:
the meta object for class 'Integer Slot'.
See Also:
IntegerSlot

getIntegerSlot_Values

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

Specified by:
getIntegerSlot_Values in interface VirtualPackage
Returns:
the meta object for the attribute list 'Values'.
See Also:
IntegerSlot.getValues(), VirtualPackage.getIntegerSlot()

getBooleanSlot

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

Specified by:
getBooleanSlot in interface VirtualPackage
Returns:
the meta object for class 'Boolean Slot'.
See Also:
BooleanSlot

getBooleanSlot_Values

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

Specified by:
getBooleanSlot_Values in interface VirtualPackage
Returns:
the meta object for the attribute list 'Values'.
See Also:
BooleanSlot.getValues(), VirtualPackage.getBooleanSlot()

getFloatSlot

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

Specified by:
getFloatSlot in interface VirtualPackage
Returns:
the meta object for class 'Float Slot'.
See Also:
FloatSlot

getFloatSlot_Values

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

Specified by:
getFloatSlot_Values in interface VirtualPackage
Returns:
the meta object for the attribute list 'Values'.
See Also:
FloatSlot.getValues(), VirtualPackage.getFloatSlot()

getReferenceSlot

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

Specified by:
getReferenceSlot in interface VirtualPackage
Returns:
the meta object for class 'Reference Slot'.
See Also:
ReferenceSlot

getReferenceSlot_Values

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

Specified by:
getReferenceSlot_Values in interface VirtualPackage
Returns:
the meta object for the reference list 'Values'.
See Also:
ReferenceSlot.getValues(), VirtualPackage.getReferenceSlot()

getVirtualFactory

public VirtualFactory getVirtualFactory()

Specified by:
getVirtualFactory in interface VirtualPackage
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.