|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.exporting.petrinet.cpnexport.HLImplementation.HLActivity
public class HLActivity
Represents some standalone activity that can be filled with
simulation information.
A set of these activities can be exported by a plugin and
later combined with aggregate information from other plugins.
HLActivitySet
Constructor Summary | |
---|---|
HLActivity(HLActivitySet parent,
java.lang.String name)
Default constructor. |
Method Summary | |
---|---|
void |
addDataAttribute(HighLevelDataAttribute att)
Adds a new data attribute to this activity. |
java.lang.Object |
clone()
Makes a shallow copy of the object |
java.util.List<HighLevelDataAttribute> |
getDataAttributes()
Retrieves the list of data attributes available for this activity. |
Distribution |
getExecutionTime()
Retrieves the distribution of the execution time for this activity. |
int |
getFrequencyDependency()
Sets the frequency dependency specified for this activity. |
HighLevelGroup |
getGroup()
Retrieves the group for this activity. |
java.lang.String |
getName()
Retrieves the name of the activity |
Distribution |
getSojournTime()
Retrieves the distribution of the sojourn time for this activity. |
Distribution |
getWaitingTime()
Retrieves the distribution of the waiting time for this activity. |
java.lang.Object |
partialClone()
Partially clones the object. |
void |
removeAllDataAttributes()
Removes all data attributes from this activity. |
boolean |
removeDataAttribute(HighLevelDataAttribute att)
Removes the given data attribute from this activity. |
boolean |
removeGroup(HighLevelGroup group)
Removes the given group from this activity. |
void |
setExecutionTime(Distribution dist)
Provides a distribution of the execution time for this activity. |
void |
setFrequencyDependency(int freq)
Adds a frequency dependency to this activity. |
void |
setGroup(HighLevelGroup group)
Defines a group for this activity. |
void |
setName(java.lang.String name)
Sets the name of the activity |
void |
setParentProcess(HighLevelProcess parent)
Sets the parent process of the highlevelactivity. |
void |
setSojournTime(Distribution dist)
Provides a distribution of the sojourn time for this activity. |
void |
setWaitingTime(Distribution dist)
Provides a distribution of the waiting time for this activity. |
java.lang.String |
toString()
Returns the name of the highlevelactivity |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.processmining.framework.models.hlprocess.HighLevelActivity |
---|
equals, hashCode |
Constructor Detail |
---|
public HLActivity(HLActivitySet parent, java.lang.String name)
parent
- HLActivitySet the activity set based simulation modelMethod Detail |
---|
public void setParentProcess(HighLevelProcess parent)
HighLevelActivity
setParentProcess
in interface HighLevelActivity
parent
- HighLevelProcess the parent processpublic java.lang.Object clone()
clone
in interface HighLevelActivity
clone
in class java.lang.Object
public java.lang.Object partialClone()
partialClone
in interface HighLevelActivity
public void addDataAttribute(HighLevelDataAttribute att)
HighLevelActivity
addDataAttribute
in interface HighLevelActivity
att
- the attributed to be addedpublic java.util.List<HighLevelDataAttribute> getDataAttributes()
HighLevelActivity
getDataAttributes
in interface HighLevelActivity
public Distribution getExecutionTime()
HighLevelActivity
getExecutionTime
in interface HighLevelActivity
HighLevelActivity.getWaitingTime()
,
HighLevelActivity.getSojournTime()
,
HighLevelProcess.getTimeUnit()
public int getFrequencyDependency()
HighLevelActivity
getFrequencyDependency
in interface HighLevelActivity
HighLevelProcess.getDataDependencies()
,
HighLevelProcess.getProbabilityDependencies()
public HighLevelGroup getGroup()
HighLevelActivity
getGroup
in interface HighLevelActivity
Null
otherwisepublic Distribution getSojournTime()
HighLevelActivity
getSojournTime
in interface HighLevelActivity
HighLevelActivity.getExecutionTime()
,
HighLevelActivity.getWaitingTime()
,
HighLevelProcess.getTimeUnit()
public Distribution getWaitingTime()
HighLevelActivity
getWaitingTime
in interface HighLevelActivity
HighLevelActivity.getExecutionTime()
,
HighLevelActivity.getSojournTime()
,
HighLevelProcess.getTimeUnit()
public void removeAllDataAttributes()
HighLevelActivity
removeAllDataAttributes
in interface HighLevelActivity
public boolean removeDataAttribute(HighLevelDataAttribute att)
HighLevelActivity
removeDataAttribute
in interface HighLevelActivity
att
- the attribute to be removed
true
if the data attribute was found and removed,
false
otherwisepublic boolean removeGroup(HighLevelGroup group)
HighLevelActivity
removeGroup
in interface HighLevelActivity
group
- HighLevelGroup the group to be removed
true
if the group was found and removed,
false
otherwise.public void setExecutionTime(Distribution dist)
HighLevelActivity
setExecutionTime
in interface HighLevelActivity
dist
- the distribution of the execution timeHighLevelActivity.setWaitingTime(Distribution)
,
HighLevelActivity.setSojournTime(Distribution)
,
HighLevelProcess#setTimeUnit()
public void setFrequencyDependency(int freq)
HighLevelActivity
setFrequencyDependency
in interface HighLevelActivity
freq
- the frequency dependency to be addedHighLevelProcess#addDataDependency(DataDependency)
,
HighLevelProcess#addProbabilityDependency(ProbabilityDependency)
public void setGroup(HighLevelGroup group)
HighLevelActivity
setGroup
in interface HighLevelActivity
group
- the group of resources that may execute this activitypublic void setSojournTime(Distribution dist)
HighLevelActivity
setSojournTime
in interface HighLevelActivity
dist
- the distribution of the sojourn timeHighLevelActivity.setExecutionTime(Distribution)
,
HighLevelActivity.setWaitingTime(Distribution)
,
HighLevelProcess#setTimeUnit()
public void setWaitingTime(Distribution dist)
HighLevelActivity
setWaitingTime
in interface HighLevelActivity
dist
- the distribution of the waiting timeHighLevelActivity.setExecutionTime(Distribution)
,
HighLevelActivity.setSojournTime(Distribution)
,
HighLevelProcess#setTimeUnit()
public void setName(java.lang.String name)
HighLevelActivity
setName
in interface HighLevelActivity
name
- String the namepublic java.lang.String getName()
HighLevelActivity
getName
in interface HighLevelActivity
public java.lang.String toString()
HighLevelActivity
toString
in interface HighLevelActivity
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |