Class Event
- java.lang.Object
-
- org.processmining.primeminer.models.Event
-
- All Implemented Interfaces:
java.io.Serializable
public class Event extends java.lang.Object implements java.io.SerializableModel of Event, used f. e. as nodes in hasse diagrams This event holds the eventName, coSets, allPreviousEvents, visited, nextEvents, previousEvents, nextStates, previousStates- Author:
- Robin Bergenthum, Raphael Meyer
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Event(java.lang.String name)Constructor for Event with given name
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.ArrayList<Event>getAllPreviousEvents()java.util.ArrayList<java.lang.Integer>getCoSets()java.lang.StringgetEventName()java.util.ArrayList<Event>getNextEvents()java.util.ArrayList<State>getNextStates()java.util.ArrayList<Event>getPreviousEvents()java.util.ArrayList<State>getPreviousStates()static longgetSerialversionuid()booleanisVisited()voidsetAllPreviousEvents(java.util.ArrayList<Event> allPreviousEvents)voidsetCoSets(java.util.ArrayList<java.lang.Integer> coSets)voidsetEventName(java.lang.String eventName)voidsetNextEvents(java.util.ArrayList<Event> nextEvents)voidsetNextStates(java.util.ArrayList<State> nextStates)voidsetPreviousEvents(java.util.ArrayList<Event> previousEvents)voidsetPreviousStates(java.util.ArrayList<State> previousStates)voidsetVisited(boolean visited)java.lang.StringtoString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object- Returns:
- a string with the name of the event
-
getEventName
public java.lang.String getEventName()
- Returns:
- the name of the event
-
setEventName
public void setEventName(java.lang.String eventName)
- Parameters:
eventName- set the name of the current event
-
getCoSets
public java.util.ArrayList<java.lang.Integer> getCoSets()
- Returns:
- the coSets of the event
-
setCoSets
public void setCoSets(java.util.ArrayList<java.lang.Integer> coSets)
- Parameters:
coSets- coSets for the current event
-
getAllPreviousEvents
public java.util.ArrayList<Event> getAllPreviousEvents()
- Returns:
- all previous events of the current event
-
setAllPreviousEvents
public void setAllPreviousEvents(java.util.ArrayList<Event> allPreviousEvents)
- Parameters:
allPreviousEvents- all previous events of the current event
-
isVisited
public boolean isVisited()
- Returns:
- whether the current events is visited
-
setVisited
public void setVisited(boolean visited)
- Parameters:
visited- to set as a boolean value
-
getNextEvents
public java.util.ArrayList<Event> getNextEvents()
- Returns:
- the next events of the current one
-
setNextEvents
public void setNextEvents(java.util.ArrayList<Event> nextEvents)
- Parameters:
nextEvents- next events to set as ArrayList
-
getPreviousEvents
public java.util.ArrayList<Event> getPreviousEvents()
- Returns:
- get the previous events of the current event
-
setPreviousEvents
public void setPreviousEvents(java.util.ArrayList<Event> previousEvents)
- Parameters:
previousEvents- to set the previous events of the current event
-
getNextStates
public java.util.ArrayList<State> getNextStates()
- Returns:
- the next states of current event
-
setNextStates
public void setNextStates(java.util.ArrayList<State> nextStates)
- Parameters:
nextStates- set the next states of the current event
-
getPreviousStates
public java.util.ArrayList<State> getPreviousStates()
- Returns:
- the previous states of the current event
-
setPreviousStates
public void setPreviousStates(java.util.ArrayList<State> previousStates)
- Parameters:
previousStates- set the previous states of the current event
-
getSerialversionuid
public static long getSerialversionuid()
- Returns:
- just the serialversionuid which was generated
-
-