uk.co.agena.minerva.util.model
Interface FamilyMember

All Superinterfaces:
Identifiable
All Known Subinterfaces:
NamedFamilyMember
All Known Implementing Classes:
ExtendedBN, Model

public interface FamilyMember
extends Identifiable

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

setChildren

void setChildren(java.util.List children)
Sets the children of this FamilyMember to those in the supplied list of FamilyMembers.

Parameters:
children - the new children of the FamilyMember

getChildren

java.util.List getChildren()
Returns the children of this FamilyMember.

Returns:
this FamilyMember's children

setParentId

void setParentId(int parentId)
Sets the ID of this FamilyMember's parent.

Parameters:
parentId - the ID of this FamilyMember's new parent

getParentId

int getParentId()
Returns the ID of this FamilyMember's parent.

Returns:
the ID of this FamilyMember's parent


Copyright © 2006 Agena Ltd. All Rights Reserved.