bexee.model.activity.impl
Class SwitchImpl
java.lang.Object
bexee.model.activity.impl.AbstractActivity
bexee.model.activity.impl.SwitchImpl
- All Implemented Interfaces:
- Activity, AttributeNames, BPELElement, Switch
- public class SwitchImpl
- extends AbstractActivity
- implements Switch
This is a default implementation of the Swich activity interface.
- Version:
- $Revision: 1.1 $, $Date: 2004/12/15 14:18:13 $
- Author:
- Patric Fornasier, Pawel Kowalski
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 |
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 |
SwitchImpl
public SwitchImpl(StandardAttributes standardAttributes)
addCase
public void addCase(BpelCase bpelCase)
- Specified by:
addCase
in interface Switch
getCases
public java.util.List getCases()
- Specified by:
getCases
in interface Switch
activity
public void activity(Activity activity)
setOtherwise
public void setOtherwise(Activity activity)
- Specified by:
setOtherwise
in interface Switch
getOtherwise
public Activity getOtherwise()
- Specified by:
getOtherwise
in interface Switch
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.