Interface Allocation
- 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 Implementing Classes:
AllocationImpl
,AllocationImplGen
A representation of the model object 'Allocation'.
The allocation repository holding all available allocation contexts of a model.
The following features are supported:
- See Also:
- Generated class or method.
- EMF model class or method.
- annotation="http://www.eclipse.org/emf/2002/Ecore constraints='communicatingServersHaveToBeConnectedByLinkingResource'" annotation="http://www.eclipse.org/emf/2002/Ecore/OCL/LPG communicatingServersHaveToBeConnectedByLinkingResource='self.allocationContexts_Allocation->forAll(a | self.allocationContexts_Allocation->forAll(b | \r\n --- if a and b are not on the same server\r\n (a.resourceContainer_AllocationContext <> b.resourceContainer_AllocationContext \r\n and\r\n -- and if the assembly contexts of a and b are connected\r\n self.system_Allocation.connectors__ComposedStructure->select(conn | conn.oclIsTypeOf(pcm::core::composition::AssemblyConnector)).oclAsType(pcm::core::composition::AssemblyConnector)->exists(conn | \r\n (conn.providingAssemblyContext_AssemblyConnector = a.assemblyContext_AllocationContext \r\n and \r\n conn.requiringAssemblyContext_AssemblyConnector = b.assemblyContext_AllocationContext )\r\n or \r\n (conn.providingAssemblyContext_AssemblyConnector = b.assemblyContext_AllocationContext \r\n and \r\n conn.requiringAssemblyContext_AssemblyConnector = a.assemblyContext_AllocationContext )\r\n )\r\n )\r\n -- then the servers have to be connected by a linking resource\r\n implies \r\n self.targetResourceEnvironment_Allocation.linkingResources__ResourceEnvironment->exists(l | \r\n -- l connects the two\r\n l.connectedResourceContainers_LinkingResource->includes(a.resourceContainer_AllocationContext)\r\n and \r\n l.connectedResourceContainers_LinkingResource->includes(b.resourceContainer_AllocationContext)\r\n )\r\n ))'"
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Allocation Contexts Allocation' containment reference list.Returns the value of the 'System Allocation' reference.Returns the value of the 'Target Resource Environment Allocation' reference.void
setSystem_Allocation
(System value) Sets the value of the 'System Allocation
' reference.void
Sets the value of the 'Target Resource Environment Allocation
' reference.boolean
validateEachAssemblyContextWithinSystemHasToBeAllocatedExactlyOnce
(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
-
getTargetResourceEnvironment_Allocation
ResourceEnvironment getTargetResourceEnvironment_Allocation()Returns the value of the 'Target Resource Environment Allocation' reference.- Returns:
- the value of the 'Target Resource Environment Allocation' reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- ordered="false"
-
setTargetResourceEnvironment_Allocation
Sets the value of the 'Target Resource Environment Allocation
' reference.- Parameters:
value
- the new value of the 'Target Resource Environment Allocation' reference.- See Also:
- Generated class or method.
-
getSystem_Allocation
System getSystem_Allocation()Returns the value of the 'System Allocation' reference.- Returns:
- the value of the 'System Allocation' reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- required="true" ordered="false"
-
setSystem_Allocation
Sets the value of the 'System Allocation
' reference.- Parameters:
value
- the new value of the 'System Allocation' reference.- See Also:
- Generated class or method.
-
getAllocationContexts_Allocation
EList<AllocationContext> getAllocationContexts_Allocation()Returns the value of the 'Allocation Contexts Allocation' containment reference list. The list contents are of typeAllocationContext
. It is bidirectional and its opposite is 'Allocation Allocation Context
'.- Returns:
- the value of the 'Allocation Contexts Allocation' containment reference list.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="allocation_AllocationContext" containment="true" ordered="false"
-
validateEachAssemblyContextWithinSystemHasToBeAllocatedExactlyOnce
boolean validateEachAssemblyContextWithinSystemHasToBeAllocatedExactlyOnce(DiagnosticChain diagnostics, Map<Object, Object> context) - Generated class or method.
- EMF model class or method.
- required="true" diagnosticsRequired="true" contextRequired="true" annotation="http://www.eclipse.org/emf/2002/Ecore invariant='true'"
-