|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.stp.core.sca.impl.SCAObjectImpl
org.eclipse.stp.core.internal.sca.SCAInternalObjectImpl
org.eclipse.stp.core.sca.impl.CompositeImpl
public class CompositeImpl
An implementation of the model object 'Composite'.
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 | |
---|---|
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)
|
java.util.List |
getAllMatchingSources(WireTarget wireTarget)
|
java.util.List |
getAllMatchingTargets(WireSource wireSource)
|
java.util.Collection |
getAllWiredSources(WireTarget wireTarget)
Return a list of all WireSource elements within this Composite which are wired to the passed wireTarget. |
Component |
getComponent(java.lang.String componentName)
|
java.util.List |
getComponents()
Returns the value of the 'Components' containment reference list. |
java.util.List |
getComponentsGen()
|
org.eclipse.emf.ecore.util.FeatureMap |
getComponentsGroup()
|
EntryPoint |
getEntryPoint(java.lang.String name)
Return an EntryPoint with a matching name. |
java.util.List |
getEntryPoints()
|
ExternalService |
getExternalService(java.lang.String name)
Return an ExternalService with a matching name. |
java.util.List |
getExternalServices()
|
java.lang.String |
getName()
|
WireSource |
resolveWireSource(java.lang.String sourceURI)
Use this API to resolve soure URIs to a WireSource within the
composite. |
WireTarget |
resolveWireTarget(java.lang.String targetURI)
Use this API to resolve target URIs to a WireTarget within the
composite. |
void |
setName(java.lang.String newName)
|
java.lang.String |
toString()
|
Methods inherited from class org.eclipse.stp.core.internal.sca.SCAInternalObjectImpl |
---|
getEObject, getFlags |
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.stp.core.sca.SCAObject |
---|
addStatus, clearStatus, getEObject, getFlags, getStatus |
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 |
---|
public static final java.lang.String copyright
Method Detail |
---|
public java.util.List getEntryPoints()
getEntryPoints
in interface Composite
SCAPackage.getComposite_EntryPoints()
public org.eclipse.emf.ecore.util.FeatureMap getComponentsGroup()
public java.util.List getExternalServices()
getExternalServices
in interface Composite
SCAPackage.getComposite_ExternalServices()
public java.util.List getComponentsGen()
public java.lang.String getName()
getName
in interface Composite
getName
in interface SCAObject
getName
in class SCAInternalObjectImpl
Composite.setName(String)
,
SCAPackage.getComposite_Name()
public void setName(java.lang.String newName)
setName
in interface Composite
setName
in interface SCAObject
setName
in class SCAInternalObjectImpl
newName
- The name of this SCAObjectComposite.getName()
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)
eInverseRemove
in interface org.eclipse.emf.ecore.InternalEObject
eInverseRemove
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature, boolean resolve)
eGet
in interface org.eclipse.emf.ecore.EObject
eGet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.EObject
eSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
eUnset
in interface org.eclipse.emf.ecore.EObject
eUnset
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
eIsSet
in interface org.eclipse.emf.ecore.EObject
eIsSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.String toString()
toString
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public Component getComponent(java.lang.String componentName)
getComponent
in interface Composite
componentName
- The name of configurable to search for
Component
of the given name, if available or
null otherwise.public java.util.List getAllMatchingTargets(WireSource wireSource)
getAllMatchingTargets
in interface Composite
wireSource
- A non-null WireSource (generally one of 'EntryPoint' or
'ReferenceValue'
public java.util.List getAllMatchingSources(WireTarget wireTarget)
getAllMatchingSources
in interface Composite
wireTarget
- a non-null WireTarget (generally one of 'ExternalService' or
'Service')
public ExternalService getExternalService(java.lang.String name)
Composite
ExternalService
with a matching name.
getExternalService
in interface Composite
public WireTarget resolveWireTarget(java.lang.String targetURI)
Composite
WireTarget
within the
composite. The targetURI in the form "[Component name]/[opt service name]"
when pointing to a service on a Component. The service name is optional if
there is only one service on the Component. It is an error condition if
the service name is not provided and there is more than one service on the
component. In this situation the targetInterface is optional.
The targetURI for an ExternalService will be in the form "[ExternalService
name]". No service name is required for an ExternalService since it is by
definition a single service. In this situation the targetInterface is
optional.
resolveWireTarget
in interface Composite
public WireSource resolveWireSource(java.lang.String sourceURI)
Composite
WireSource
within the
composite. The sourceURI in the form "[Component name]/[reference name]"
when pointing to a reference on a Component.
The sourceURI for an EntryPoint
will be in the form "[EntryPoint
name]".
resolveWireSource
in interface Composite
public EntryPoint getEntryPoint(java.lang.String name)
Composite
EntryPoint
with a matching name.
getEntryPoint
in interface Composite
public java.util.Collection getAllWiredSources(WireTarget wireTarget)
Composite
getAllWiredSources
in interface Composite
WireSource
public java.util.List getComponents()
Composite
Component
.
If the meaning of the 'Components' containment reference list isn't clear, there really should be more of a description here...
getComponents
in interface Composite
SCAPackage.getComposite_Components()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |