org.processmining.mining.bpel
Class BPELResult

java.lang.Object
  extended by org.processmining.mining.bpel.BPELResult
All Implemented Interfaces:
Provider, LogReaderConnection, MiningResult

public class BPELResult
extends java.lang.Object
implements MiningResult, Provider, LogReaderConnection

Title:

Description:

Copyright: Copyright (c) 2004

Company:

Version:
1.0
Author:
not attributable

Field Summary
protected  LogReader log
           
protected  BPEL model
           
 
Constructor Summary
BPELResult(LogReader log, BPEL model)
           
 
Method Summary
 void connectWith(LogReader newLog, java.util.HashMap eventsMapping)
          Connects a LogReader to the object.
 java.util.ArrayList getConnectableObjects()
          Returns all connectable objects of the underlying model.
 LogReader getLogReader()
          Returns the LogReader object that was used to generate this mining result.
 ProvidedObject[] getProvidedObjects()
           
 javax.swing.JComponent getVisualization()
          Returns a component that contains the visualization of this mining result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

model

protected BPEL model

log

protected LogReader log
Constructor Detail

BPELResult

public BPELResult(LogReader log,
                  BPEL model)
Method Detail

getProvidedObjects

public ProvidedObject[] getProvidedObjects()
Specified by:
getProvidedObjects in interface Provider

getVisualization

public javax.swing.JComponent getVisualization()
Description copied from interface: MiningResult
Returns a component that contains the visualization of this mining result. This function should return null if this result cannot be visualized.

Specified by:
getVisualization in interface MiningResult
Returns:
a component that contains the visualization of this mining result or null if this result cannot be visualized

getLogReader

public LogReader getLogReader()
Description copied from interface: MiningResult
Returns the LogReader object that was used to generate this mining result. This function may return null.

Specified by:
getLogReader in interface MiningResult
Returns:
the LogReader object that was used to generate this mining result or null.

getConnectableObjects

public java.util.ArrayList getConnectableObjects()
Description copied from interface: LogReaderConnection
Returns all connectable objects of the underlying model.

Specified by:
getConnectableObjects in interface LogReaderConnection
Returns:
all connectable objects of the underlying model

connectWith

public void connectWith(LogReader newLog,
                        java.util.HashMap eventsMapping)
Description copied from interface: LogReaderConnection
Connects a LogReader to the object. The eventsMapping variable is a HashMap that has a key for every Object returned by the getConnectableObjects method. Each key is an Object and it is associated with an Object[2] object. This array contains two objects. The first object is a LogEvent object, to which the original should be mapped. The second is a String object, representing the label that should be used for the identifier of the underlying graphical object. The eventsMapping parameter may be null.

Specified by:
connectWith in interface LogReaderConnection
Parameters:
newLog - the log reader to connect
eventsMapping - the events to map