org.objectweb.dsrg.sofa.repository.model.impl
Class VersionedEntityImpl

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.objectweb.dsrg.sofa.repository.model.impl.NamedEntityImpl
                      extended by org.objectweb.dsrg.sofa.repository.model.impl.VersionedEntityImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder, org.eclipse.emf.ecore.InternalEObject, NamedEntity, VersionedEntity
Direct Known Subclasses:
ArchitectureImpl, AspectImpl, AssemblyDescriptorImpl, CodeBundleImpl, DeploymentPlanImpl, FrameImpl, InterfaceTypeImpl, MicroComponentImpl, MicroInterfaceTypeImpl

public abstract class VersionedEntityImpl
extends NamedEntityImpl
implements VersionedEntity

An implementation of the model object 'Versioned Entity'.

The following features are implemented:

Generated from the meta-model

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.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 java.lang.Object & org.eclipse.emf.common.notify.Adapter>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected  org.eclipse.emf.common.util.EList<Info> info
          The cached value of the 'Info' containment reference list
protected  boolean locked
          The cached value of the 'Locked' attribute
protected static boolean LOCKED_EDEFAULT
          The default value of the 'Locked' attribute
protected  Version version
          The cached value of the 'Version' containment reference
 
Fields inherited from class org.objectweb.dsrg.sofa.repository.model.impl.NamedEntityImpl
name, NAME_EDEFAULT
 
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
 
Constructor Summary
protected VersionedEntityImpl()
           
 
Method Summary
 Info addInfo(java.lang.String name, java.lang.String value)
           
 Info addTag(java.lang.String value)
           
 Version basicGetVersion()
           
 org.eclipse.emf.common.notify.NotificationChain basicSetVersion(Version newVersion, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 org.eclipse.emf.common.util.EList<Info> getInfo()
           
 Version getVersion()
           
 boolean isLocked()
           
 Info removeTag(java.lang.String value)
           
 void setLocked(boolean newLocked)
           
 void setVersion(Version newVersion)
           
 java.lang.String toString()
           
 
Methods inherited from class org.objectweb.dsrg.sofa.repository.model.impl.NamedEntityImpl
getName, setName
 
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, eBasicAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eBasicHasAdapters, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eURIFragmentSegment, 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.objectweb.dsrg.sofa.repository.model.NamedEntity
getName, setName
 
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
 

Field Detail

LOCKED_EDEFAULT

protected static final boolean LOCKED_EDEFAULT
The default value of the 'Locked' attribute.

See Also:
isLocked(), Constant Field Values
Generated from the meta-model
Ordered (meta-model)

locked

protected boolean locked
The cached value of the 'Locked' attribute.

See Also:
isLocked()
Generated from the meta-model
Ordered (meta-model)

version

protected Version version
The cached value of the 'Version' containment reference.

See Also:
getVersion()
Generated from the meta-model
Ordered (meta-model)

info

protected org.eclipse.emf.common.util.EList<Info> info
The cached value of the 'Info' containment reference list.

See Also:
getInfo()
Generated from the meta-model
Ordered (meta-model)
Constructor Detail

VersionedEntityImpl

protected VersionedEntityImpl()

Generated from the meta-model
Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class NamedEntityImpl
Generated from the meta-model

isLocked

public boolean isLocked()

Specified by:
isLocked in interface VersionedEntity
Returns:
the value of the 'Locked' attribute.
See Also:
VersionedEntity.setLocked(boolean), ModelPackage.getVersionedEntity_Locked()
Generated from the meta-model

setLocked

public void setLocked(boolean newLocked)

Specified by:
setLocked in interface VersionedEntity
Parameters:
newLocked - the new value of the 'Locked' attribute.
See Also:
VersionedEntity.isLocked()
Generated from the meta-model

getVersion

public Version getVersion()

Specified by:
getVersion in interface VersionedEntity
Returns:
the value of the 'Version' containment reference.
See Also:
VersionedEntity.setVersion(Version), ModelPackage.getVersionedEntity_Version(), Version.getEntity()
Generated from the meta-model

basicGetVersion

public Version basicGetVersion()

Generated from the meta-model

basicSetVersion

public org.eclipse.emf.common.notify.NotificationChain basicSetVersion(Version newVersion,
                                                                       org.eclipse.emf.common.notify.NotificationChain msgs)

Generated from the meta-model

setVersion

public void setVersion(Version newVersion)

Specified by:
setVersion in interface VersionedEntity
Parameters:
newVersion - the new value of the 'Version' containment reference.
See Also:
VersionedEntity.getVersion()
Generated from the meta-model

getInfo

public org.eclipse.emf.common.util.EList<Info> getInfo()

Specified by:
getInfo in interface VersionedEntity
Returns:
the value of the 'Info' containment reference list.
See Also:
ModelPackage.getVersionedEntity_Info()
Generated from the meta-model

addInfo

public Info addInfo(java.lang.String name,
                    java.lang.String value)

Specified by:
addInfo in interface VersionedEntity
Generated from the meta-model

addTag

public Info addTag(java.lang.String value)

Specified by:
addTag in interface VersionedEntity
Generated from the meta-model

removeTag

public Info removeTag(java.lang.String value)

Specified by:
removeTag in interface VersionedEntity
Generated from the meta-model

eInverseAdd

public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                   int featureID,
                                                                   org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseAdd in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
Generated from the meta-model

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
Generated from the meta-model

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class NamedEntityImpl
Generated from the meta-model

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class NamedEntityImpl
Generated from the meta-model

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class NamedEntityImpl
Generated from the meta-model

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class NamedEntityImpl
Generated from the meta-model

toString

public java.lang.String toString()

Overrides:
toString in class NamedEntityImpl
Generated from the meta-model