org.obe.xpdl.model.activity
Class Tool

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

public final class Tool
extends Invocation

Implementation which specifies a particular tool which should be used for the activity. The tool will either be an application or a procedure.

Author:
Adrian Price
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.obe.xpdl.model.misc.Invocation
_actualParameter, _id, ACTUAL_PARAMETER, ID
 
Constructor Summary
Tool()
           
Tool(java.lang.String id)
          Construct a new Tool object with the given id.
 
Method Summary
 void accept(PackageVisitor visitor)
           
 java.lang.String getDescription()
          Get a description of the tool.
 ExtendedAttributes getExtendedAttributes()
          Returns the extended attributes.
 ToolType getToolType()
          Get the tool type, for example an application or function.
 void setDescription(java.lang.String description)
          Set a description of the tool.
 void setExtendedAttributes(ExtendedAttributes extendedAttributes)
          Sets the extended attributes.
 void setToolType(ToolType toolType)
          Set the tool type.
 java.lang.String toString()
           
 
Methods inherited from class org.obe.xpdl.model.misc.Invocation
add, getActualParameter, getActualParameter, getId, remove, setActualParameter, setActualParameter, setId
 
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, wait, wait, wait
 

Constructor Detail

Tool

public Tool()

Tool

public Tool(java.lang.String id)
Construct a new Tool object with the given id.

Parameters:
id - The tool ID
Method Detail

accept

public void accept(PackageVisitor visitor)
Overrides:
accept in class Invocation

getDescription

public java.lang.String getDescription()
Get a description of the tool.

Returns:
A description of the tool

setDescription

public void setDescription(java.lang.String description)
Set a description of the tool.

Parameters:
description - The new description of the tool

getExtendedAttributes

public ExtendedAttributes getExtendedAttributes()
Returns the extended attributes.

Returns:
Extended attributes

setExtendedAttributes

public void setExtendedAttributes(ExtendedAttributes extendedAttributes)
Sets the extended attributes.

Parameters:
extendedAttributes - Extended attributes.

getToolType

public ToolType getToolType()
Get the tool type, for example an application or function.

Returns:
The ToolType

setToolType

public void setToolType(ToolType toolType)
Set the tool type.

Parameters:
toolType - The tool type

toString

public java.lang.String toString()


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