public class Relationship
extends java.lang.Object
Constructor | Description |
---|---|
Relationship() |
|
Relationship(Person person1,
Person person2) |
|
Relationship(Person mother,
Person child,
Person father) |
|
Relationship(Person person1,
Person person2,
RelationshipType type,
java.util.Date start) |
Modifier and Type | Method | Description |
---|---|---|
Person |
getPerson1() |
|
Person |
getPerson2() |
|
Person |
getPerson3() |
|
java.util.Date |
getStart() |
|
RelationshipType |
getType() |
|
boolean |
isApproximateDate() |
|
void |
setApproximateDate(boolean approximateDate) |
|
void |
setPerson1(Person person1) |
|
void |
setPerson2(Person person2) |
|
void |
setPerson3(Person person3) |
|
void |
setStart(java.util.Date start) |
|
void |
setType(RelationshipType type) |
|
java.lang.String |
toString() |
public Relationship()
public Relationship(Person person1, Person person2, RelationshipType type, java.util.Date start)
public boolean isApproximateDate()
public void setApproximateDate(boolean approximateDate)
public Person getPerson1()
public void setPerson1(Person person1)
public Person getPerson2()
public void setPerson2(Person person2)
public Person getPerson3()
public void setPerson3(Person person3)
public RelationshipType getType()
public void setType(RelationshipType type)
public java.util.Date getStart()
public void setStart(java.util.Date start)
public java.lang.String toString()
toString
in class java.lang.Object