org.obe.xpdl.model.activity
Class ToolSet

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

public final class ToolSet
extends AbstractBean
implements Implementation

A set of tools.

Author:
Adrian Price
See Also:
Serialized Form

Field Summary
static java.lang.String IMPLEMENTATION_TYPE
           
static java.lang.String TOOL
           
 
Constructor Summary
ToolSet()
          Construct a new ToolSet.
 
Method Summary
 void accept(PackageVisitor visitor)
           
 void add(Tool tool)
           
 Tool[] getTool()
          Get a List of all tools in the set.
 Tool getTool(int i)
           
 Tool getTool(java.lang.String id)
           
 ImplementationType getType()
           
 void remove(Tool tool)
           
 void setTool(int i, Tool tool)
           
 void setTool(Tool[] tools)
           
 java.lang.String toString()
           
 
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
 

Field Detail

IMPLEMENTATION_TYPE

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

TOOL

public static final java.lang.String TOOL
See Also:
Constant Field Values
Constructor Detail

ToolSet

public ToolSet()
Construct a new ToolSet.

Method Detail

accept

public void accept(PackageVisitor visitor)
Specified by:
accept in interface Implementation

getType

public ImplementationType getType()
Specified by:
getType in interface Implementation

add

public void add(Tool tool)
         throws java.beans.PropertyVetoException
Throws:
java.beans.PropertyVetoException

remove

public void remove(Tool tool)
            throws java.beans.PropertyVetoException
Throws:
java.beans.PropertyVetoException

getTool

public Tool[] getTool()
Get a List of all tools in the set.

Returns:
a List of tools

getTool

public Tool getTool(int i)

getTool

public Tool getTool(java.lang.String id)

setTool

public void setTool(Tool[] tools)
             throws java.beans.PropertyVetoException
Throws:
java.beans.PropertyVetoException

setTool

public void setTool(int i,
                    Tool tool)
             throws java.beans.PropertyVetoException
Throws:
java.beans.PropertyVetoException

toString

public java.lang.String toString()


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