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

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
                          extended by org.objectweb.dsrg.sofa.repository.model.impl.ArchitectureImpl
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, Architecture, NamedEntity, VersionedEntity

public class ArchitectureImpl
extends VersionedEntityImpl
implements Architecture

An implementation of the model object 'Architecture'.

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<EnvironmentAssumption> assumption
          The cached value of the 'Assumption' containment reference list
protected  CodeBundle codeBundle
          The cached value of the 'Code Bundle' reference
protected  org.eclipse.emf.common.util.EList<Connection> connection
          The cached value of the 'Connection' containment reference list
protected  java.lang.String implementation
          The cached value of the 'Implementation' attribute
protected static java.lang.String IMPLEMENTATION_EDEFAULT
          The default value of the 'Implementation' attribute
protected  org.eclipse.emf.common.util.EList<Frame> implements_
          The cached value of the 'Implements' reference list
protected  org.eclipse.emf.common.util.EList<MappedProperty> mappedProperty
          The cached value of the 'Mapped Property' containment reference list
protected  org.eclipse.emf.common.util.EList<Property> property
          The cached value of the 'Property' containment reference list
protected  org.eclipse.emf.common.util.EList<SubcomponentInstance> subcomponent
          The cached value of the 'Subcomponent' containment reference list
 
Fields inherited from class org.objectweb.dsrg.sofa.repository.model.impl.VersionedEntityImpl
info, locked, LOCKED_EDEFAULT, version
 
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 ArchitectureImpl()
           
 
Method Summary
 Connection addConnection()
           
 EnvironmentAssumption addEnvironmentAssumption(java.lang.String name, java.lang.String value, AssumptionKind kind)
           
 MappedProperty addMappedProperty(java.lang.String name, java.lang.String type, java.lang.String subcompPropName, SubcomponentInstance subc)
           
 Property addProperty(java.lang.String name, java.lang.String type)
           
 SubcomponentInstance addSubcomponentByArch(java.lang.String name, Architecture arch, Frame frame, boolean isCol)
           
 SubcomponentInstance addSubcomponentByFrame(java.lang.String name, Frame frame, boolean isCol)
           
 CodeBundle basicGetCodeBundle()
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 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<EnvironmentAssumption> getAssumption()
           
 CodeBundle getCodeBundle()
           
 org.eclipse.emf.common.util.EList<Connection> getConnection()
           
 java.lang.String getImplementation()
           
 org.eclipse.emf.common.util.EList<Frame> getImplements()
           
 org.eclipse.emf.common.util.EList<MappedProperty> getMappedProperty()
           
 org.eclipse.emf.common.util.EList<Property> getProperty()
           
 org.eclipse.emf.common.util.EList<SubcomponentInstance> getSubcomponent()
           
 boolean isComposite()
           
 void setCodeBundle(CodeBundle newCodeBundle)
           
 void setImplementation(java.lang.String newImplementation)
           
 java.lang.String toString()
           
 
Methods inherited from class org.objectweb.dsrg.sofa.repository.model.impl.VersionedEntityImpl
addInfo, addTag, basicGetVersion, basicSetVersion, eInverseAdd, getInfo, getVersion, isLocked, removeTag, setLocked, setVersion
 
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.VersionedEntity
addInfo, addTag, getInfo, getVersion, isLocked, removeTag, setLocked, setVersion
 
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

IMPLEMENTATION_EDEFAULT

protected static final java.lang.String IMPLEMENTATION_EDEFAULT
The default value of the 'Implementation' attribute.

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

implementation

protected java.lang.String implementation
The cached value of the 'Implementation' attribute.

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

implements_

protected org.eclipse.emf.common.util.EList<Frame> implements_
The cached value of the 'Implements' reference list.

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

property

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

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

subcomponent

protected org.eclipse.emf.common.util.EList<SubcomponentInstance> subcomponent
The cached value of the 'Subcomponent' containment reference list.

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

connection

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

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

mappedProperty

protected org.eclipse.emf.common.util.EList<MappedProperty> mappedProperty
The cached value of the 'Mapped Property' containment reference list.

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

codeBundle

protected CodeBundle codeBundle
The cached value of the 'Code Bundle' reference.

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

assumption

protected org.eclipse.emf.common.util.EList<EnvironmentAssumption> assumption
The cached value of the 'Assumption' containment reference list.

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

ArchitectureImpl

protected ArchitectureImpl()

Generated from the meta-model
Method Detail

eStaticClass

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

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

getImplementation

public java.lang.String getImplementation()

