Class SimulatedContainerAssemblyAllocationLookupAdapter

  • All Implemented Interfaces:
    de.uka.ipd.sdq.simucomframework.resources.IAssemblyAllocationLookup<de.uka.ipd.sdq.simucomframework.resources.AbstractSimulatedResourceContainer>

    public class SimulatedContainerAssemblyAllocationLookupAdapter
    extends Object
    implements de.uka.ipd.sdq.simucomframework.resources.IAssemblyAllocationLookup<de.uka.ipd.sdq.simucomframework.resources.AbstractSimulatedResourceContainer>
    This adapter provides a lookup of the simulated resource container to which a given assembly is allocated to.
    See Also:
    IAssemblyAllocationLookup
    • Constructor Summary

      Constructors 
      Constructor Description
      SimulatedContainerAssemblyAllocationLookupAdapter​(de.uka.ipd.sdq.simucomframework.resources.IAssemblyAllocationLookup<EntityReference<org.palladiosimulator.pcm.resourceenvironment.ResourceContainer>> allocationLookup, de.uka.ipd.sdq.simucomframework.resources.ISimulatedModelEntityAccess<org.palladiosimulator.pcm.resourceenvironment.ResourceContainer,​de.uka.ipd.sdq.simucomframework.resources.AbstractSimulatedResourceContainer> simulatedEntityAccess)  
    • Constructor Detail

      • SimulatedContainerAssemblyAllocationLookupAdapter

        @Inject
        public SimulatedContainerAssemblyAllocationLookupAdapter​(de.uka.ipd.sdq.simucomframework.resources.IAssemblyAllocationLookup<EntityReference<org.palladiosimulator.pcm.resourceenvironment.ResourceContainer>> allocationLookup,
                                                                 de.uka.ipd.sdq.simucomframework.resources.ISimulatedModelEntityAccess<org.palladiosimulator.pcm.resourceenvironment.ResourceContainer,​de.uka.ipd.sdq.simucomframework.resources.AbstractSimulatedResourceContainer> simulatedEntityAccess)
    • Method Detail

      • getAllocatedEntity

        public de.uka.ipd.sdq.simucomframework.resources.AbstractSimulatedResourceContainer getAllocatedEntity​(String assemblyContextId)
        Specified by:
        getAllocatedEntity in interface de.uka.ipd.sdq.simucomframework.resources.IAssemblyAllocationLookup<de.uka.ipd.sdq.simucomframework.resources.AbstractSimulatedResourceContainer>