|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Composite
A representation of the model object 'Composite'.
This interface is not intended to be implemented by clients.
The following features are supported:
SCAPackage.getComposite()
Field Summary | |
---|---|
static java.lang.String |
copyright
|
Method Summary | |
---|---|
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. |
EntryPoint |
getEntryPoint(java.lang.String name)
Return an EntryPoint with a matching name. |
java.util.List |
getEntryPoints()
Returns the value of the 'Entry Points' containment reference list. |
ExternalService |
getExternalService(java.lang.String name)
Return an ExternalService with a matching name. |
java.util.List |
getExternalServices()
Returns the value of the 'External Services' containment reference list. |
java.lang.String |
getName()
Returns the value of the 'Name' attribute. |
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 value)
Sets the value of the ' Name '
attribute. |
Methods inherited from interface org.eclipse.stp.core.sca.SCAObject |
---|
addStatus, clearStatus, getEObject, getFlags, getStatus |
Field Detail |
---|
static final java.lang.String copyright
Method Detail |
---|
java.util.List getEntryPoints()
EntryPoint
.
If the meaning of the 'Entry Points' containment reference list isn't clear, there really should be more of a description here...
SCAPackage.getComposite_EntryPoints()
java.util.List getExternalServices()
ExternalService
.
If the meaning of the 'External Services' containment reference list isn't clear, there really should be more of a description here...
SCAPackage.getComposite_ExternalServices()
java.util.List getComponents()
Component
.
If the meaning of the 'Components' containment reference list isn't clear, there really should be more of a description here...
SCAPackage.getComposite_Components()
java.lang.String getName()
If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...
getName
in interface SCAObject
setName(String)
,
SCAPackage.getComposite_Name()
void setName(java.lang.String value)
Name
'
attribute.
setName
in interface SCAObject
value
- the new value of the 'Name' attribute.getName()
java.util.List getAllMatchingTargets(WireSource wireSource)
wireSource
- A non-null WireSource (generally one of 'EntryPoint' or
'ReferenceValue'
java.util.List getAllMatchingSources(WireTarget wireTarget)
wireTarget
- a non-null WireTarget (generally one of 'ExternalService' or
'Service')
java.util.Collection getAllWiredSources(WireTarget wireTarget)
wireTarget
-
WireSource
ExternalService getExternalService(java.lang.String name)
ExternalService
with a matching name.
name
-
EntryPoint getEntryPoint(java.lang.String name)
EntryPoint
with a matching name.
name
-
WireTarget resolveWireTarget(java.lang.String targetURI)
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.
targetURI
-
WireSource resolveWireSource(java.lang.String sourceURI)
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]".
sourceURI
-
Component getComponent(java.lang.String componentName)
componentName
- The name of configurable to search for
Component
of the given name, if available or
null otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |