|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.objex.panywhere.Family
public class Family
The Family contains and maintains a list of all persons in the pedigree.
| Constructor Summary | |
|---|---|
Family()
Creates a new family with default properties |
|
| Method Summary | |
|---|---|
boolean |
addIndividual(Individual a_added_member,
Individual a_to_member)
Adds the specified Individual to this family. |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener lstnr)
Enables users of Family Bean to register for property change events |
void |
deleteAll()
Removes / deletes all Individuals in the Family Model. |
java.lang.String |
getFamilyID()
Retrives the family ID for this family |
java.lang.String |
getFamilyName()
Retrieves the family Name for this family |
Individual |
getIndividual(Individual member)
Gets / retrieves the Individuals specified from the family and returns his Individual object. |
Individual |
getIndividual(java.lang.String memberid)
Gets / retrives the Individual whose ID is specified from the family and returns his Individual object. |
static Family |
getInstance()
Return the current instance of Family. |
java.util.Map |
getMembers()
|
int |
getNumIndividuals()
|
java.lang.Object[] |
getUPNList()
Retrieve an List of UPN's of all individuals in this family |
void |
removeIndividual(Individual member)
Removes / deletes specified Individual from this family or Pedigree. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener lstnr)
Enables users of Family bean to remove property change events listeners |
void |
setFamilyID(java.lang.String rhs)
Sets the family id property. |
void |
setFamilyName(java.lang.String name)
Sets the family name property |
void |
setMembers(java.util.Map fMembers)
Adds the Individuals contained in Map fMembers to the Family Model |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Family()
| Method Detail |
|---|
public void addPropertyChangeListener(java.beans.PropertyChangeListener lstnr)
public void removePropertyChangeListener(java.beans.PropertyChangeListener lstnr)
public static Family getInstance()
public boolean addIndividual(Individual a_added_member,
Individual a_to_member)
a_added_member - The new Individual to be added.
* @param a_to_member The Individual to whom the new person was added. THis may be null if person was added unconnectedpublic void removeIndividual(Individual member)
member - The Individual to be deletedpublic void deleteAll()
public Individual getIndividual(Individual member)
member - The individual whose object is to be retrieved
public Individual getIndividual(java.lang.String memberid)
memberid - The UPN of the Individual to be retrieved
s
public void setFamilyID(java.lang.String rhs)
rhs - The new ID of this familypublic java.lang.String getFamilyID()
public void setFamilyName(java.lang.String name)
name - The name of the familypublic java.lang.String getFamilyName()
public void setMembers(java.util.Map fMembers)
fMembers - The Map containing Individual objects keyed by Individual.upnpublic java.util.Map getMembers()
public int getNumIndividuals()
public java.lang.Object[] getUPNList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||