@Entity public class Parent extends AbstractEntity implements Person, ContactInfo
| Modifier and Type | Class and Description |
|---|---|
static class |
Parent.Relationship |
| Constructor and Description |
|---|
Parent() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Contact |
getContact() |
EmailAddress |
getEmailAddress() |
Gender |
getGender() |
TokenList |
getGivenNames() |
PhysicalAddress |
getMailingAddress() |
List<Phone> |
getPhones() |
Token |
getPreferredName() |
Parent.Relationship |
getRelationship() |
Token |
getSurname() |
void |
setContact(Contact contact) |
void |
setEmailAddress(EmailAddress emailAddress) |
void |
setGender(Gender gender) |
void |
setGivenNames(TokenList givenNames) |
void |
setMailingAddress(PhysicalAddress mailingAddress) |
void |
setPhones(List<Phone> phones) |
void |
setPreferredName(Token preferredName) |
void |
setRelationship(Parent.Relationship relationship) |
void |
setSurname(Token surname) |
getId, getVersion, hashCode, setId, setVersion, toStringpublic Contact getContact()
public void setContact(Contact contact)
public Token getSurname()
getSurname in interface Personpublic void setSurname(Token surname)
setSurname in interface Personpublic TokenList getGivenNames()
getGivenNames in interface Personpublic void setGivenNames(TokenList givenNames)
setGivenNames in interface Personpublic Token getPreferredName()
getPreferredName in interface Personpublic void setPreferredName(Token preferredName)
setPreferredName in interface Personpublic PhysicalAddress getMailingAddress()
getMailingAddress in interface ContactInfopublic void setMailingAddress(PhysicalAddress mailingAddress)
setMailingAddress in interface ContactInfopublic EmailAddress getEmailAddress()
getEmailAddress in interface ContactInfopublic void setEmailAddress(EmailAddress emailAddress)
setEmailAddress in interface ContactInfopublic List<Phone> getPhones()
getPhones in interface ContactInfopublic void setPhones(List<Phone> phones)
setPhones in interface ContactInfopublic Parent.Relationship getRelationship()
public void setRelationship(Parent.Relationship relationship)
public boolean equals(Object obj)
equals in class AbstractEntityCopyright © 2014–2016. All rights reserved.