|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.objex.panywhere.Relationship
public abstract class Relationship
Defines at an abstract level what makes up a relationship between two Individuals. High level methods for setting and getting the properties of a relationship are defined.
| Constructor Summary | |
|---|---|
Relationship()
Creates a new Relationship object. |
|
Relationship(java.lang.String aUpn,
java.lang.String aRelationship)
Creates a new Relationship object for Individual specified by "upn" and with the twin type specified. |
|
| Method Summary | |
|---|---|
java.lang.String |
getType()
|
java.lang.String |
getUpn()
|
boolean |
isCasual()
|
boolean |
isConsanguineous()
|
boolean |
isDivorced()
|
boolean |
isDizygotic()
|
boolean |
isInfertile()
|
boolean |
isMarried()
|
boolean |
isMonozygotic()
|
boolean |
isNoissue()
|
boolean |
isSeparated()
|
boolean |
isUnknown()
|
void |
setCasual(boolean rhs)
Sets Casual status of this relationship object |
void |
setConsanguineous(boolean rhs)
Sets Consanguinous status of this relationship object |
void |
setDivorced(boolean rhs)
Sets Divorced status of this relationship object |
void |
setDizygotic(boolean rhs)
Sets Dizygotic status of this relationship object |
void |
setInfertile(boolean rhs)
Sets Infertility status of this relationship object |
void |
setMarried(boolean rhs)
Sets Normal status of this relationship object |
void |
setMonozygotic(boolean rhs)
Abstract method sets Monozygotic status of this relationship object |
void |
setNoissue(boolean rhs)
Sets No Issue status of this relationship object |
void |
setSeparated(boolean as_separated)
Sets Separated status of this relationship object. |
void |
setType(java.lang.String as_rel)
Sets the Type of twin |
void |
setUnknown(boolean rhs)
Sets Unknown Twin Type status of this relationship object |
void |
setUpn(java.lang.String key)
Sets the UPN |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Relationship()
public Relationship(java.lang.String aUpn,
java.lang.String aRelationship)
aUpn - The UPN of the Individual owning this twin Relationship objectaRelationship - The twin type for the new twin relationship.| Method Detail |
|---|
public void setUpn(java.lang.String key)
key - The new UPN propertypublic java.lang.String getUpn()
public void setType(java.lang.String as_rel)
as_rel - The new Relationship Typepublic java.lang.String getType()
public boolean isDivorced()
public boolean isDizygotic()
public boolean isMonozygotic()
public boolean isUnknown()
public boolean isConsanguineous()
public boolean isMarried()
public boolean isSeparated()
public void setSeparated(boolean as_separated)
as_separated - The new separated statuspublic void setDivorced(boolean rhs)
rhs - The new Divorced statuspublic void setMarried(boolean rhs)
rhs - The new Normal statuspublic void setConsanguineous(boolean rhs)
rhs - The new Consanguinous statuspublic void setDizygotic(boolean rhs)
rhs - The new Dizygotic statuspublic void setMonozygotic(boolean rhs)
rhs - The new Monozygtic statuspublic void setUnknown(boolean rhs)
rhs - The new Unknown statuspublic void setNoissue(boolean rhs)
rhs - The new No Issue statuspublic void setInfertile(boolean rhs)
rhs - The new Infertile statuspublic void setCasual(boolean rhs)
rhs - The new Casual statuspublic boolean isCasual()
public boolean isInfertile()
public boolean isNoissue()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||