Class ActiveResourceRep
- java.lang.Object
-
- edu.kit.ipd.sdq.eventsim.instrumentation.description.resource.ActiveResourceRep
-
- All Implemented Interfaces:
Instrumentable
,ResourceRepresentative
public class ActiveResourceRep extends Object implements ResourceRepresentative
Represents an active resource by the ids of the correspondingResourceContainer
andResourceType
.- See Also:
ResourceRule
-
-
Constructor Summary
Constructors Constructor Description ActiveResourceRep()
ActiveResourceRep(String specificationId, String resourceTypeId)
ActiveResourceRep(org.palladiosimulator.pcm.resourceenvironment.ResourceContainer resourceContainer, org.palladiosimulator.pcm.resourcetype.ResourceType resourceType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getResourceContainerId()
Class<? extends ResourceRepresentative>
getResourceType()
String
getResourceTypeId()
int
hashCode()
void
setResourceContainerId(String resourceContainerId)
void
setResourceTypeId(String resourceTypeId)
-
-
-
Method Detail
-
getResourceContainerId
public String getResourceContainerId()
-
setResourceContainerId
public void setResourceContainerId(String resourceContainerId)
-
getResourceTypeId
public String getResourceTypeId()
-
setResourceTypeId
public void setResourceTypeId(String resourceTypeId)
-
getResourceType
public Class<? extends ResourceRepresentative> getResourceType()
- Specified by:
getResourceType
in interfaceResourceRepresentative
-
-