|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.obe.util.AbstractBean org.obe.xpdl.model.activity.ActivitySet
A set of activities and related transitions.
Field Summary | |
static java.lang.String |
ACTIVITY
|
static java.lang.String |
ID
|
static java.lang.String |
TRANSITION
|
Constructor Summary | |
ActivitySet()
|
|
ActivitySet(java.lang.String id)
Construct a new ActivitySet. |
Method Summary | |
void |
accept(PackageVisitor visitor)
|
void |
add(Activity activity)
|
void |
add(Transition transition)
|
Activity[] |
getActivity()
Get a list of activities in the set. |
Activity |
getActivity(int i)
|
Activity |
getActivity(java.lang.String id)
|
java.lang.String |
getId()
Get the ID for the activity set. |
Transition[] |
getTransition()
Get a list of transitions in the set. |
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 |
setId(java.lang.String id)
Set the activity set ID. |
void |
setTransition(int i,
Transition transition)
|
void |
setTransition(Transition[] transitions)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String ACTIVITY
public static final java.lang.String ID
public static final java.lang.String TRANSITION
Constructor Detail |
public ActivitySet()
public ActivitySet(java.lang.String id)
id
- The unique IDMethod Detail |
public void accept(PackageVisitor visitor)
accept
in interface Graph
public void add(Activity activity) throws java.beans.PropertyVetoException
add
in interface Graph
java.beans.PropertyVetoException
public void remove(Activity activity) throws java.beans.PropertyVetoException
remove
in interface Graph
java.beans.PropertyVetoException
public Activity[] getActivity()
getActivity
in interface Graph
public Activity getActivity(int i)
getActivity
in interface Graph
public Activity getActivity(java.lang.String id)
getActivity
in interface Graph
public void setActivity(Activity[] activities) throws java.beans.PropertyVetoException
setActivity
in interface Graph
java.beans.PropertyVetoException
public void setActivity(int i, Activity activity) throws java.beans.PropertyVetoException
setActivity
in interface Graph
java.beans.PropertyVetoException
public java.lang.String getId()
public void setId(java.lang.String id)
id
- The activity set IDpublic void add(Transition transition) throws java.beans.PropertyVetoException
add
in interface Graph
java.beans.PropertyVetoException
public void remove(Transition transition) throws java.beans.PropertyVetoException
remove
in interface Graph
java.beans.PropertyVetoException
public Transition[] getTransition()
getTransition
in interface Graph
public Transition getTransition(int i)
getTransition
in interface Graph
public Transition getTransition(java.lang.String id)
getTransition
in interface Graph
public void setTransition(Transition[] transitions)
setTransition
in interface Graph
public void setTransition(int i, Transition transition)
setTransition
in interface Graph
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |