bexee.model.elements.impl
Class PartnerLinkImpl

java.lang.Object
  extended bybexee.model.elements.impl.PartnerLinkImpl
All Implemented Interfaces:
AttributeNames, BPELElement, PartnerLink

public class PartnerLinkImpl
extends java.lang.Object
implements PartnerLink

Default implementation of the PartnerLink BPEL element.

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

Field Summary
 
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
PartnerLinkImpl()
           
PartnerLinkImpl(java.lang.String name)
           
 
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.
 java.lang.String getMyRole()
           
 java.lang.String getName()
           
 javax.xml.namespace.QName getPartnerLinkType()
           
 java.lang.String getPartnerRole()
           
 void setMyRole(java.lang.String myRole)
           
 void setName(java.lang.String name)
           
 void setPartnerLinkType(javax.xml.namespace.QName partnerLinkType)
           
 void setPartnerRole(java.lang.String partnerRole)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PartnerLinkImpl

public PartnerLinkImpl()

PartnerLinkImpl

public PartnerLinkImpl(java.lang.String name)
Method Detail

setName

public void setName(java.lang.String name)
Specified by:
setName in interface PartnerLink

getName

public java.lang.String getName()
Specified by:
getName in interface PartnerLink

setPartnerLinkType

public void setPartnerLinkType(javax.xml.namespace.QName partnerLinkType)
Specified by:
setPartnerLinkType in interface PartnerLink

getPartnerLinkType

public javax.xml.namespace.QName getPartnerLinkType()
Specified by:
getPartnerLinkType in interface PartnerLink

setMyRole

public void setMyRole(java.lang.String myRole)
Specified by:
setMyRole in interface PartnerLink

getMyRole

public java.lang.String getMyRole()
Specified by:
getMyRole in interface PartnerLink

setPartnerRole

public void setPartnerRole(java.lang.String partnerRole)
Specified by:
setPartnerRole in interface PartnerLink

getPartnerRole

public java.lang.String getPartnerRole()
Specified by:
getPartnerRole in interface PartnerLink

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.