bexee.model.activity.impl
Class AbstractActivity

java.lang.Object
  extended bybexee.model.activity.impl.AbstractActivity
All Implemented Interfaces:
Activity, AttributeNames, BPELElement
Direct Known Subclasses:
AssignImpl, CompensateImpl, EmptyImpl, FlowImpl, InvokeImpl, ReceiveImpl, ReplyImpl, ScopeImpl, SequenceImpl, SwitchImpl, TerminateImpl, ThrowImpl

public abstract class AbstractActivity
extends java.lang.Object
implements Activity

This is an abstract class to be used by all BPEL Activity implementations.

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
AbstractActivity()
          Create a new AbstractActivity.
AbstractActivity(StandardAttributes standardAttributes)
          Create a new AbstractActivity with the given StandardAttributes.
 
Method Summary
 void addSource(Source source)
          Declare this activity as a named link source.
 void addTarget(Target target)
          Declare this activity as a named link target.
 BooleanExpression getJoinExpression()
          Get the joinExpression of this activity.
 java.lang.String getName()
          Get the name of this activity.
 java.util.List getSources()
          Get all source declarations of this activity.
 java.util.List getTargets()
          Get all target declarations of this activity.
protected  boolean getValidValueOrDefault(java.lang.String value, boolean defaultValue)
           
protected  java.lang.String getValidValueOrDefault(java.lang.String value, java.lang.String defaultValue)
           
 boolean isSuppressJoinFailure()
          Get whether the join failure is suppressed on this activity.
 void setJoinExpression(BooleanExpression joinExpression)
          Set the joinExpression of this activity.
 void setName(java.lang.String name)
          Set the name of this activity.
 void setSources(java.util.List sources)
          Declare this activity as named link sources.
 void setSuppressJoinFailure(boolean suppressJoinFailure)
          Set whether to suppress a join failure on this activity.
 void setTargets(java.util.List targets)
          Declare this activity as named link targets.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface bexee.model.BPELElement
accept, accept
 

Constructor Detail

AbstractActivity

public AbstractActivity()
Create a new AbstractActivity.


AbstractActivity

public AbstractActivity(StandardAttributes standardAttributes)
Create a new AbstractActivity with the given StandardAttributes.

Parameters:
standardAttributes -
Method Detail

setName

public void setName(java.lang.String name)
Description copied from interface: Activity
Set the name of this activity.

Specified by:
setName in interface Activity
Parameters:
name - a String value

getName

public java.lang.String getName()
Description copied from interface: Activity
Get the name of this activity.

Specified by:
getName in interface Activity
Returns:
a String value

setJoinExpression

public void setJoinExpression(BooleanExpression joinExpression)
Description copied from interface: Activity
Set the joinExpression of this activity.

Specified by:
setJoinExpression in interface Activity
Parameters:
joinExpression - a BooleanExpression value

getJoinExpression

public BooleanExpression getJoinExpression()
Description copied from interface: Activity
Get the joinExpression of this activity.

Specified by:
getJoinExpression in interface Activity
Returns:
a BooleanExpression value

setSuppressJoinFailure

public void setSuppressJoinFailure(boolean suppressJoinFailure)
Description copied from interface: Activity
Set whether to suppress a join failure on this activity.

Specified by:
setSuppressJoinFailure in interface Activity
Parameters:
suppressJoinFailure - a boolean value

isSuppressJoinFailure

public boolean isSuppressJoinFailure()
Description copied from interface: Activity
Get whether the join failure is suppressed on this activity.

Specified by:
isSuppressJoinFailure in interface Activity
Returns:
a boolean value

addSource

public void addSource(Source source)
Description copied from interface: Activity
Declare this activity as a named link source.

Specified by:
addSource in interface Activity
Parameters:
source - a Source value

setSources

public void setSources(java.util.List sources)
Description copied from interface: Activity
Declare this activity as named link sources.

Specified by:
setSources in interface Activity
Parameters:
sources - a List value

getSources

public java.util.List getSources()
Description copied from interface: Activity
Get all source declarations of this activity.

Specified by:
getSources in interface Activity
Returns:
a List value

addTarget

public void addTarget(Target target)
Description copied from interface: Activity
Declare this activity as a named link target.

Specified by:
addTarget in interface Activity
Parameters:
target - a Target value

setTargets

public void setTargets(java.util.List targets)
Description copied from interface: Activity
Declare this activity as named link targets.

Specified by:
setTargets in interface Activity
Parameters:
targets - a List value

getTargets

public java.util.List getTargets()
Description copied from interface: Activity
Get all target declarations of this activity.

Specified by:
getTargets in interface Activity
Returns:
a List value

getValidValueOrDefault

protected java.lang.String getValidValueOrDefault(java.lang.String value,
                                                  java.lang.String defaultValue)

getValidValueOrDefault

protected boolean getValidValueOrDefault(java.lang.String value,
                                         boolean defaultValue)


Copyright © 2004 Berne University of Applied Sciences. All Rights Reserved.