public abstract class Contact extends Object implements Serializable
Contact details for the associated user.
Modifier and Type | Class and Description |
---|---|
static class |
Contact.Factory
Constructs new instances of
Contact . |
Constructor and Description |
---|
Contact() |
Modifier and Type | Method and Description |
---|---|
String |
attributesToString()
Builds a string showing the current attribute values
|
boolean |
equals(Object object)
Returns
true if the argument is an Contact instance and all identifiers for this
entity equal the identifiers of the argument entity. |
String |
getCity()
Cityname of the user address.
|
Country |
getCountry() |
PhoneNumber |
getFax()
Faxnumber of the user address with the scheme - countryCode cityCode phoneNumber, which is
given by the EmbeddedValue PhoneNumber.
|
Long |
getId() |
PhoneNumber |
getPhone()
Phonenumber of the user address with the scheme - countryCode cityCode phoneNumber, which is
given by the EmbeddedValue PhoneNumber.
|
String |
getStreet()
Street and house number of the user address.
|
String |
getZip()
Zip code of the user address.
|
int |
hashCode()
Returns a hash code based on this entity's identifiers.
|
void |
setCity(String city) |
void |
setCountry(Country country) |
void |
setFax(PhoneNumber fax) |
void |
setId(Long id) |
void |
setPhone(PhoneNumber phone) |
void |
setStreet(String street) |
void |
setZip(String zip) |
public String attributesToString()
public boolean equals(Object object)
true
if the argument is an Contact instance and all identifiers for this
entity equal the identifiers of the argument entity. Returns false
otherwise.public String getCity()
Cityname of the user address.
public Country getCountry()
public PhoneNumber getFax()
Faxnumber of the user address with the scheme - countryCode cityCode phoneNumber, which is given by the EmbeddedValue PhoneNumber.
public Long getId()
public PhoneNumber getPhone()
Phonenumber of the user address with the scheme - countryCode cityCode phoneNumber, which is given by the EmbeddedValue PhoneNumber.
public String getStreet()
Street and house number of the user address.
public String getZip()
Zip code of the user address.
public int hashCode()
public void setCity(String city)
public void setCountry(Country country)
public void setFax(PhoneNumber fax)
public void setId(Long id)
public void setPhone(PhoneNumber phone)
public void setStreet(String street)
public void setZip(String zip)
Copyright © 2019 Communote team. All rights reserved.