bexee.model.activity.impl
Class ThrowImpl

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

public class ThrowImpl
extends AbstractActivity
implements Throw

Default implementation of the Throw 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
ThrowImpl()
           
ThrowImpl(StandardAttributes standardAttributes)
           
 
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.
 org.apache.xml.utils.QName getFaultName()
          Get the fault name of the fault to be thrown.
 Variable getFaultVariable()
          Get the variable of the fault to be thrown.
 void setFaultName(org.apache.xml.utils.QName faultName)
          Set the fault name of the fault to be thrown.
 void setFaultVariable(Variable variable)
          Set the variable of the fault to be thrown.
 
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

ThrowImpl

public ThrowImpl()

ThrowImpl

public ThrowImpl(StandardAttributes standardAttributes)
Method Detail

setFaultName

public void setFaultName(org.apache.xml.utils.QName faultName)
Description copied from interface: Throw
Set the fault name of the fault to be thrown.

Specified by:
setFaultName in interface Throw
Parameters:
faultName - a QName value

getFaultName

public org.apache.xml.utils.QName getFaultName()
Description copied from interface: Throw
Get the fault name of the fault to be thrown.

Specified by:
getFaultName in interface Throw
Returns:
a QName value

setFaultVariable

public void setFaultVariable(Variable variable)
Description copied from interface: Throw
Set the variable of the fault to be thrown.

Specified by:
setFaultVariable in interface Throw
Parameters:
variable - a Variable value

getFaultVariable

public Variable getFaultVariable()
Description copied from interface: Throw
Get the variable of the fault to be thrown.

Specified by:
getFaultVariable in interface Throw
Returns:
a Variable 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.