|
||||||||||
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.ComponentImpl
public abstract class ComponentImpl
An implementation of the model object 'Component'.
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.stp.core.sca.Component |
---|
STATE_ABSTRACT, STATE_IMPLEMENTED, STATE_TYPED, TYPE_ABSTRACT |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
EOPPOSITE_FEATURE_BASE |
Method Summary | |
---|---|
org.eclipse.emf.common.notify.NotificationChain |
basicSetPropertyValuesSet(PropertyValuesSet newPropertyValuesSet,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetReferenceValuesSet(ReferenceValuesSet newReferenceValuesSet,
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 |
eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
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)
|
Composite |
getComposite()
|
java.lang.String |
getName()
|
PropertyValuesSet |
getPropertyValuesSet()
|
java.util.List |
getReferenceValues()
|
java.util.List |
getReferenceValues(Reference reference)
|
java.util.List |
getReferenceValues(java.lang.String referenceName)
|
ReferenceValuesSet |
getReferenceValuesSet()
|
WireSource |
getSingleWireSource()
|
WireTarget |
getSingleWireTarget()
|
WireSource |
getWireSource(Reference reference)
|
WireSource |
getWireSource(java.lang.String referenceName)
|
java.util.Collection |
getWireSourcesWiredToTarget(WireTarget wireTarget)
Return a collection of WireSource elements that have a wire to the passed wireTarget. |
WireTarget |
getWireTarget(Service service)
|
WireTarget |
getWireTarget(java.lang.String serviceName)
|
boolean |
hasValidAbstractType()
Invocations of this method may result in the resolution of the ComponentType. |
void |
setName(java.lang.String newName)
|
void |
setPropertyValuesSet(PropertyValuesSet newPropertyValuesSet)
|
void |
setReferenceValue(Reference reference,
WireTarget target)
Create a new ReferenceValue that uses the reference as the source
and the passed target to configure the target value. |
void |
setReferenceValuesSet(ReferenceValuesSet newReferenceValuesSet)
|
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, 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.Component |
---|
getImplementation, getState, getType, resolveComponentType, setAbstractImplementation, setSpecializedImplementation |
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 PropertyValuesSet getPropertyValuesSet()
getPropertyValuesSet
in interface Component
Component.setPropertyValuesSet(PropertyValuesSet)
,
SCAPackage.getComponent_PropertyValuesSet()
public org.eclipse.emf.common.notify.NotificationChain basicSetPropertyValuesSet(PropertyValuesSet newPropertyValuesSet, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setPropertyValuesSet(PropertyValuesSet newPropertyValuesSet)
setPropertyValuesSet
in interface Component
newPropertyValuesSet
- the new value of the 'Property Values Set'
containment reference.Component.getPropertyValuesSet()
public ReferenceValuesSet getReferenceValuesSet()
public org.eclipse.emf.common.notify.NotificationChain basicSetReferenceValuesSet(ReferenceValuesSet newReferenceValuesSet, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setReferenceValuesSet(ReferenceValuesSet newReferenceValuesSet)
public java.lang.String getName()
getName
in interface Component
getName
in interface SCAObject
getName
in class SCAInternalObjectImpl
Component.setName(String)
,
SCAPackage.getComponent_Name()
public void setName(java.lang.String newName)
setName
in interface Component
setName
in interface SCAObject
setName
in class SCAInternalObjectImpl
newName
- The name of this SCAObjectComponent.getName()
public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, java.lang.Class baseClass, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseAdd
in interface org.eclipse.emf.ecore.InternalEObject
eInverseAdd
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
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 Composite getComposite()
getComposite
in interface Component
Composite
which owns this Component.public void setReferenceValue(Reference reference, WireTarget target)
Component
ReferenceValue
that uses the reference as the source
and the passed target to configure the target value.
setReferenceValue
in interface Component
reference
- The reference from this Configurable's type representation.target
- The endpoint that the reference should resolve toReferenceValue
,
WireSource.createWireToTarget(WireTarget)
public java.util.List getReferenceValues()
getReferenceValues
in interface Component
ReferenceValue
objects for this component.public java.util.List getReferenceValues(java.lang.String referenceName)
getReferenceValues
in interface Component
ReferenceValue
elements for the
passed referenceName. The list will contain at most one entry if
the multiplicity of the passed reference is one.public java.util.List getReferenceValues(Reference reference)
getReferenceValues
in interface Component
ReferenceValue
elements for the
passed reference. The list will contain at most one entry if the
multiplicity of the passed reference is one.public WireTarget getWireTarget(java.lang.String serviceName)
getWireTarget
in interface Component
serviceName
- The name of the service on this Configurable's abstract type
WireTarget
for the passed serviceName. The serviceName
must match the name of a service defined on the
ComponentType
otherwise null will be returned.public WireSource getWireSource(java.lang.String referenceName)
getWireSource
in interface Component
WireSource
for the passed referenceName. The
referenceName must match the name of a reference defined on the
ComponentType
otherwise null will be returned.public WireSource getWireSource(Reference reference)
getWireSource
in interface Component
WireSource
for the passed reference. The reference must
be a matching reference defined on the ComponentType
otherwise null will be returned.public WireSource getSingleWireSource()
getSingleWireSource
in interface Component
WireSource
only if there is one reference available on
this Component.public java.util.Collection getWireSourcesWiredToTarget(WireTarget wireTarget)
Component
getWireSourcesWiredToTarget
in interface Component
public WireTarget getWireTarget(Service service)
getWireTarget
in interface Component
service
- The Service on this Configurable's abstract type
WireTarget
for the passed service. The service must be a
matching service defined on the ComponentType
otherwise
null will be returned.public WireTarget getSingleWireTarget()
getSingleWireTarget
in interface Component
WireTarget
only if there is one service available on
this Component.public boolean hasValidAbstractType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |