|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.objex.panywhere.Relationship
com.objex.panywhere.SpouseRelationship
public class SpouseRelationship
Class defines the the properties and methods of a SpouseRelationship bean. The properties and methods emulate the type of interaction and relativity between two spouses, enabling the user of the bean to determine what specific type of relationship exists between the two Individuals.
| Constructor Summary | |
|---|---|
SpouseRelationship()
Creates a new Spouse Relationship Object |
|
SpouseRelationship(java.lang.String upn,
java.lang.String type)
Creates a new SpouseRelationship object for Individual specified and with the spouse type types specified. |
|
| Method Summary | |
|---|---|
boolean |
isCasual()
|
boolean |
isConsanguineous()
|
boolean |
isDivorced()
|
boolean |
isInfertile()
|
boolean |
isMarried()
|
boolean |
isNoissue()
|
boolean |
isSeparated()
|
void |
setCasual(boolean as_casual)
Sets Casual status of this relationship object |
void |
setConsanguineous(boolean incestuous)
Sets Consanguinous status of this relationship object |
void |
setDivorced(boolean as_divorced)
Sets Divorced status of this relationship object |
void |
setInfertile(boolean fertile)
Sets Infertility status of this relationship object |
void |
setMarried(boolean as_married)
Sets Normal status of this relationship object |
void |
setNoissue(boolean as_noissue)
Sets No Issue status of this relationship object |
void |
setSeparated(boolean as_separated)
Sets Separated status of this relationship object. |
| Methods inherited from class com.objex.panywhere.Relationship |
|---|
getType, getUpn, isDizygotic, isMonozygotic, isUnknown, setDizygotic, setMonozygotic, setType, setUnknown, setUpn |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpouseRelationship()
public SpouseRelationship(java.lang.String upn,
java.lang.String type)
upn - The UPN of the Individual owning this twin Relationship objecttype - The spouse type for the new spouse relationship.| Method Detail |
|---|
public void setConsanguineous(boolean incestuous)
Relationship
setConsanguineous in class Relationshipincestuous - The new Consanguinous statuspublic boolean isConsanguineous()
isConsanguineous in class Relationshippublic void setMarried(boolean as_married)
Relationship
setMarried in class Relationshipas_married - The new Normal statuspublic boolean isMarried()
isMarried in class Relationshippublic void setNoissue(boolean as_noissue)
Relationship
setNoissue in class Relationshipas_noissue - The new No Issue statuspublic boolean isNoissue()
isNoissue in class Relationshippublic void setInfertile(boolean fertile)
Relationship
setInfertile in class Relationshipfertile - The new Infertile statuspublic boolean isInfertile()
isInfertile in class Relationshippublic void setCasual(boolean as_casual)
Relationship
setCasual in class Relationshipas_casual - The new Casual statuspublic boolean isCasual()
isCasual in class Relationshippublic void setDivorced(boolean as_divorced)
Relationship
setDivorced in class Relationshipas_divorced - The new Divorced statuspublic boolean isDivorced()
isDivorced in class Relationshippublic void setSeparated(boolean as_separated)
Relationship
setSeparated in class Relationshipas_separated - The new separated statuspublic boolean isSeparated()
isSeparated in class Relationship
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||