public interface Parent extends Child
Modifier and Type | Method and Description |
---|---|
void |
addChild(Property property)
Add a new child to the collection of children
|
java.util.Iterator |
getChildren()
Get an iterator over the children of this Parent; all elements
are instances of Property.
|
void |
setNextChild(Child child)
Set the next Child
|
void |
setPreviousChild(Child child)
Set the previous Child
|
getNextChild, getPreviousChild
java.util.Iterator getChildren()
void addChild(Property property) throws java.io.IOException
property
- the new child to be added; must not be nulljava.io.IOException
- if the Parent already has a child with
the same namevoid setPreviousChild(Child child)
setPreviousChild
in interface Child
child
- the new 'previous' child; may be null, which has
the effect of saying there is no 'previous' childvoid setNextChild(Child child)
setNextChild
in interface Child
child
- the new 'next' child; may be null, which has the
effect of saying there is no 'next' childCopyright © 2014 Open Microscopy Environment