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

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.InterfaceImpl
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, Interface, NamedEntity

public class InterfaceImpl
extends NamedEntityImpl
implements Interface

An implementation of the model object 'Interface'.

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<Annotation> annotation
          The cached value of the 'Annotation' containment reference list
protected static java.lang.String COMMUNICATION_STYLE_EDEFAULT
          The default value of the 'Communication Style' attribute
protected  org.eclipse.emf.common.util.EList<Feature> communicationFeature
          The cached value of the 'Communication Feature' containment reference list
protected  java.lang.String communicationStyle
          The cached value of the 'Communication Style' attribute
protected static ConnectionType CONNECTION_TYPE_EDEFAULT
          The default value of the 'Connection Type' attribute
protected  ConnectionType connectionType
          The cached value of the 'Connection Type' attribute
protected  InterfaceType interfaceType
          The cached value of the 'Interface Type' reference
protected static boolean IS_COLLECTION_EDEFAULT
          The default value of the 'Is Collection' attribute
protected  boolean isCollection
          The cached value of the 'Is Collection' attribute
 
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 InterfaceImpl()
           
 
Method Summary
 void addFactoryAnnotation(java.lang.String method, Frame retInstance, Interface retIface)
           
 Feature addFeature(java.lang.String name, java.lang.String value)
           
 InterfaceType basicGetInterfaceType()
           
 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<Annotation> getAnnotation()
           
 org.eclipse.emf.common.util.EList<Feature> getCommunicationFeature()
           
 java.lang.String getCommunicationStyle()
           
 ConnectionType getConnectionType()
           
 InterfaceType getInterfaceType()
           
 boolean isIsCollection()
           
 void setCommunicationStyle(java.lang.String newCommunicationStyle)
           
 void setConnectionType(ConnectionType newConnectionType)
           
 void setInterfaceType(InterfaceType newInterfaceType)
           
 void setIsCollection(boolean newIsCollection)
           
 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, 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

COMMUNICATION_STYLE_EDEFAULT

protected static final java.lang.String COMMUNICATION_STYLE_EDEFAULT
The default value of the 'Communication Style' attribute.

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

communicationStyle

protected java.lang.String communicationStyle
The cached value of the 'Communication Style' attribute.

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

CONNECTION_TYPE_EDEFAULT

protected static final ConnectionType CONNECTION_TYPE_EDEFAULT
The default value of the 'Connection Type' attribute.

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

connectionType

protected ConnectionType connectionType
The cached value of the 'Connection Type' attribute.

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

IS_COLLECTION_EDEFAULT

protected static final boolean IS_COLLECTION_EDEFAULT
The default value of the 'Is Collection' attribute.

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

isCollection

protected boolean isCollection
The cached value of the 'Is Collection' attribute.

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

interfaceType

protected InterfaceType interfaceType
The cached value of the 'Interface Type' reference.

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

annotation

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

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

communicationFeature

protected org.eclipse.emf.common.util.EList<Feature> communicationFeature
The cached value of the 'Communication Feature' containment reference list.

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

InterfaceImpl

protected InterfaceImpl()

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

getCommunicationStyle

public java.lang.String getCommunicationStyle()

Specified by:
getCommunicationStyle in interface Interface
Returns:
the value of the 'Communication Style' attribute.
See Also:
Interface.setCommunicationStyle(String), ModelPackage.getInterface_CommunicationStyle()
Generated from the meta-model

setCommunicationStyle

public void setCommunicationStyle(java.lang.String newCommunicationStyle)

Specified by:
setCommunicationStyle in interface Interface
Parameters:
newCommunicationStyle - the new value of the 'Communication Style' attribute.
See Also:
Interface.getCommunicationStyle()
Generated from the meta-model

getConnectionType

public ConnectionType getConnectionType()

Specified by:
getConnectionType in interface Interface
Returns:
the value of the 'Connection Type' attribute.
See Also:
ConnectionType, Interface.setConnectionType(ConnectionType), ModelPackage.getInterface_ConnectionType()
Generated from the meta-model

setConnectionType

public void setConnectionType(ConnectionType newConnectionType)

Specified by:
setConnectionType in interface Interface
Parameters:
newConnectionType - the new value of the 'Connection Type' attribute.
See Also:
ConnectionType, Interface.getConnectionType()
Generated from the meta-model

isIsCollection

public boolean isIsCollection()

Specified by:
isIsCollection in interface Interface
Returns:
the value of the 'Is Collection' attribute.
See Also:
Interface.setIsCollection(boolean), ModelPackage.getInterface_IsCollection()
Generated from the meta-model

setIsCollection

public void setIsCollection(boolean newIsCollection)

Specified by:
setIsCollection in interface Interface
Parameters:
newIsCollection - the new value of the 'Is Collection' attribute.
See Also:
Interface.isIsCollection()
Generated from the meta-model

getInterfaceType

public InterfaceType getInterfaceType()

Specified by:
getInterfaceType in interface Interface
Returns:
the value of the 'Interface Type' reference.
See Also:
Interface.setInterfaceType(InterfaceType), ModelPackage.getInterface_InterfaceType()
Generated from the meta-model

basicGetInterfaceType

public InterfaceType basicGetInterfaceType()

Generated from the meta-model

setInterfaceType

public void setInterfaceType(InterfaceType newInterfaceType)

Specified by:
setInterfaceType in interface Interface
Parameters:
newInterfaceType - the new value of the 'Interface Type' reference.
See Also:
Interface.getInterfaceType()
Generated from the meta-model

getAnnotation

public org.eclipse.emf.common.util.EList<Annotation> getAnnotation()

Specified by:
getAnnotation in interface Interface
Returns:
the value of the 'Annotation' containment reference list.
See Also:
ModelPackage.getInterface_Annotation()
Generated from the meta-model

getCommunicationFeature

public org.eclipse.emf.common.util.EList<Feature> getCommunicationFeature()

Specified by:
getCommunicationFeature in interface Interface
Returns:
the value of the 'Communication Feature' containment reference list.
See Also:
ModelPackage.getInterface_CommunicationFeature()
Generated from the meta-model

addFeature

public Feature addFeature(java.lang.String name,
                          java.lang.String value)

Specified by:
addFeature in interface Interface
Generated from the meta-model

addFactoryAnnotation

public void addFactoryAnnotation(java.lang.String method,
                                 Frame retInstance,
                                 Interface retIface)

Specified by:
addFactoryAnnotation in interface Interface
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