bexee.model.elements.impl
Class VariableImpl

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

public class VariableImpl
extends java.lang.Object
implements Variable

Default implementation of the Variable 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
VariableImpl()
           
VariableImpl(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.
 javax.xml.namespace.QName getElement()
           
 javax.xml.namespace.QName getMessageType()
           
 java.lang.String getName()
           
 javax.xml.namespace.QName getType()
           
 void setElement(javax.xml.namespace.QName element)
           
 void setMessageType(javax.xml.namespace.QName messageType)
           
 void setName(java.lang.String name)
           
 void setType(javax.xml.namespace.QName type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariableImpl

public VariableImpl()

VariableImpl

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

setName

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

getName

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

setMessageType

public void setMessageType(javax.xml.namespace.QName messageType)
Specified by:
setMessageType in interface Variable

getMessageType

public javax.xml.namespace.QName getMessageType()
Specified by:
getMessageType in interface Variable

setType

public void setType(javax.xml.namespace.QName type)
Specified by:
setType in interface Variable

getType

public javax.xml.namespace.QName getType()
Specified by:
getType in interface Variable

setElement

public void setElement(javax.xml.namespace.QName element)
Specified by:
setElement in interface Variable

getElement

public javax.xml.namespace.QName getElement()
Specified by:
getElement in interface Variable

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.