Class ActionSequence

  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<Action>
              extended by com.codemonster.surinam.mgmt.ActionSequence
All Implemented Interfaces:
Serializable, Cloneable, Iterable<Action>, Collection<Action>, List<Action>, RandomAccess

public class ActionSequence
extends ArrayList<Action>

This is a structure that represents the object form of an Action Document. This is essentially a list of Actions that can be initiated on a Service Block. In its simplicity, hides the potential to do enormously beneficial management operations on a Service Block.

See Also:
Action, Serialized Form

Constructor Summary
          Constructs an empty list with an initial capacity of ten.
ActionSequence(int initialCapacity, boolean resetFlag)
          Constructs an empty list with the specified initial capacity.
Method Summary
 boolean isResetFlag()
 void setResetFlag(boolean resetFlag)
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, set, size, toArray, toArray, trimToSize
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList

Constructor Detail


public ActionSequence()
Constructs an empty list with an initial capacity of ten.


public ActionSequence(int initialCapacity,
                      boolean resetFlag)
Constructs an empty list with the specified initial capacity. This is useful for times when the initial values are already known.

initialCapacity - the initial capacity of the list
resetFlag - a boolean to indicate whether to reset the Service Block before the apply operation.
IllegalArgumentException - if the specified initial capacity is negative
Method Detail


public boolean isResetFlag()


public void setResetFlag(boolean resetFlag)

Copyright © 2010. All Rights Reserved.