public class PcmBeagleMappings extends Object implements Serializable
| Constructor and Description |
|---|
PcmBeagleMappings() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPcmIdOf(ExternalCallParameter externalCallParameter,
String identifier)
Stores the
identifier used for loop in the PCM repository. |
void |
addPcmIdOf(ResourceDemandingInternalAction rdia,
String identifier)
Stores the
identifier used for rdia in the PCM repository. |
void |
addPcmIdOf(SeffBranch branch,
String identifier)
Stores the
identifier used for branch in the PCM repository. |
void |
addPcmIdOf(SeffLoop loop,
String identifier)
Stores the
identifier used for loop in the PCM repository. |
String |
getPcmIdOf(ExternalCallParameter externalCallParameter)
Gets the identifier used for
loop in the PCM repository. |
String |
getPcmIdOf(ResourceDemandingInternalAction rdia)
Gets the identifier used for
rdia in the PCM repository. |
String |
getPcmIdOf(SeffBranch branch)
Gets the identifier used for
branch in the PCM repository. |
String |
getPcmIdOf(SeffLoop loop)
Gets the identifier used for
loop in the PCM repository. |
boolean |
hasPcmIdOf(ExternalCallParameter externalCallParameter)
Query whether this mapping contains a PCM identifier for
ExternalCallParameter. |
boolean |
hasPcmIdOf(ResourceDemandingInternalAction rdia)
Query whether this mapping contains a PCM identifier for
rdia. |
boolean |
hasPcmIdOf(SeffBranch branch)
Query whether this mapping contains a PCM identifier for
branch. |
boolean |
hasPcmIdOf(SeffLoop loop)
Query whether this mapping contains a PCM identifier for
loop. |
public String getPcmIdOf(ResourceDemandingInternalAction rdia)
rdia in the PCM repository.rdia - A resource demanding internal action. Must not be null.rdia in the PCM repository if
this.hasPcmIdOf(rdia) returns true. null otherwise.public String getPcmIdOf(SeffBranch branch)
branch in the PCM repository.branch - A SEFF branch. Must not be null.branch in the PCM repository if
this.hasPcmIdOf(branch) returns true. null
otherwise.public String getPcmIdOf(SeffLoop loop)
loop in the PCM repository.loop - A SEFF loop. Must not be null.loop in the PCM repository if
this.hasPcmIdOf(loop) returns true. null otherwise.public String getPcmIdOf(ExternalCallParameter externalCallParameter)
loop in the PCM repository.externalCallParameter - An ExternalCallParameter. Must not be null.externalCallParameter in the PCM repository
if this.hasPcmIdOf(externalCallParameter) returns true.
null otherwise.public boolean hasPcmIdOf(ResourceDemandingInternalAction rdia)
rdia.rdia - A resource demanding internal action. Must not be null.true only if this mapping contains a PCM identifier for
rdia.public boolean hasPcmIdOf(SeffBranch branch)
branch.branch - A SEFF branch. Must not be null.true only if this mapping contains a PCM identifier for
branch.public boolean hasPcmIdOf(SeffLoop loop)
loop.loop - A SEFF loop. Must not be null.true only if this mapping contains a PCM identifier for
loop.public boolean hasPcmIdOf(ExternalCallParameter externalCallParameter)
ExternalCallParameter.externalCallParameter - An ExternalCallParamter. Must not be null.true only if this mapping contains a PCM identifier for
ExternalCallParameter.public void addPcmIdOf(ResourceDemandingInternalAction rdia, String identifier)
identifier used for rdia in the PCM repository.rdia - A resource demanding internal action. Must not be null.identifier - The identifier used for rdia in the PCM repository. Must
not be null.IllegalStateException - If there is already another identifier assigned to
rdia. More formally: if
this.hasPcmIdOf(rdia) && !this.getPcmIdOf(rdia).equals(identifier)public void addPcmIdOf(SeffBranch branch, String identifier)
identifier used for branch in the PCM repository.branch - A SEFF branch. Must not be null.identifier - The identifier used for branch in the PCM repository.
Must not be null.IllegalStateException - If there is already another identifier assigned to
branch. More formally: if
this.hasPcmIdOf(branch) && !this.getPcmIdOf(branch).equals(identifier)public void addPcmIdOf(SeffLoop loop, String identifier)
identifier used for loop in the PCM repository.loop - A SEFF loop. Must not be null.identifier - The identifier used for loop in the PCM repository. Must
not be null.IllegalStateException - If there is already another identifier assigned to
loop. More formally: if
this.hasPcmIdOf(loop) && !this.getPcmIdOf(loop).equals(identifier)public void addPcmIdOf(ExternalCallParameter externalCallParameter, String identifier)
identifier used for loop in the PCM repository.externalCallParameter - An ExternalCallParamete. Must not be null.identifier - The identifier used for externalCallParameter in the PCM
repository. Must not be null.IllegalStateException - If there is already another identifier assigned to
externalCallParameter. More formally: if
this.hasPcmIdOf(externalCallParameter) && !this.getPcmIdOf(externalCallParameter).equals(identifier)