org.eclipse.stp.core.sca.impl
Class ServiceImpl

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.stp.core.sca.impl.SCAObjectImpl
                  extended by org.eclipse.stp.core.internal.sca.SCAInternalObjectImpl
                      extended by org.eclipse.stp.core.sca.impl.ServiceImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, SCAInternalObject, AbstractService, SCAObject, Service
Direct Known Subclasses:
ModuleServiceImpl

public class ServiceImpl
extends SCAInternalObjectImpl
implements Service

An implementation of the model object 'Service'.

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
static java.lang.String copyright
           
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain basicSetInterface(Interface newInterface, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature, boolean resolve)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, java.lang.Class baseClass, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature, java.lang.Object newValue)
           
 void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 org.eclipse.emf.ecore.util.FeatureMap getAny()
           
 org.eclipse.emf.ecore.util.FeatureMap getAnyAttribute()
           
 int getFlags()
          Return an int for the flags associated with this SOAObject.
 Interface getInterface()
           
 org.eclipse.emf.ecore.util.FeatureMap getInterfaceGroup()
           
 java.lang.String getName()
           
 boolean matches(AbstractReference reference)
           
 void setInterface(Interface newInterface)
           
 void setInterfaceGen(Interface newInterface)
           
 void setName(java.lang.String newName)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.stp.core.internal.sca.SCAInternalObjectImpl
getEObject
 
Methods inherited from class org.eclipse.stp.core.sca.impl.SCAObjectImpl
addStatus, clearStatus, getStatus
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, 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.EObject
eAllContents, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eResource
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eNotify
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

copyright

public static final java.lang.String copyright

See Also:
Constant Field Values
Method Detail

getInterfaceGroup

public org.eclipse.emf.ecore.util.FeatureMap getInterfaceGroup()


getInterface

public Interface getInterface()

Specified by:
getInterface in interface AbstractService
Specified by:
getInterface in interface Service
Returns:
Interface
See Also:
FeatureAdapter, FeatureAdapter.getFeature(SCAObject)

basicSetInterface

public org.eclipse.emf.common.notify.NotificationChain basicSetInterface(Interface newInterface,
                                                                         org.eclipse.emf.common.notify.NotificationChain msgs)


setInterface

public void setInterface(Interface newInterface)

Specified by:
setInterface in interface Service
Parameters:
newInterface - The Interface for this Service. Clients are required to set the correct feature before calling this method.
See Also:
FeatureAdapter, FeatureAdapter.setFeature(SCAObject, EStructuralFeature)

setInterfaceGen

public void setInterfaceGen(Interface newInterface)


getAny

public org.eclipse.emf.ecore.util.FeatureMap getAny()

Specified by:
getAny in interface Service
Returns:
the value of the 'Any' attribute list.
See Also:
SCAPackage.getService_Any()

getName

public java.lang.String getName()

Specified by:
getName in interface SCAObject
Specified by:
getName in interface Service
Overrides:
getName in class SCAInternalObjectImpl
Returns:
The name of this SCAObject
See Also:
Service.setName(String), SCAPackage.getService_Name()

setName

public void setName(java.lang.String newName)

Specified by:
setName in interface SCAObject
Specified by:
setName in interface Service
Overrides:
setName in class SCAInternalObjectImpl
Parameters:
newName - The name of this SCAObject
See Also:
Service.getName()

getAnyAttribute

public org.eclipse.emf.ecore.util.FeatureMap getAnyAttribute()

Specified by:
getAnyAttribute in interface Service
Returns:
the value of the 'Any Attribute' attribute list.
See Also:
SCAPackage.getService_AnyAttribute()

eInverseRemove

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

Specified by:
eInverseRemove in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eGet

public java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                             boolean resolve)

Specified by:
eGet in interface org.eclipse.emf.ecore.EObject
Overrides:
eGet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eSet

public void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.EObject
Overrides:
eSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eUnset

public void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)

Specified by:
eUnset in interface org.eclipse.emf.ecore.EObject
Overrides:
eUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eIsSet

public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.EObject
Overrides:
eIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

toString

public java.lang.String toString()

Overrides:
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

getFlags

public int getFlags()
Description copied from interface: SCAObject
Return an int for the flags associated with this SOAObject. Use Flags to test the flags returned as well as constants for the flags.

Specified by:
getFlags in interface SCAObject
Overrides:
getFlags in class SCAInternalObjectImpl
Returns:
int
See Also:
Flags

matches

public boolean matches(AbstractReference reference)
Specified by:
matches in interface AbstractService
Parameters:
reference - The AbstractReference to test for compatibility.
Returns:
boolean True if and only if the Interface of the given reference is compatible with this service.