Class PassiveResourceRep
- java.lang.Object
-
- edu.kit.ipd.sdq.eventsim.instrumentation.description.resource.PassiveResourceRep
-
- All Implemented Interfaces:
Instrumentable
,ResourceRepresentative
public class PassiveResourceRep extends Object implements ResourceRepresentative
Represents a passive resource by the ids of the correspondingPassiveResource
and theAssemblyContext
.- See Also:
ResourceRule
-
-
Constructor Summary
Constructors Constructor Description PassiveResourceRep()
PassiveResourceRep(String specificationId, String assemblyContextId)
PassiveResourceRep(org.palladiosimulator.pcm.repository.PassiveResource specification, org.palladiosimulator.pcm.core.composition.AssemblyContext assCtx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getAssemblyContextId()
Class<? extends ResourceRepresentative>
getResourceType()
String
getSpecificationId()
int
hashCode()
void
setAssemblyContextId(String assemblyContextId)
void
setSpecificationId(String specificationId)
-
-
-
Method Detail
-
getSpecificationId
public String getSpecificationId()
-
setSpecificationId
public void setSpecificationId(String specificationId)
-
getAssemblyContextId
public String getAssemblyContextId()
-
setAssemblyContextId
public void setAssemblyContextId(String assemblyContextId)
-
getResourceType
public Class<? extends ResourceRepresentative> getResourceType()
- Specified by:
getResourceType
in interfaceResourceRepresentative
-
-