org.apache.commons.workflow.base
Class DescriptorStep

java.lang.Object
  extended by org.apache.commons.workflow.base.BaseStep
      extended by org.apache.commons.workflow.base.DescriptorStep
All Implemented Interfaces:
Descriptors, Step
Direct Known Subclasses:
BaseBlock, ConstructStep, DisplayStep, GetStep, GotoStep, InvokeStep, PopulateStep, PutStep, RemoveStep

public abstract class DescriptorStep
extends BaseStep
implements Descriptors

DescriptorStep is a convenient base class for more sophisticated Step implementations that already support the APIs provided by BaseStep, and also implement the Descriptors interafce.

Version:
$Revision: 155475 $ $Date: 2005-02-26 13:31:11 +0000 (Sat, 26 Feb 2005) $
Author:
Craig R. McClanahan

Field Summary
protected  ArrayList descriptors
          The list of Descriptor objects associated with this Step.
 
Fields inherited from class org.apache.commons.workflow.base.BaseStep
id, nextStep, owner, previousStep
 
Constructor Summary
DescriptorStep()
           
 
Method Summary
 void addDescriptor(Descriptor descriptor)
          Add a new Descriptor to the set associated with this object.
 Descriptor[] findDescriptors()
          Return the set of Descriptor objects associated with this object, in the order that they were originally added.
 void removeDescriptor(Descriptor descriptor)
          Remove an existing Descriptor from the set associated with this object.
 
Methods inherited from class org.apache.commons.workflow.base.BaseStep
execute, getId, getNextStep, getOwner, getPreviousStep, setId, setNextStep, setOwner, setPreviousStep
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

descriptors

protected ArrayList descriptors
The list of Descriptor objects associated with this Step.

Constructor Detail

DescriptorStep

public DescriptorStep()
Method Detail

addDescriptor

public void addDescriptor(Descriptor descriptor)
Add a new Descriptor to the set associated with this object.

Specified by:
addDescriptor in interface Descriptors
Parameters:
descriptor - The Descriptor to be added

findDescriptors

public Descriptor[] findDescriptors()
Return the set of Descriptor objects associated with this object, in the order that they were originally added.

Specified by:
findDescriptors in interface Descriptors

removeDescriptor

public void removeDescriptor(Descriptor descriptor)
Remove an existing Descriptor from the set associated with this object.

Specified by:
removeDescriptor in interface Descriptors
Parameters:
descriptor - The Descriptor to be removed


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.