org.processmining.plugins.pnml.extensions
Class PnmlArcType
java.lang.Object
org.processmining.plugins.pnml.PnmlElement
org.processmining.plugins.pnml.PnmlAnnotation
org.processmining.plugins.pnml.extensions.PnmlArcType
public class PnmlArcType
- extends PnmlAnnotation
Extension PNML arc type object.
- Author:
- hverbeek
Field Summary |
static java.lang.String |
EPNML_TAG
|
static java.lang.String |
TAG
(E)PNML arc type tag. |
Constructor Summary |
PnmlArcType(java.lang.String tag)
Creates a fresh arc type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
PnmlArcType
public PnmlArcType(java.lang.String tag)
- Creates a fresh arc type.
- Parameters:
tag
-
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:
importElements
in class PnmlAnnotation
- Returns:
- Whether the start tag was known.
exportElements
protected java.lang.String exportElements(Pnml pnml)
- Exports the arc type.
- Overrides:
exportElements
in class PnmlAnnotation
- 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()