org.obe.xpdl.model.misc
Class Invocation

java.lang.Object
  extended byorg.obe.util.AbstractBean
      extended byorg.obe.xpdl.model.misc.Invocation
All Implemented Interfaces:
java.beans.beancontext.BeanContextChild, java.io.Serializable
Direct Known Subclasses:
SubFlow, Tool, Trigger

public abstract class Invocation
extends AbstractBean

Describes the invocation interface for a service.

Author:
Adrian Price
See Also:
Serialized Form

Field Summary
protected  ActualParameter[] _actualParameter
           
protected  java.lang.String _id
           
static java.lang.String ACTUAL_PARAMETER
           
static java.lang.String ID
           
 
Constructor Summary
protected Invocation()
           
protected Invocation(java.lang.String id)
           
 
Method Summary
protected  void accept(PackageVisitor visitor)
           
 void add(ActualParameter actualParameter)
           
 ActualParameter[] getActualParameter()
          Get a list of actual parameters.
 ActualParameter getActualParameter(int i)
           
 java.lang.String getId()
          Gets the object's XPDL ID.
 void remove(ActualParameter actualParameter)
           
 void setActualParameter(ActualParameter[] actualParameters)
           
 void setActualParameter(int i, ActualParameter actualParameter)
           
 void setId(java.lang.String id)
          Set the object's XPDL ID.
 
Methods inherited from class org.obe.util.AbstractBean
add, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clear, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, get, get, getBeanContext, getListModel, hasChangeListeners, hasVetoListeners, remove, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener, set, set, setBeanContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTUAL_PARAMETER

public static final java.lang.String ACTUAL_PARAMETER
See Also:
Constant Field Values

ID

public static final java.lang.String ID
See Also:
Constant Field Values

_id

protected java.lang.String _id

_actualParameter

protected ActualParameter[] _actualParameter
Constructor Detail

Invocation

protected Invocation()

Invocation

protected Invocation(java.lang.String id)
Method Detail

accept

protected void accept(PackageVisitor visitor)

getId

public final java.lang.String getId()
Gets the object's XPDL ID.

Returns:
The XPDL ID.

setId

public final void setId(java.lang.String id)
Set the object's XPDL ID.

Parameters:
id - The new ID

add

public final void add(ActualParameter actualParameter)
               throws java.beans.PropertyVetoException
Throws:
java.beans.PropertyVetoException

remove

public final void remove(ActualParameter actualParameter)
                  throws java.beans.PropertyVetoException
Throws:
java.beans.PropertyVetoException

getActualParameter

public final ActualParameter[] getActualParameter()
Get a list of actual parameters. Actual parameters are just Strings which are expressions or names of fields in the workflow relevant data.

Returns:
A List of actual parameters

getActualParameter

public final ActualParameter getActualParameter(int i)

setActualParameter

public final void setActualParameter(ActualParameter[] actualParameters)
                              throws java.beans.PropertyVetoException
Throws:
java.beans.PropertyVetoException

setActualParameter

public final void setActualParameter(int i,
                                     ActualParameter actualParameter)
                              throws java.beans.PropertyVetoException
Throws:
java.beans.PropertyVetoException


SourceForge.net Logo OBE-1.0 Copyright (c) 2002-2006 Adrian Price. All Rights Reserved.