|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.exporting.petrinet.cpnexport.HLImplementation.HLChoice
public class HLChoice
Defines the operations for a choice at a decision point in the process.
For this implementation of a HighLevelChoice the following usage contract exists.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.processmining.framework.models.hlprocess.HighLevelChoice |
---|
HighLevelChoice.ChoiceEnum |
Constructor Summary | |
---|---|
HLChoice(Place source)
Creates a new choice construct within a high level petri net (simulation model). |
Method Summary | |
---|---|
void |
addDataDependency(HighLevelDataDependency dep)
Adds the given data dependency to this choice construct. |
void |
addFrequencyDependency(HighLevelActivity dep)
Adds the given data frequency dependency to this choice construct. |
void |
addProbabilityDependency(HighLevelProbabilityDependency dep)
Adds the given probability dependency to this choice construct. |
java.lang.Object |
clone()
Makes a shallow copy of this object Also, a shallow copy is made of the arrayLists within this object Note that the dependency lists are emptied and will be only filled with the (cloned) dependency objects again on the ColoredPetriNet level. |
boolean |
equals(java.lang.Object obj)
Compares the specified object with this HighLevelChoice for equality. |
HighLevelChoice.ChoiceEnum |
getChoiceConfiguration()
Indicates which kind of information should be used in the simulation model to choose for one of the alternative paths for this choice node. |
ModelGraphVertex |
getChoiceNode()
Returns the choice node associated to this choice construct. |
java.util.List<HighLevelDataDependency> |
getDataDependencies()
Retrieves the data dependencies specified for this choice node. |
java.util.List<HighLevelActivity> |
getFrequencyDependencies()
Retrieves the frequency dependencies specified for this choice node. |
javax.swing.JPanel |
getPanel()
Retrieves the GUI panel representing this object. |
java.util.List<HighLevelProbabilityDependency> |
getProbabilityDependencies()
Retrieves the probability dependencies specified for this choice node. |
int |
hashCode()
Returns the hascode for a HighLevelChoice object. |
void |
removeAllFrequencyDependencies()
Removes all the frequency dependencies |
void |
setChoiceNode(Place node)
Sets the choice node for this choice |
java.lang.String |
toString()
|
void |
updateConfiguration()
Re-create the configuration property. |
void |
updateGUI()
This method will be called as soon as the associated GUI property has changed. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HLChoice(Place source)
source
- the source place for this choiceMethod Detail |
---|
public ModelGraphVertex getChoiceNode()
HighLevelChoice
getChoiceNode
in interface HighLevelChoice
public void setChoiceNode(Place node)
node
- Place the decision pointpublic void addDataDependency(HighLevelDataDependency dep)
HighLevelChoice
addDataDependency
in interface HighLevelChoice
public java.util.List<HighLevelDataDependency> getDataDependencies()
HighLevelChoice
HighLevelChoice.getChoiceConfiguration()
.
getDataDependencies
in interface HighLevelChoice
HighLevelDataDependency
objects representing the
data dependencies provided for this process if available.
The list may be emptypublic void addProbabilityDependency(HighLevelProbabilityDependency dep)
HighLevelChoice
addProbabilityDependency
in interface HighLevelChoice
public java.util.List<HighLevelProbabilityDependency> getProbabilityDependencies()
HighLevelChoice
HighLevelChoice.getChoiceConfiguration()
.
getProbabilityDependencies
in interface HighLevelChoice
HighLevelProbabilityDependency
objects representing the
probability dependencies provided for this process if available.
The list may be emptypublic void addFrequencyDependency(HighLevelActivity dep)
HighLevelChoice
addFrequencyDependency
in interface HighLevelChoice
public java.util.List<HighLevelActivity> getFrequencyDependencies()
HighLevelChoice
HighLevelChoice.getChoiceConfiguration()
.
getFrequencyDependencies
in interface HighLevelChoice
HighLevelActivity
objects representing the
frequency dependency targets provided for this process if available.
The list may be emptypublic void removeAllFrequencyDependencies()
removeAllFrequencyDependencies
in interface HighLevelChoice
public HighLevelChoice.ChoiceEnum getChoiceConfiguration()
HighLevelChoice
getChoiceConfiguration
in interface HighLevelChoice
public javax.swing.JPanel getPanel()
GuiDisplayable
getPanel
in interface GuiDisplayable
public void updateGUI()
GuiNotificationTarget
updateGUI
in interface GuiNotificationTarget
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object clone()
clone
in class java.lang.Object
public boolean equals(java.lang.Object obj)
HighLevelChoice
true
if the following aspects of the HighLevelChoices that compared
are the same:
equals
in interface HighLevelChoice
equals
in class java.lang.Object
obj
- Object
public int hashCode()
HighLevelChoice
hashCode
in interface HighLevelChoice
hashCode
in class java.lang.Object
public void updateConfiguration()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |