Package org.processmining.plugins.tsml
Class TsmlTransition
- java.lang.Object
-
- org.processmining.plugins.tsml.TsmlElement
-
- org.processmining.plugins.tsml.TsmlBasicObject
-
- org.processmining.plugins.tsml.TsmlTransition
-
public class TsmlTransition extends TsmlBasicObject
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTAG-
Fields inherited from class org.processmining.plugins.tsml.TsmlBasicObject
name, toolSpecificList
-
Fields inherited from class org.processmining.plugins.tsml.TsmlElement
lineNumber, tag
-
-
Constructor Summary
Constructors Constructor Description TsmlTransition()Creates a fresh PNML arc.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckValidity(Tsml tsml)Checks validity.protected java.lang.StringexportAttributes(Tsml tsml)Exports all attributes.protected java.lang.StringexportElements(Tsml tsml)Exports all child elements.protected voidimportAttributes(org.xmlpull.v1.XmlPullParser xpp, Tsml tsml)Imports all known attributes.protected booleanimportElements(org.xmlpull.v1.XmlPullParser xpp, Tsml tsml)Checks whether the current start tag is known.TsmlTransitionmarshall(Transition transition, org.processmining.models.graphbased.directed.DirectedGraphElementWeights weights, java.util.Map<State,java.lang.String> stateIdMap, java.lang.String id, org.processmining.models.connections.GraphLayoutConnection layout)voidunmarshall(TransitionSystem ts, org.processmining.models.graphbased.directed.DirectedGraphElementWeights weights, java.util.Map<java.lang.String,State> idStateMap, org.processmining.models.connections.GraphLayoutConnection layout)Converts this transition to a regular TS transition.-
Methods inherited from class org.processmining.plugins.tsml.TsmlBasicObject
getName, marshall, unmarshall, unmarshall
-
Methods inherited from class org.processmining.plugins.tsml.TsmlElement
exportAttribute, exportElement, importElement, importText
-
-
-
-
Field Detail
-
TAG
public static final java.lang.String TAG
- See Also:
- Constant Field Values
-
-
Method Detail
-
importAttributes
protected void importAttributes(org.xmlpull.v1.XmlPullParser xpp, Tsml tsml)Imports all known attributes.- Overrides:
importAttributesin classTsmlBasicObject
-
exportAttributes
protected java.lang.String exportAttributes(Tsml tsml)
Exports all attributes.- Overrides:
exportAttributesin classTsmlBasicObject- Returns:
-
importElements
protected boolean importElements(org.xmlpull.v1.XmlPullParser xpp, Tsml tsml)Checks whether the current start tag is known. If known, it imports the corresponding child element and returns true. Otherwise, it returns false.- Overrides:
importElementsin classTsmlBasicObject- Returns:
- Whether the start tag was known.
-
exportElements
protected java.lang.String exportElements(Tsml tsml)
Exports all child elements.- Overrides:
exportElementsin classTsmlBasicObject- Returns:
-
checkValidity
protected void checkValidity(Tsml tsml)
Checks validity. Should have a source and a target.- Overrides:
checkValidityin classTsmlBasicObject
-
unmarshall
public void unmarshall(TransitionSystem ts, org.processmining.models.graphbased.directed.DirectedGraphElementWeights weights, java.util.Map<java.lang.String,State> idStateMap, org.processmining.models.connections.GraphLayoutConnection layout)
Converts this transition to a regular TS transition.
-
marshall
public TsmlTransition marshall(Transition transition, org.processmining.models.graphbased.directed.DirectedGraphElementWeights weights, java.util.Map<State,java.lang.String> stateIdMap, java.lang.String id, org.processmining.models.connections.GraphLayoutConnection layout)
-
-