org.processmining.plugins.pnml.extensions
Class PnmlArcType

java.lang.Object
  extended by org.processmining.plugins.pnml.PnmlElement
      extended by org.processmining.plugins.pnml.PnmlAnnotation
          extended by 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.
 
Fields inherited from class org.processmining.plugins.pnml.PnmlAnnotation
graphics, text, toolSpecificList
 
Fields inherited from class org.processmining.plugins.pnml.PnmlElement
lineNumber, tag
 
Constructor Summary
PnmlArcType(java.lang.String tag)
          Creates a fresh arc type.
 
Method Summary
protected  java.lang.String exportElements(Pnml pnml)
          Exports the arc type.
protected  boolean importElements(org.xmlpull.v1.XmlPullParser xpp, Pnml pnml)
          Checks whether the current start tag is known.
 boolean isInhibitor()
           
 boolean isNormal()
           
 boolean isRead()
           
 boolean isReset()
           
 void setInhibitor()
           
 void setNormal()
           
 void setRead()
           
 void setReset()
           
 
Methods inherited from class org.processmining.plugins.pnml.PnmlAnnotation
convertFromNet, convertToNet, convertToNet
 
Methods inherited from class org.processmining.plugins.pnml.PnmlElement
checkValidity, exportAttribute, exportAttributes, exportElement, importAttributes, importElement, importText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

PnmlArcType

public PnmlArcType(java.lang.String tag)
Creates a fresh arc type.

Parameters:
tag -
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:
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()