|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.analysis.decisionmining.DecisionAttribute
public class DecisionAttribute
Represents a case attribute as it has been observed in the log.
Maintains the corresponding GUI panel where the attribute may be
included or excluded from analysis, and the proper attribute type
may be chosen (such as numeric or nominal).
Furthermore it creates a link to the data mining application
(see #getWekaAttribute getWekaAttribute).
Constructor Summary | |
---|---|
DecisionAttribute(java.lang.String name,
HLPetriNet highLevelPN)
Default constructor. |
Method Summary | |
---|---|
void |
addLogEvent(LogEvent logEvent)
Adds the given log event to the list of log events held for this attribute. |
void |
addToRelatedActivities(HighLevelDataAttribute simAtt)
Adds the given simulation attribute to all high level activities in the associated simulation model that have provided this attribute at least once in the log. |
void |
addValue(java.lang.String newValue)
Adds the passed value to the values already held for this attribute. |
HighLevelDataAttribute |
createSimulationAttribute()
Creates (and assigns) a new data attribute object that can be used in the simulation model. |
boolean |
equals(java.lang.Object o)
Overridden to specify when two DecisionAttribute objects are considered to be equal. |
javax.swing.JPanel |
getAttributePanel()
Retrieves the corresponding GUI panel for this attribute. |
java.util.Set<LogEvent> |
getLogEvents()
Retrieves the set of log events that have provided this attribute. |
java.lang.String |
getName()
Returns the name of this attribute. |
HighLevelDataAttribute |
getSimulationAttribute()
Returns currently held simulation attribute. |
weka.core.Attribute |
getWekaAttribute()
Retrieves this attribute as a weka attribute (regardless whether it was selected by the user or not). |
boolean |
hasBeenObservedBy(LogEvent logEvent)
Determines whether this attribute was attached to audit trail entries which are associated to the given log event. |
int |
hashCode()
Overridden to produce the same hash code for equal objects. |
boolean |
isIncluded()
Determines the selection state of the belonging check box item (i.e., whether the user has or has not chosen the respective attribute to be included into analysis). |
void |
updateGUI()
This method will be called as soon as the associated GUI property has changed. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DecisionAttribute(java.lang.String name, HLPetriNet highLevelPN)
name
- the name of the attributevalues
- the set of values observed in the logMethod Detail |
---|
public java.lang.String getName()
public void addValue(java.lang.String newValue)
newValues
- the new value to be addedpublic void addLogEvent(LogEvent logEvent)
logEvent
- the log event to be addedpublic boolean hasBeenObservedBy(LogEvent logEvent)
logEvent
- the log event to be checked
true
if this attribute was observed for at least one
audit trail entry associated to the given log event, false
otherwisepublic java.util.Set<LogEvent> getLogEvents()
public weka.core.Attribute getWekaAttribute()
public HighLevelDataAttribute createSimulationAttribute()
public HighLevelDataAttribute getSimulationAttribute()
public void addToRelatedActivities(HighLevelDataAttribute simAtt)
simAtt
- the high-level data attribute to be added to relevant high-level activitiespublic javax.swing.JPanel getAttributePanel()
public boolean isIncluded()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the DecisionAttribute
to be compared with
true
if the identifiers are the same,
false
otherwise.public int hashCode()
hashCode
in class java.lang.Object
public void updateGUI()
GuiNotificationTarget
updateGUI
in interface GuiNotificationTarget
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |