org.obe.xpdl.model.application
Class Application
java.lang.Object
org.obe.util.AbstractBean
org.obe.xpdl.model.misc.AbstractWFElement
org.obe.xpdl.model.application.Application
- All Implemented Interfaces:
- java.beans.beancontext.BeanContextChild, Invokable, java.io.Serializable
- public final class Application
- extends AbstractWFElement
- implements Invokable
Implementation of the XPDL Application element.
- Author:
- Adrian Price
- See Also:
- Serialized Form
Constructor Summary |
Application()
|
Application(java.lang.String id,
java.lang.String name)
Construct a new application. |
Methods inherited from class org.obe.xpdl.model.misc.AbstractWFElement |
createExtendedAttributes, equals, getDescription, getExtendedAttributes, getId, getName, hashCode, setDescription, setExtendedAttributes, setId, setName |
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, finalize, getClass, notify, notifyAll, wait, wait, wait |
EXTERNAL_REFERENCE
public static final java.lang.String EXTERNAL_REFERENCE
- See Also:
- Constant Field Values
FORMAL_PARAMETER
public static final java.lang.String FORMAL_PARAMETER
- See Also:
- Constant Field Values
Application
public Application()
Application
public Application(java.lang.String id,
java.lang.String name)
- Construct a new application.
- Parameters:
id
- The application idname
- The application name
accept
public void accept(PackageVisitor visitor)
add
public void add(FormalParameter formalParameter)
throws java.beans.PropertyVetoException
- Specified by:
add
in interface Invokable
- Throws:
java.beans.PropertyVetoException
remove
public void remove(FormalParameter formalParameter)
throws java.beans.PropertyVetoException
- Specified by:
remove
in interface Invokable
- Throws:
java.beans.PropertyVetoException
getFormalParameter
public FormalParameter[] getFormalParameter()
- Return a List of all FormalParameters for the tool.
- Specified by:
getFormalParameter
in interface Invokable
- Returns:
- A List of FormalParameter objects
getFormalParameter
public FormalParameter getFormalParameter(int i)
- Specified by:
getFormalParameter
in interface Invokable
getFormalParameter
public FormalParameter getFormalParameter(java.lang.String id)
- Specified by:
getFormalParameter
in interface Invokable
setFormalParameter
public void setFormalParameter(FormalParameter[] formalParameters)
throws java.beans.PropertyVetoException
- Specified by:
setFormalParameter
in interface Invokable
- Throws:
java.beans.PropertyVetoException
setFormalParameter
public void setFormalParameter(int i,
FormalParameter formalParameter)
throws java.beans.PropertyVetoException
- Specified by:
setFormalParameter
in interface Invokable
- Throws:
java.beans.PropertyVetoException
getExternalReference
public ExternalReference getExternalReference()
- Get an ExternalReference for the tool. This may be used if the tool is
accessible through a URI (for example, a web service). This method may
return null if the formal parameters are specified.
- Returns:
- The ExternalReference
setExternalReference
public void setExternalReference(ExternalReference externalReference)
- Set an ExternalReference for the tool. This may be used if the tool is
accessible through a URI (for example, a web service).
- Parameters:
externalReference
- The ExternalReference
toString
public java.lang.String toString()
- Overrides:
toString
in class AbstractWFElement
OBE-1.0 Copyright (C) 2002-2006 Adrian Price. All Rights Reserved.