net.sf.doolin.bus.bean
Class ParentBean
java.lang.Object
net.sf.doolin.bus.bean.ParentBean
- All Implemented Interfaces:
- IParentBean
public class ParentBean
- extends Object
- implements IParentBean
This class defines the relationship between a Bean and its parent in
an object hierarchy.
- Author:
- Damien Coraboeuf
|
Constructor Summary |
ParentBean(Object parent,
String propertyInParent)
Constructor for the association between a parent and the property that
contains the child. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParentBean
public ParentBean(Object parent,
String propertyInParent)
- Constructor for the association between a parent and the property that
contains the child.
- Parameters:
parent - Reference to the parent beanpropertyInParent - Property in the parent that contains the child bean
notifyForChild
public void notifyForChild(String propertyName,
Object oldValue,
Object newValue)
- Notifies the change of the child from the parent level
- Specified by:
notifyForChild in interface IParentBean
- Parameters:
propertyName - Property in the childoldValue - Old value for this propertynewValue - New value for this property
Copyright © 2011. All Rights Reserved.