Class ContactDataImpl
java.lang.Object
org.bonitasoft.engine.identity.impl.ContactDataImpl
- All Implemented Interfaces:
Serializable,ContactData
- Author:
- Matthieu Chaffotte, Emmanuel Duchastenier
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedContactDataImpl(long userId) ContactDataImpl(ContactData contactData) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCity()getEmail()getRoom()getState()longinthashCode()booleanvoidsetAddress(String address) voidsetBuilding(String building) voidvoidsetCountry(String country) voidvoidsetFaxNumber(String faxNumber) voidsetMobileNumber(String mobileNumber) voidsetPersonal(boolean personal) voidsetPhoneNumber(String phoneNumber) voidvoidvoidsetWebsite(String website) voidsetZipCode(String zipCode)
-
Constructor Details
-
ContactDataImpl
protected ContactDataImpl() -
ContactDataImpl
public ContactDataImpl(long userId) -
ContactDataImpl
-
-
Method Details
-
getEmail
- Specified by:
getEmailin interfaceContactData- Returns:
- the contact email
-
getPhoneNumber
- Specified by:
getPhoneNumberin interfaceContactData- Returns:
- the contact phone number
-
getMobileNumber
- Specified by:
getMobileNumberin interfaceContactData- Returns:
- the contact mobile phone number
-
getFaxNumber
- Specified by:
getFaxNumberin interfaceContactData- Returns:
- the contact fax number
-
getBuilding
- Specified by:
getBuildingin interfaceContactData- Returns:
- the contact building
-
getRoom
- Specified by:
getRoomin interfaceContactData- Returns:
- the contact room
-
getAddress
- Specified by:
getAddressin interfaceContactData- Returns:
- the contact address
-
getZipCode
- Specified by:
getZipCodein interfaceContactData- Returns:
- the contact ZIP code
-
getCity
- Specified by:
getCityin interfaceContactData- Returns:
- the contact city
-
getState
- Specified by:
getStatein interfaceContactData- Returns:
- the contact state
-
getCountry
- Specified by:
getCountryin interfaceContactData- Returns:
- the contact country
-
getWebsite
- Specified by:
getWebsitein interfaceContactData- Returns:
- the contact web site address
-
hashCode
public int hashCode() -
equals
-
setEmail
-
setPhoneNumber
-
setMobileNumber
-
setFaxNumber
-
setBuilding
-
setRoom
-
setAddress
-
setZipCode
-
setCity
-
setState
-
setCountry
-
setWebsite
-
getUserId
public long getUserId()- Specified by:
getUserIdin interfaceContactData- Returns:
- the user id of this contact data
-
isPersonal
public boolean isPersonal()- Specified by:
isPersonalin interfaceContactData- Returns:
- true if this contact data is some personal information
-
setPersonal
public void setPersonal(boolean personal)
-