Class Contact
- java.lang.Object
-
- org.hibernate.testing.orm.domain.contacts.Contact
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Contact.Gender
static class
Contact.Name
-
Constructor Summary
Constructors Constructor Description Contact()
Contact(Integer id, Contact.Name name, Contact.Gender gender, LocalDate birthDay)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Address>
getAddresses()
Contact
getAlternativeContact()
LocalDate
getBirthDay()
Contact.Gender
getGender()
Integer
getId()
Contact.Name
getName()
List<PhoneNumber>
getPhoneNumbers()
void
setAddresses(List<Address> addresses)
void
setAlternativeContact(Contact alternativeContact)
void
setBirthDay(LocalDate birthDay)
void
setGender(Contact.Gender gender)
void
setId(Integer id)
void
setName(Contact.Name name)
void
setPhoneNumbers(List<PhoneNumber> phoneNumbers)
-
-
-
Constructor Detail
-
Contact
public Contact()
-
Contact
public Contact(Integer id, Contact.Name name, Contact.Gender gender, LocalDate birthDay)
-
-
Method Detail
-
getId
public Integer getId()
-
setId
public void setId(Integer id)
-
getName
public Contact.Name getName()
-
setName
public void setName(Contact.Name name)
-
getGender
public Contact.Gender getGender()
-
setGender
public void setGender(Contact.Gender gender)
-
getBirthDay
public LocalDate getBirthDay()
-
setBirthDay
public void setBirthDay(LocalDate birthDay)
-
getAlternativeContact
public Contact getAlternativeContact()
-
setAlternativeContact
public void setAlternativeContact(Contact alternativeContact)
-
getPhoneNumbers
public List<PhoneNumber> getPhoneNumbers()
-
setPhoneNumbers
public void setPhoneNumbers(List<PhoneNumber> phoneNumbers)
-
-