org.apache.avalon.composition.event
Class CompositionEvent
java.lang.Object
java.util.EventObject
org.apache.avalon.composition.event.ModelEvent
org.apache.avalon.composition.event.ContainmentEvent
org.apache.avalon.composition.event.CompositionEvent
- All Implemented Interfaces:
- Serializable
- public class CompositionEvent
- extends ContainmentEvent
A event raised by a containment model as a result of the
addition or removal of a subsidiary model.
- Version:
- $Revision: 1.2 $ $Date: 2004/01/01 13:06:54 $
- Author:
- Stephen McConnell
- See Also:
- Serialized Form
CompositionEvent
public CompositionEvent(ContainmentModel source,
Model child)
- Create a CompositionEvent event.
- Parameters:
source
- the comtainment model raising the eventchild
- the model that is the subject of composition
getChild
public Model getChild()
- Return the child that was added or removed from the containment
model.
- Returns:
- the source containment model
toString
public String toString()
Copyright © Apache Software Foundation. All Rights Reserved.