de.uka.ipd.sdq.pcm.allocation
Interface Allocation

All Superinterfaces:
Entity, Identifier, NamedElement
All Known Implementing Classes:
AllocationImpl

public interface Allocation
extends Entity

A representation of the model object 'Allocation'.

The following features are supported:

See Also:
AllocationPackage.getAllocation()

Field Summary
static String copyright
           
 
Method Summary
 boolean EachAssemblyContextWithinSystemHasToBeAllocatedExactlyOnce(DiagnosticChain diagnostics, Map<Object,Object> context)
          self.system_Allocation.assemblyContexts_ComposedStructure->forAll(assemblyCtx|self.allocationContexts_Allocation->select(allocationCtx|allocationCtx.assemblyContext_AllocationContext = assemblyCtx)->size() = 1)
  getAllocationContexts_Allocation()
          Returns the value of the 'Allocation Contexts Allocation' containment reference list.
 System getSystem_Allocation()
          Returns the value of the 'System Allocation' reference.
 ResourceEnvironment getTargetResourceEnvironment_Allocation()
          Returns the value of the 'Target Resource Environment Allocation' reference.
 void setSystem_Allocation(System value)
          Sets the value of the 'System Allocation' reference.
 void setTargetResourceEnvironment_Allocation(ResourceEnvironment value)
          Sets the value of the 'Target Resource Environment Allocation' reference.
 
Methods inherited from interface de.uka.ipd.sdq.identifier.Identifier
getId, idHasToBeUnique, setId
 
Methods inherited from interface de.uka.ipd.sdq.pcm.core.entity.NamedElement
getEntityName, setEntityName
 

Field Detail

copyright

static final String copyright

See Also:
Constant Field Values
Method Detail

getAllocationContexts_Allocation

 getAllocationContexts_Allocation()
Returns the value of the 'Allocation Contexts Allocation' containment reference list. The list contents are of type AllocationContext.

If the meaning of the 'Allocation Contexts Allocation' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Allocation Contexts Allocation' containment reference list.
See Also:
AllocationPackage.getAllocation_AllocationContexts_Allocation()

getTargetResourceEnvironment_Allocation

ResourceEnvironment getTargetResourceEnvironment_Allocation()
Returns the value of the 'Target Resource Environment Allocation' reference.

If the meaning of the 'Target Resource Environment Allocation' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Target Resource Environment Allocation' reference.
See Also:
setTargetResourceEnvironment_Allocation(ResourceEnvironment), AllocationPackage.getAllocation_TargetResourceEnvironment_Allocation()

setTargetResourceEnvironment_Allocation

void setTargetResourceEnvironment_Allocation(ResourceEnvironment value)
Sets the value of the 'Target Resource Environment Allocation' reference.

Parameters:
value - the new value of the 'Target Resource Environment Allocation' reference.
See Also:
getTargetResourceEnvironment_Allocation()

getSystem_Allocation

System getSystem_Allocation()
Returns the value of the 'System Allocation' reference.

If the meaning of the 'System Allocation' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'System Allocation' reference.
See Also:
setSystem_Allocation(de.uka.ipd.sdq.pcm.system.System), AllocationPackage.getAllocation_System_Allocation()

setSystem_Allocation

void setSystem_Allocation(System value)
Sets the value of the 'System Allocation' reference.

Parameters:
value - the new value of the 'System Allocation' reference.
See Also:
getSystem_Allocation()

EachAssemblyContextWithinSystemHasToBeAllocatedExactlyOnce

boolean EachAssemblyContextWithinSystemHasToBeAllocatedExactlyOnce(DiagnosticChain diagnostics,
                                                                   Map<Object,Object> context)
self.system_Allocation.assemblyContexts_ComposedStructure->forAll(assemblyCtx|self.allocationContexts_Allocation->select(allocationCtx|allocationCtx.assemblyContext_AllocationContext = assemblyCtx)->size() = 1)

Parameters:
diagnostics - The chain of diagnostics to which problems are to be appended.
context - The cache of context-specific information.