This method retrieves a child object Bean based on its index in a list of child objects. Each getter method is named according to the child objects defined for the parent object. For example, if the parent object contains a child object named “Address”, the getter method for this field is named getAddress. A getter method is created for each child object in the parent object.
ChildBean getChild(int i) |
Name |
Type |
Description |
---|---|---|
i |
int |
The index of the child object to retrieve from a list of child objects. |
A Java Bean containing the child object specified by the index value. The method name indicates the type of child object returned.
ObjectException