Class ResourceContainerAdapter
java.lang.Object
org.palladiosimulator.protocom.model.ModelAdapter<org.palladiosimulator.pcm.resourceenvironment.ResourceContainer>
org.palladiosimulator.protocom.model.resourceenvironment.ResourceContainerAdapter
public class ResourceContainerAdapter
extends ModelAdapter<org.palladiosimulator.pcm.resourceenvironment.ResourceContainer>
Adapter class for PCM ResourceContainer entities.
-
Field Summary
Fields inherited from class org.palladiosimulator.protocom.model.ModelAdapter
entity
-
Constructor Summary
ConstructorDescriptionResourceContainerAdapter
(org.palladiosimulator.pcm.resourceenvironment.ResourceContainer entity) -
Method Summary
Modifier and TypeMethodDescriptionGets the CPU processing rate.Gets the HDD processing rate.getId()
Gets the ID.Methods inherited from class org.palladiosimulator.protocom.model.ModelAdapter
getBasePackageName, getEntity, getName, getSafeName, getSafeName, safeSpecification
-
Constructor Details
-
ResourceContainerAdapter
public ResourceContainerAdapter(org.palladiosimulator.pcm.resourceenvironment.ResourceContainer entity)
-
-
Method Details
-
getId
Gets the ID.- Returns:
- a string containing the ID
-
getCpuRate
Gets the CPU processing rate.- Returns:
- a string containing the specification of the CPU processing rate
-
getHddRate
Gets the HDD processing rate.- Returns:
- a string containing the specification of the HDD processing rate
-