Specified by:
getImplementation in interface Architecture
Returns:
the value of the 'Implementation' attribute.
See Also:
Architecture.setImplementation(String), ModelPackage.getArchitecture_Implementation()
Generated from the meta-model

setImplementation

public void setImplementation(java.lang.String newImplementation)

Specified by:
setImplementation in interface Architecture
Parameters:
newImplementation - the new value of the 'Implementation' attribute.
See Also:
Architecture.getImplementation()
Generated from the meta-model

getImplements

public org.eclipse.emf.common.util.EList<Frame> getImplements()

Specified by:
getImplements in interface Architecture
Returns:
the value of the 'Implements' reference list.
See Also:
ModelPackage.getArchitecture_Implements()
Generated from the meta-model

getProperty

public org.eclipse.emf.common.util.EList<Property> getProperty()

Specified by:
getProperty in interface Architecture
Returns:
the value of the 'Property' containment reference list.
See Also:
ModelPackage.getArchitecture_Property()
Generated from the meta-model

getSubcomponent

public org.eclipse.emf.common.util.EList<SubcomponentInstance> getSubcomponent()

Specified by:
getSubcomponent in interface Architecture
Returns:
the value of the 'Subcomponent' containment reference list.
See Also:
ModelPackage.getArchitecture_Subcomponent()
Generated from the meta-model

getConnection

public org.eclipse.emf.common.util.EList<Connection> getConnection()

Specified by:
getConnection in interface Architecture
Returns:
the value of the 'Connection' containment reference list.
See Also:
ModelPackage.getArchitecture_Connection()
Generated from the meta-model

getMappedProperty

public org.eclipse.emf.common.util.EList<MappedProperty> getMappedProperty()

Specified by:
getMappedProperty in interface Architecture
Returns:
the value of the 'Mapped Property' containment reference list.
See Also:
ModelPackage.getArchitecture_MappedProperty()
Generated from the meta-model

getCodeBundle

public CodeBundle getCodeBundle()

Specified by:
getCodeBundle in interface Architecture
Returns:
the value of the 'Code Bundle' reference.
See Also:
Architecture.setCodeBundle(CodeBundle), ModelPackage.getArchitecture_CodeBundle()
Generated from the meta-model

basicGetCodeBundle

public CodeBundle basicGetCodeBundle()

Generated from the meta-model

setCodeBundle

public void setCodeBundle(CodeBundle newCodeBundle)

Specified by:
setCodeBundle in interface Architecture
Parameters:
newCodeBundle - the new value of the 'Code Bundle' reference.
See Also:
Architecture.getCodeBundle()
Generated from the meta-model

getAssumption

public org.eclipse.emf.common.util.EList<EnvironmentAssumption> getAssumption()

Specified by:
getAssumption in interface Architecture
Returns:
the value of the 'Assumption' containment reference list.
See Also:
ModelPackage.getArchitecture_Assumption()
Generated from the meta-model

addSubcomponentByFrame

public SubcomponentInstance addSubcomponentByFrame(java.lang.String name,
                                                   Frame frame,
                                                   boolean isCol)

Specified by:
addSubcomponentByFrame in interface Architecture
Generated from the meta-model

addSubcomponentByArch

public SubcomponentInstance addSubcomponentByArch(java.lang.String name,
                                                  Architecture arch,
                                                  Frame frame,
                                                  boolean isCol)

Specified by:
addSubcomponentByArch in interface Architecture
Generated from the meta-model

addConnection

public Connection addConnection()

Specified by:
addConnection in interface Architecture
Generated from the meta-model

addProperty

public Property addProperty(java.lang.String name,
                            java.lang.String type)

Specified by:
addProperty in interface Architecture
Generated from the meta-model

addMappedProperty

public MappedProperty addMappedProperty(java.lang.String name,
                                        java.lang.String type,
                                        java.lang.String subcompPropName,
                                        SubcomponentInstance subc)

Specified by:
addMappedProperty in interface Architecture
Generated from the meta-model

addEnvironmentAssumption

public EnvironmentAssumption addEnvironmentAssumption(java.lang.String name,
                                                      java.lang.String value,
                                                      AssumptionKind kind)

Specified by:
addEnvironmentAssumption in interface Architecture
Generated from the meta-model

isComposite

public boolean isComposite()

Specified by:
isComposite in interface Architecture
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 VersionedEntityImpl
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 VersionedEntityImpl
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 VersionedEntityImpl
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 VersionedEntityImpl
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 VersionedEntityImpl
Generated from the meta-model

toString

public java.lang.String toString()

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