org.processmining.exporting.bpel4ws
Class Component

java.lang.Object
  extended by org.processmining.exporting.bpel4ws.Component

public class Component
extends java.lang.Object

This class describs a Component. Ie. a a type and a PetriNet that is a component.

Author:
Kristian Bisgaard Lassen

Nested Class Summary
static class Component.Type
          An enumeration describing what types a component can have.
 
Field Summary
 Activity activity
          An activity describing this component when the component is a LIBRARY-component.
 java.lang.String libraryComponentName
          This is the component of the library component that this Component match.
 att.grappa.Node sink
           
 att.grappa.Node source
           
 Component.Type type
          The type of this component
 PetriNet wfnet
          The actual Petri net of this component
 
Constructor Summary
Component(Component.Type type, PetriNet wfnet, Activity activity, java.lang.String libraryComponentName, att.grappa.Node source, att.grappa.Node sink)
           
Component(Component.Type type, PetriNet wfnet, att.grappa.Node source, att.grappa.Node sink)
           
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

type

public final Component.Type type
The type of this component


wfnet

public final PetriNet wfnet
The actual Petri net of this component


activity

public final Activity activity
An activity describing this component when the component is a LIBRARY-component. Otherwise it is null


libraryComponentName

public final java.lang.String libraryComponentName
This is the component of the library component that this Component match. If the type of this Component is not LIBARARY then this is null


source

public final att.grappa.Node source

sink

public final att.grappa.Node sink
Constructor Detail

Component

public Component(Component.Type type,
                 PetriNet wfnet,
                 att.grappa.Node source,
                 att.grappa.Node sink)
Parameters:
type -
wfnet -

Component

public Component(Component.Type type,
                 PetriNet wfnet,
                 Activity activity,
                 java.lang.String libraryComponentName,
                 att.grappa.Node source,
                 att.grappa.Node sink)
Parameters:
type -
wfnet -
activity -
libraryComponentName -
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object