org.obe.xpdl.model.activity
Class ToolSet
java.lang.Object
org.obe.util.AbstractBean
org.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
Constructor Summary |
ToolSet()
Construct a new ToolSet. |
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 |
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
ToolSet
public ToolSet()
- Construct a new ToolSet.
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()
OBE-1.0 Copyright (C) 2002-2006 Adrian Price. All Rights Reserved.