Class PnmlArcType
- java.lang.Object
-
- org.processmining.plugins.pnml.base.PnmlElement
-
- org.processmining.plugins.pnml.elements.PnmlAnnotation
-
- org.processmining.plugins.pnml.elements.extensions.PnmlArcType
-
public class PnmlArcType extends PnmlAnnotation
Extension PNML arc type object.- Author:
- hverbeek
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringEPNML_TAGstatic java.lang.StringTAG(E)PNML arc type tag.-
Fields inherited from class org.processmining.plugins.pnml.elements.PnmlAnnotation
graphics, text, toolSpecificList
-
Fields inherited from class org.processmining.plugins.pnml.base.PnmlElement
factory, lineNumber, tag
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPnmlArcType(java.lang.String tag)Creates a fresh arc type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringexportElements(Pnml pnml)Exports the arc type.protected booleanimportElements(org.xmlpull.v1.XmlPullParser xpp, Pnml pnml)Checks whether the current start tag is known.booleanisInhibitor()booleanisNormal()booleanisRead()booleanisReset()voidsetInhibitor()voidsetNormal()voidsetRead()voidsetReset()-
Methods inherited from class org.processmining.plugins.pnml.elements.PnmlAnnotation
convertFromNet, convertToNet, convertToNet
-
Methods inherited from class org.processmining.plugins.pnml.base.PnmlElement
checkValidity, exportAttribute, exportAttributes, exportElement, importAttributes, importElement, importText, setFactory
-
-
-
-
Field Detail
-
TAG
public static final java.lang.String TAG
(E)PNML arc type tag.- See Also:
- Constant Field Values
-
EPNML_TAG
public static final java.lang.String EPNML_TAG
- See Also:
- Constant Field Values
-
-
Method Detail
-
importElements
protected boolean importElements(org.xmlpull.v1.XmlPullParser xpp, Pnml pnml)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 classPnmlAnnotation- Returns:
- Whether the start tag was known.
-
exportElements
protected java.lang.String exportElements(Pnml pnml)
Exports the arc type.- Overrides:
exportElementsin classPnmlAnnotation- Returns:
-
isNormal
public boolean isNormal()
-
isReset
public boolean isReset()
-
isInhibitor
public boolean isInhibitor()
-
isRead
public boolean isRead()
-
setNormal
public void setNormal()
-
setReset
public void setReset()
-
setInhibitor
public void setInhibitor()
-
setRead
public void setRead()
-
-