bexee.model.activity.impl
Class SequenceImpl

java.lang.Object
  extended bybexee.model.activity.impl.AbstractActivity
      extended bybexee.model.activity.impl.SequenceImpl
All Implemented Interfaces:
Activity, AttributeNames, BPELElement, Sequence

public class SequenceImpl
extends AbstractActivity
implements Sequence

Default implementation of the Sequence activity.

Version:
$Revision: 1.1 $, $Date: 2004/12/15 14:18:13 $
Author:
Patric Fornasier, Pawel Kowalski

Field Summary
 
Fields inherited from interface bexee.model.activity.Activity
DEFAULT_SUPPRESS_JOIN_FAILURE
 
Fields inherited from interface bexee.model.AttributeNames
ABSTRACT_PROCESS, CONDITION, CREATE_INSTANCE, ELEMENT, ENABLE_INSTANCE_COMPESATION, ENDPOINT_REFERENCE, EXPRESSION, EXPRESSION_LANGUAGE, FAULT_NAME, INITIATE, INPUT_VARIABLE, JOIN_CONDITION, MESSAGE_TYPE, MY_ROLE, NAME, OPAQUE, OPERATION, OUTPUT_VARIABLE, PART, PARTNER_LINK, PARTNER_LINK_TYPE, PARTNER_ROLE, PATTERN, PORT_TYPE, PROPERTY, QUERY_LANGUAGE, SET, SUPPRESS_JOIN_FAILURE, TARGET_NAMESPACE, TYPE, VARIABLE, XMLNS
 
Constructor Summary
SequenceImpl()
           
SequenceImpl(StandardAttributes standardAttributes)
          Create a Sequence Activity with standard BPEL activity attributes.
 
Method Summary
 void accept(BPELElementVisitor elementVisitor)
          Accept a BPELElementVisitor which will visit this BPEL element.
 void accept(ProcessController controller, ProcessInstance instance)
          Accept a ProcessController and a ProcessInstance.
 void activity(Activity activity)
           
 void addActivity(Activity activity)
          Add an activity to the activities contained in this sequence structured activitiy.
 void addActivity(int position, Activity activity)
          Add an activity to the activities contained in this sequence structured activitiy.
 java.util.List getActivities()
          Get the list of all contained activities.
 void setActivities(java.util.List activities)
          Set the whole list of activities.
 
Methods inherited from class bexee.model.activity.impl.AbstractActivity
addSource, addTarget, getJoinExpression, getName, getSources, getTargets, getValidValueOrDefault, getValidValueOrDefault, isSuppressJoinFailure, setJoinExpression, setName, setSources, setSuppressJoinFailure, setTargets
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface bexee.model.activity.Activity
addSource, addTarget, getJoinExpression, getName, getSources, getTargets, isSuppressJoinFailure, setJoinExpression, setName, setSources, setSuppressJoinFailure, setTargets
 

Constructor Detail

SequenceImpl

public SequenceImpl()

SequenceImpl

public SequenceImpl(StandardAttributes standardAttributes)
Create a Sequence Activity with standard BPEL activity attributes.

Parameters:
standardAttributes -
Method Detail

activity

public void activity(Activity activity)

addActivity

public void addActivity(Activity activity)
Description copied from interface: Sequence
Add an activity to the activities contained in this sequence structured activitiy. The added activity will be appended to the end of the activities list.

Specified by:
addActivity in interface Sequence
Parameters:
activity - an Activity value

addActivity

public void addActivity(int position,
                        Activity activity)
Description copied from interface: Sequence
Add an activity to the activities contained in this sequence structured activitiy. The added activity will be added at the position specified.

Specified by:
addActivity in interface Sequence
Parameters:
position - an int value
activity - an Activity value

setActivities

public void setActivities(java.util.List activities)
Description copied from interface: Sequence
Set the whole list of activities.

Specified by:
setActivities in interface Sequence
Parameters:
activities - a List value

getActivities

public java.util.List getActivities()
Description copied from interface: Sequence
Get the list of all contained activities.

Specified by:
getActivities in interface Sequence
Returns:
a List value

accept

public void accept(ProcessController controller,
                   ProcessInstance instance)
            throws java.lang.Exception
Description copied from interface: BPELElement
Accept a ProcessController and a ProcessInstance. This method enforces the use of the double-dispach for BPEL elements and activites. Like that it's possible to avoid tedious, error-prone and long instanceof checking of elements before processing.

Specified by:
accept in interface BPELElement
Parameters:
controller -
instance -
Throws:
java.lang.Exception

accept

public void accept(BPELElementVisitor elementVisitor)
Description copied from interface: BPELElement
Accept a BPELElementVisitor which will visit this BPEL element. Enforces double-dispatch.

Specified by:
accept in interface BPELElement
Parameters:
elementVisitor -


Copyright © 2004 Berne University of Applied Sciences. All Rights Reserved.