org.dbforms.event.eventtype
Class AbstractCompositeEventTypeStrategy

java.lang.Object
  extended by org.dbforms.event.eventtype.AbstractCompositeEventTypeStrategy
All Implemented Interfaces:
EventTypeStrategy
Direct Known Subclasses:
DbFormsEventTypeStrategy

public abstract class AbstractCompositeEventTypeStrategy
extends Object
implements EventTypeStrategy

Abstract composite EventTypeStrategy class.

Author:
Luca Fossato

Field Summary
protected  ArrayList strategyList
          the list of EventTypeStrategy objects
 
Constructor Summary
AbstractCompositeEventTypeStrategy()
           
 
Method Summary
 void add(EventTypeStrategy strategy)
          Adds an EventTypeStrategy object to the Strategy list
 EventTypeStrategy getChild(int index)
          Gets the child EventTypeStrategy having the input index
 boolean remove(EventTypeStrategy strategy)
          Remove an EventTypeStrategy object to the Strategy list
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.dbforms.event.eventtype.EventTypeStrategy
getEventGroup, getEventType, getId
 

Field Detail

strategyList

protected ArrayList strategyList
the list of EventTypeStrategy objects

Constructor Detail

AbstractCompositeEventTypeStrategy

public AbstractCompositeEventTypeStrategy()
Method Detail

getChild

public EventTypeStrategy getChild(int index)
Gets the child EventTypeStrategy having the input index

Parameters:
index - DOCUMENT ME!
Returns:
the child EventTypeStrategy having the input index

add

public void add(EventTypeStrategy strategy)
Adds an EventTypeStrategy object to the Strategy list

Parameters:
strategy - the EventTypeStrategy object to add to

remove

public boolean remove(EventTypeStrategy strategy)
Remove an EventTypeStrategy object to the Strategy list

Parameters:
strategy - the EventTypeStrategy object to remove to
Returns:
true if the object had removed from the list; false otherwise


Copyright © 2002-2006 DbForms. All Rights Reserved.