public abstract class Filter extends java.lang.Object implements java.lang.Comparable<Filter>
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Filter o) |
abstract void |
constructWidget()
Abstract method that constructs a JComponent to enable the user to change the
parameters.
|
abstract org.deckfour.xes.model.XLog |
filter()
Abstract method that filters the log using this filter and these parameters.
|
org.deckfour.xes.model.XLog |
filter(boolean doTime)
Filters the log while timing the filtering.
|
ComputationCell |
getCell() |
org.deckfour.xes.factory.XFactory |
getFactory() |
org.deckfour.xes.model.XLog |
getLog()
Gets the log that is to be filtered.
|
java.lang.String |
getName()
Gets the name of the filter.
|
Parameters |
getParameters()
Gets the parameters of the filter.
|
abstract FilterTemplate |
getTemplate() |
javax.swing.JComponent |
getWidget()
Gets the widget to change the parameters.
|
boolean |
hasClassifiers() |
boolean |
hasConceptExtension(org.deckfour.xes.model.XLog log) |
boolean |
hasEvents() |
boolean |
hasGlobalConceptName(java.util.Collection<org.deckfour.xes.model.XAttribute> globalAttributes) |
boolean |
hasGlobalEventAttributes() |
boolean |
hasGlobalTimestamp() |
boolean |
hasGlobalTraceAttributes() |
boolean |
hasTimeExtension() |
boolean |
hasTraceAttributes() |
boolean |
hasTraces() |
org.deckfour.xes.model.XLog |
initializeLog(org.deckfour.xes.model.XLog log)
Creates a copy of the provided log without any traces and/or events.
|
abstract boolean |
isSuitable() |
void |
setLog(org.deckfour.xes.model.XLog log)
Sets the log that is to be filtered.
|
void |
setSelected(Filter filter) |
abstract void |
setTemplate(ParametersTemplate parameters) |
void |
setWidget(javax.swing.JComponent widget)
Sets the widget to change the parameters.
|
java.lang.String |
toString() |
void |
update() |
abstract void |
updated(Parameter parameter)
Abstract method that informs the filter that a parameter has been changed.
|
abstract void |
updateParameters() |
public java.lang.String getName()
public Parameters getParameters()
public abstract org.deckfour.xes.model.XLog filter()
public abstract void constructWidget()
public abstract void updated(Parameter parameter)
parameter
- The parameter that has been changed.public abstract boolean isSuitable()
public org.deckfour.xes.model.XLog filter(boolean doTime)
doTime
- Whether to time the filtering.public org.deckfour.xes.model.XLog initializeLog(org.deckfour.xes.model.XLog log)
log
- The log to copy.public org.deckfour.xes.model.XLog getLog()
public void setLog(org.deckfour.xes.model.XLog log)
log
- The log to be filtered.public javax.swing.JComponent getWidget()
public void setWidget(javax.swing.JComponent widget)
widget
- The widget to change the parameters.public int compareTo(Filter o)
compareTo
in interface java.lang.Comparable<Filter>
public java.lang.String toString()
toString
in class java.lang.Object
public ComputationCell getCell()
public org.deckfour.xes.factory.XFactory getFactory()
public abstract void updateParameters()
public void update()
public void setSelected(Filter filter)
public abstract FilterTemplate getTemplate()
public abstract void setTemplate(ParametersTemplate parameters)
public boolean hasGlobalEventAttributes()
public boolean hasGlobalTraceAttributes()
public boolean hasClassifiers()
public boolean hasEvents()
public boolean hasTraces()
public boolean hasTraceAttributes()
public boolean hasTimeExtension()
public boolean hasGlobalTimestamp()
public boolean hasConceptExtension(org.deckfour.xes.model.XLog log)
public boolean hasGlobalConceptName(java.util.Collection<org.deckfour.xes.model.XAttribute> globalAttributes)