org.obe.xpdl.model.misc
Interface Graph

All Known Implementing Classes:
ActivitySet, WorkflowProcess

public interface Graph

Exposes the nodes and edges of a directed graph: activities and transitions.

Author:
Adrian Price

Method Summary
 void accept(PackageVisitor visitor)
           
 void add(Activity activity)
           
 void add(Transition transition)
           
 Activity[] getActivity()
           
 Activity getActivity(int i)
           
 Activity getActivity(java.lang.String id)
           
 Transition[] getTransition()
           
 Transition getTransition(int i)
           
 Transition getTransition(java.lang.String id)
           
 void remove(Activity activity)
           
 void remove(Transition transition)
           
 void setActivity(Activity[] activities)
           
 void setActivity(int i, Activity activity)
           
 void setTransition(int i, Transition transition)
           
 void setTransition(Transition[] transitions)
           
 

Method Detail

accept

public void accept(PackageVisitor visitor)

add

public void add(Activity activity)
         throws java.beans.PropertyVetoException
Throws:
java.beans.PropertyVetoException

remove

public void remove(Activity activity)
            throws java.beans.PropertyVetoException
Throws:
java.beans.PropertyVetoException

getActivity

public Activity[] getActivity()

getActivity

public Activity getActivity(int i)

getActivity

public Activity getActivity(java.lang.String id)

setActivity

public void setActivity(Activity[] activities)
                 throws java.beans.PropertyVetoException
Throws:
java.beans.PropertyVetoException

setActivity

public void setActivity(int i,
                        Activity activity)
                 throws java.beans.PropertyVetoException
Throws:
java.beans.PropertyVetoException

add

public void add(Transition transition)
         throws java.beans.PropertyVetoException
Throws:
java.beans.PropertyVetoException

remove

public void remove(Transition transition)
            throws java.beans.PropertyVetoException
Throws:
java.beans.PropertyVetoException

getTransition

public Transition[] getTransition()

getTransition

public Transition getTransition(int i)

getTransition

public Transition getTransition(java.lang.String id)

setTransition

public void setTransition(Transition[] transitions)
                   throws java.beans.PropertyVetoException
Throws:
java.beans.PropertyVetoException

setTransition

public void setTransition(int i,
                          Transition transition)
                   throws java.beans.PropertyVetoException
Throws:
java.beans.PropertyVetoException


SourceForge.net Logo OBE-1.0 Copyright (C) 2002-2006 Adrian Price. All Rights Reserved.