Interface ComposedStructure
- All Superinterfaces:
org.eclipse.emf.cdo.CDOObject
,org.eclipse.emf.cdo.common.id.CDOWithID
,Entity
,EObject
,de.uka.ipd.sdq.identifier.Identifier
,NamedElement
,Notifier
,PCMBaseClass
,PCMClass
- All Known Subinterfaces:
ComposedProvidingRequiringEntity
,CompositeComponent
,SubSystem
,System
- All Known Implementing Classes:
ComposedProvidingRequiringEntityImpl
,ComposedStructureImpl
,CompositeComponentImpl
,SubSystemImpl
,SystemImpl
A representation of the model object 'Composed Structure'.
TODO/FIXME: The distinction between ComposedStructure and ComposedProvidingRequiringStructure does not make sense at the moment, because the ComposedStructure already talks about inner provided / required delegation connectors, which only make sense if there are outer roles for interfaces -> ComposedProvidingRequiringStructure. IDEA: Move the delegation connector attributes to ComposedProvidingRequiringStructure. I'm not sure about the assembly connectors. SEE ALSO: ComposedProvidingRequiringStructure
However, as AssemblyContexts of ComposedStructure always contain InterfaceProvidingRequiringEntities at the moment, the above might not help... -- Anne
The following features are supported:
- See Also:
- Generated class or method.
- EMF model class or method.
- abstract="true" annotation="http://www.eclipse.org/emf/2002/Ecore constraints='multipleConnectorsConstraint multipleConnectorsConstraintForAssemblyConnectors'" annotation="http://www.eclipse.org/emf/2002/Ecore/OCL/LPG multipleConnectorsConstraint='self.connectors__ComposedStructure->select(conn | conn.oclIsTypeOf(pcm::core::composition::ProvidedDelegationConnector)).oclAsType(pcm::core::composition::ProvidedDelegationConnector)->forAll( c1, c2 | c1 <> c2 implies c1.outerProvidedRole_ProvidedDelegationConnector <> c2.outerProvidedRole_ProvidedDelegationConnector)\r\n' multipleConnectorsConstraintForAssemblyConnectors='self.connectors__ComposedStructure->select(conn | conn.oclIsTypeOf(pcm::core::composition::AssemblyConnector)).oclAsType(AssemblyConnector)->forAll( c1, c2 | ( (c1 <> c2) and ( c1.requiringAssemblyContext_AssemblyConnector = c2.requiringAssemblyContext_AssemblyConnector ) ) implies c1.requiredRole_AssemblyConnector <> c2.requiredRole_AssemblyConnector )\r\n'"
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Assembly Contexts Composed Structure' containment reference list.Returns the value of the 'Connectors Composed Structure' containment reference list.Returns the value of the 'Event Channel Composed Structure' containment reference list.Returns the value of the 'Resource Required Delegation Connectors Composed Structure' containment reference list.boolean
validateSameSubsystemMustNotBeInstantiatedMoreThanOnce
(DiagnosticChain diagnostics, Map<Object, Object> context) Methods inherited from interface org.eclipse.emf.cdo.CDOObject
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface de.uka.ipd.sdq.identifier.Identifier
getId, setId
Methods inherited from interface org.palladiosimulator.pcm.core.entity.NamedElement
getEntityName, setEntityName
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Field Details
-
copyright
- See Also:
- Generated class or method.
-
-
Method Details
-
getAssemblyContexts__ComposedStructure
EList<AssemblyContext> getAssemblyContexts__ComposedStructure()Returns the value of the 'Assembly Contexts Composed Structure' containment reference list. The list contents are of typeAssemblyContext
. It is bidirectional and its opposite is 'Parent Structure Assembly Context
'.- Returns:
- the value of the 'Assembly Contexts Composed Structure' containment reference list.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="parentStructure__AssemblyContext" containment="true" ordered="false"
-
getResourceRequiredDelegationConnectors_ComposedStructure
EList<ResourceRequiredDelegationConnector> getResourceRequiredDelegationConnectors_ComposedStructure()Returns the value of the 'Resource Required Delegation Connectors Composed Structure' containment reference list. The list contents are of typeResourceRequiredDelegationConnector
. It is bidirectional and its opposite is 'Parent Structure Resource Required Delegation Connector
'.- Returns:
- the value of the 'Resource Required Delegation Connectors Composed Structure' containment reference list.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="parentStructure_ResourceRequiredDelegationConnector" containment="true" ordered="false"
-
getEventChannel__ComposedStructure
EList<EventChannel> getEventChannel__ComposedStructure()Returns the value of the 'Event Channel Composed Structure' containment reference list. The list contents are of typeEventChannel
. It is bidirectional and its opposite is 'Parent Structure Event Channel
'.- Returns:
- the value of the 'Event Channel Composed Structure' containment reference list.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="parentStructure__EventChannel" containment="true" ordered="false"
-
getConnectors__ComposedStructure
Returns the value of the 'Connectors Composed Structure' containment reference list. The list contents are of typeConnector
. It is bidirectional and its opposite is 'Parent Structure Connector
'.- Returns:
- the value of the 'Connectors Composed Structure' containment reference list.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="parentStructure__Connector" containment="true" ordered="false"
-
validateSameSubsystemMustNotBeInstantiatedMoreThanOnce
boolean validateSameSubsystemMustNotBeInstantiatedMoreThanOnce(DiagnosticChain diagnostics, Map<Object, Object> context) - Generated class or method.
- EMF model class or method.
- diagnosticsRequired="true" contextRequired="true" annotation="http://www.eclipse.org/emf/2002/Ecore invariant='true'"
-