public abstract class AbstractEvent<BPN extends IBPNode<N>,C extends ICondition<BPN,C,E,F,N,P,T,M>,E extends IEvent<BPN,C,E,F,N,P,T,M>,F extends IFlow<N>,N extends INode,P extends IPlace,T extends ITransition,M extends IMarking<F,N,P,T>> extends AbstractBPNode<N> implements IEvent<BPN,C,E,F,N,P,T,M>
ID| Modifier | Constructor and Description |
|---|---|
protected |
AbstractEvent() |
|
AbstractEvent(ICompletePrefixUnfolding<BPN,C,E,F,N,P,T,M> cpu,
T transition,
ICoSet<BPN,C,E,F,N,P,T,M> preset)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
ILocalConfiguration<BPN,C,E,F,N,P,T,M> |
getLocalConfiguration() |
String |
getName() |
N |
getPetriNetNode()
Get a Petri net node associated with this node of a branching process.
|
ICoSet<BPN,C,E,F,N,P,T,M> |
getPostConditions()
Get post conditions of this event.
|
ICoSet<BPN,C,E,F,N,P,T,M> |
getPreConditions()
Get preconditions of this event.
|
T |
getTransition()
Get the transition that corresponds to this event.
|
int |
hashCode() |
boolean |
isCondition()
Check if this node is condition.
|
boolean |
isEvent()
Check if this node is event.
|
void |
setCompletePrefixUnfolding(ICompletePrefixUnfolding<BPN,C,E,F,N,P,T,M> cpu) |
void |
setPostConditions(ICoSet<BPN,C,E,F,N,P,T,M> postConditions) |
void |
setPreConditions(ICoSet<BPN,C,E,F,N,P,T,M> preConditions) |
void |
setTransition(T transition) |
String |
toString() |
getLabelgetHeight, getWidth, getX, getY, setHeight, setLayout, setLocation, setSize, setWidth, setX, setYclone, compareTo, getDescription, getId, getTag, setDescription, setId, setName, setTagfinalize, getClass, notify, notifyAll, wait, wait, waitgetHeight, getWidth, getX, getY, setHeight, setLayout, setLocation, setSize, setWidth, setX, setYgetDescription, getId, getTag, setDescription, setId, setName, setTagcompareToprotected AbstractEvent()
public AbstractEvent(ICompletePrefixUnfolding<BPN,C,E,F,N,P,T,M> cpu, T transition, ICoSet<BPN,C,E,F,N,P,T,M> preset)
unf - Reference to the unfolding.transition - Transition whose occurrence is represented by this event.preset - Preset of conditions which caused this event to occur.public ICoSet<BPN,C,E,F,N,P,T,M> getPostConditions()
IEventpublic T getTransition()
IEventpublic ICoSet<BPN,C,E,F,N,P,T,M> getPreConditions()
IEventpublic String getName()
public N getPetriNetNode()
IBPNodegetPetriNetNode in interface IBPNode<N extends INode>public boolean isEvent()
IBPNodepublic boolean isCondition()
IBPNodeisCondition in interface IBPNode<N extends INode>public void setTransition(T transition)
Copyright © 2017. All rights reserved.