|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krms.impl.ui.AgendaEditorController.AgendaItemChildAccessor
protected static class AgendaEditorController.AgendaItemChildAccessor
This class abstracts getting and setting a child of an AgendaItemBo, making some recursive operations require less boiler plate.
The word 'child' in AgendaItemChildAccessor means child in the strict data structures sense, in that the instance passed in holds a reference to some other node (or null). However, when discussing the agenda tree and algorithms for manipulating it, the meaning of 'child' is somewhat different, and there are notions of 'sibling' and 'cousin' that are tossed about too. It's probably worth explaining that somewhat here:
General principals of relationships when talking about the agenda tree:
This diagram of an agenda tree and the following examples seek to illustrate these principals:
Examples:
Method Summary | |
---|---|
AgendaItemBo |
getChild(AgendaItemBo parent)
|
void |
setChild(AgendaItemBo parent,
AgendaItemBo child)
Sets the child reference and the child id |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public AgendaItemBo getChild(AgendaItemBo parent)
public void setChild(AgendaItemBo parent, AgendaItemBo child)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |