bexee.model.activity.impl
Class ReceiveImpl

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

public class ReceiveImpl
extends AbstractActivity
implements Receive

Default implementation of the Receive 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.Receive
DEFAULT_CREATE_ACTIVITY
 
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
ReceiveImpl()
           
ReceiveImpl(StandardAttributes standardAttributes)
           
ReceiveImpl(StandardAttributes standardAttributes, PartnerLink partnerLink, javax.xml.namespace.QName portType, java.lang.String operation, Variable variable, java.lang.String createInstance)
           
 
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.
 Correlations getCorrelations()
          Get the Correlations of this Receive.
 java.lang.String getOperation()
          Get the operation name of this Receive.
 PartnerLink getPartnerLink()
          Get the PartnerLink of this Receive.
 javax.xml.namespace.QName getPortType()
          Get the PortType QName of this Receive.
 Variable getVariable()
          Get the Variable of this Receive.
 boolean isCreateInstance()
          Get the create instance property of this Receive.
 void setCorrelations(Correlations correlations)
          Set the Correlations of this Receive.
 void setCreateInstance(boolean createInstance)
          Set the create instance property of this Receive.
 void setOperation(java.lang.String operation)
          Set the operation name of this Receive.
 void setPartnerLink(PartnerLink partnerLink)
          Set the PartnerLink of this Receive.
 void setPortType(javax.xml.namespace.QName portType)
          Set the PortType QName of this Receive.
 void setVariable(Variable variable)
          Set the Variable of this Receive.
 
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

ReceiveImpl

public ReceiveImpl()

ReceiveImpl

public ReceiveImpl(StandardAttributes standardAttributes)
Parameters:
standardAttributes -

ReceiveImpl

public ReceiveImpl(StandardAttributes standardAttributes,
                   PartnerLink partnerLink,
                   javax.xml.namespace.QName portType,
                   java.lang.String operation,
                   Variable variable,
                   java.lang.String createInstance)
Parameters:
standardAttributes -
Method Detail

setPartnerLink

public void setPartnerLink(PartnerLink partnerLink)
Description copied from interface: Receive
Set the PartnerLink of this Receive.

Specified by:
setPartnerLink in interface Receive
Parameters:
partnerLink -

getPartnerLink

public PartnerLink getPartnerLink()
Description copied from interface: Receive
Get the PartnerLink of this Receive.

Specified by:
getPartnerLink in interface Receive
Returns:

setPortType

public void setPortType(javax.xml.namespace.QName portType)
Description copied from interface: Receive
Set the PortType QName of this Receive.

Specified by:
setPortType in interface Receive
Parameters:
portType -

getPortType

public javax.xml.namespace.QName getPortType()
Description copied from interface: Receive
Get the PortType QName of this Receive.

Specified by:
getPortType in interface Receive
Returns:

setOperation

public void setOperation(java.lang.String operation)
Description copied from interface: Receive
Set the operation name of this Receive.

Specified by:
setOperation in interface Receive
Parameters:
operation -

getOperation

public java.lang.String getOperation()
Description copied from interface: Receive
Get the operation name of this Receive.

Specified by:
getOperation in interface Receive
Returns:

setVariable

public void setVariable(Variable variable)
Description copied from interface: Receive
Set the Variable of this Receive.

Specified by:
setVariable in interface Receive
Parameters:
variable -

getVariable

public Variable getVariable()
Description copied from interface: Receive
Get the Variable of this Receive.

Specified by:
getVariable in interface Receive
Returns:

setCreateInstance

public void setCreateInstance(boolean createInstance)
Description copied from interface: Receive
Set the create instance property of this Receive.

Specified by:
setCreateInstance in interface Receive
Parameters:
createInstance -

isCreateInstance

public boolean isCreateInstance()
Description copied from interface: Receive
Get the create instance property of this Receive. This property signalized whether this Receive might cause a new instance of a business process to be created.

Specified by:
isCreateInstance in interface Receive
Returns:

setCorrelations

public void setCorrelations(Correlations correlations)
Description copied from interface: Receive
Set the Correlations of this Receive.

Specified by:
setCorrelations in interface Receive
Parameters:
correlations -

getCorrelations

public Correlations getCorrelations()
Description copied from interface: Receive
Get the Correlations of this Receive.

Specified by:
getCorrelations in interface Receive
Returns:

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.