org.processmining.framework.models.protos
Class ProtosFlowElement

java.lang.Object
  extended by org.processmining.framework.models.protos.ProtosFlowElement

public class ProtosFlowElement
extends java.lang.Object

Title: Protos flow element

Description: Holds a Protos flow element

Copyright: Copyright (c) 2004

Company:

Version:
1.0
Author:
Eric Verbeek

Constructor Summary
ProtosFlowElement(ProtosSubprocess subprocess)
           
 
Method Summary
 java.lang.String getID()
           
 ProtosSubprocess getSubprocess()
           
 ModelGraphVertex getVertex()
           
 boolean isActivity()
           
 java.lang.String readXMLExport(org.w3c.dom.Node flowElementNode)
          Constructs a Flow Element object out of a Node.
 void setLogEvent(LogEvent event)
           
 java.lang.String writeToDot(java.util.HashMap map)
          Convert this Flow Element to DOT.
 java.lang.String writeXMLExport(java.lang.String tag)
          Returns the Flow Element object in Protos XML Export format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProtosFlowElement

public ProtosFlowElement(ProtosSubprocess subprocess)
Method Detail

getSubprocess

public ProtosSubprocess getSubprocess()

getVertex

public ModelGraphVertex getVertex()

setLogEvent

public void setLogEvent(LogEvent event)

getID

public java.lang.String getID()

isActivity

public boolean isActivity()

readXMLExport

public java.lang.String readXMLExport(org.w3c.dom.Node flowElementNode)
Constructs a Flow Element object out of a Node.

Parameters:
flowElementNode - Node The node that contains the Flow Element.
Returns:
String Any error message.

writeXMLExport

public java.lang.String writeXMLExport(java.lang.String tag)
Returns the Flow Element object in Protos XML Export format.

Parameters:
tag - String The tag to use for this Flow Element object.
Returns:
String The Flow Element object in Protos XML Export format.

writeToDot

public java.lang.String writeToDot(java.util.HashMap map)
Convert this Flow Element to DOT.

Parameters:
map - HashMap Links actual DOT elements to stored vertices.
Returns:
String The DOT representation of this Flow Element.