|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FamilyMember
This interface is implemented by any object that is a member of a family tree. It allows such objects to be manipulated and queried in common ways. This makes the creation and use of trees much easier and more flexible.
Method Summary | |
---|---|
java.util.List |
getChildren()
Returns the children of this FamilyMember. |
int |
getParentId()
Returns the ID of this FamilyMember's parent. |
void |
setChildren(java.util.List children)
Sets the children of this FamilyMember to those in the supplied list of FamilyMembers. |
void |
setParentId(int parentId)
Sets the ID of this FamilyMember's parent. |
Methods inherited from interface uk.co.agena.minerva.util.model.Identifiable |
---|
getId |
Method Detail |
---|
void setChildren(java.util.List children)
children
- the new children of the FamilyMemberjava.util.List getChildren()
void setParentId(int parentId)
parentId
- the ID of this FamilyMember's new parentint getParentId()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |