public class ContactDto extends Object
Constructor and Description |
---|
ContactDto() |
ContactDto(List<AssociatedPerson> associatedPersons,
List<Attachment> attachments,
String companyName,
String computerNetworkName,
String customerId,
String departmentName,
String displayName,
List<EmailAddress> emailAddresses,
List<CustomerEvent> events,
String fileAs,
String fileAsMapping,
String freeBusyLocation,
String gender,
String givenName,
String governmentIdNumber,
String hobbies,
String initials,
List<InstantMessengerAddress> instantMessengers,
String jobTitle,
String language,
String location,
String middleName,
String nickname,
String notes,
String notesFormat,
String officeLocation,
String organizationalIdNumber,
List<PhoneNumber> phoneNumbers,
ContactPhoto photo,
List<PostalAddress> physicalAddresses,
String preferredTextEncoding,
String prefix,
String profession,
String suffix,
String surname,
List<Url> urls)
Initializes a new instance of the ContactDto
|
Modifier and Type | Method and Description |
---|---|
ContactDto |
addAssociatedPersonsItem(AssociatedPerson associatedPersonsItem)
Add an item to associatedPersons and return this.
|
ContactDto |
addAttachmentsItem(Attachment attachmentsItem)
Add an item to attachments and return this.
|
ContactDto |
addEmailAddressesItem(EmailAddress emailAddressesItem)
Add an item to emailAddresses and return this.
|
ContactDto |
addEventsItem(CustomerEvent eventsItem)
Add an item to events and return this.
|
ContactDto |
addInstantMessengersItem(InstantMessengerAddress instantMessengersItem)
Add an item to instantMessengers and return this.
|
ContactDto |
addPhoneNumbersItem(PhoneNumber phoneNumbersItem)
Add an item to phoneNumbers and return this.
|
ContactDto |
addPhysicalAddressesItem(PostalAddress physicalAddressesItem)
Add an item to physicalAddresses and return this.
|
ContactDto |
addUrlsItem(Url urlsItem)
Add an item to urls and return this.
|
ContactDto |
associatedPersons(List<AssociatedPerson> associatedPersons)
Set associatedPersons and return this.
|
ContactDto |
attachments(List<Attachment> attachments)
Set attachments and return this.
|
ContactDto |
companyName(String companyName)
Set companyName and return this.
|
ContactDto |
computerNetworkName(String computerNetworkName)
Set computerNetworkName and return this.
|
ContactDto |
customerId(String customerId)
Set customerId and return this.
|
ContactDto |
departmentName(String departmentName)
Set departmentName and return this.
|
ContactDto |
displayName(String displayName)
Set displayName and return this.
|
ContactDto |
emailAddresses(List<EmailAddress> emailAddresses)
Set emailAddresses and return this.
|
boolean |
equals(Object o) |
ContactDto |
events(List<CustomerEvent> events)
Set events and return this.
|
ContactDto |
fileAs(String fileAs)
Set fileAs and return this.
|
ContactDto |
fileAsMapping(String fileAsMapping)
Set fileAsMapping and return this.
|
ContactDto |
freeBusyLocation(String freeBusyLocation)
Set freeBusyLocation and return this.
|
ContactDto |
gender(String gender)
Set gender and return this.
|
List<AssociatedPerson> |
getAssociatedPersons()
Associated persons.
|
List<Attachment> |
getAttachments()
Document attachments.
|
String |
getCompanyName()
Company name.
|
String |
getComputerNetworkName()
Computer network.
|
String |
getCustomerId()
Customer id.
|
String |
getDepartmentName()
Department name.
|
String |
getDisplayName()
Display name.
|
List<EmailAddress> |
getEmailAddresses()
Person's email addresses.
|
List<CustomerEvent> |
getEvents()
Person's events.
|
String |
getFileAs()
A name used for sorting.
|
String |
getFileAsMapping()
Specifies how to generate and recompute the value of the dispidFileAs property when other contact name properties change.
|
String |
getFreeBusyLocation()
URL path from which a client can retrieve free/busy information for the contact as an iCal file.
|
String |
getGender()
Enum defines gender of a person.
|
String |
getGivenName()
Person's given name.
|
String |
getGovernmentIdNumber()
Government id number.
|
String |
getHobbies()
Person's hobbies.
|
String |
getInitials()
Person's initials.
|
List<InstantMessengerAddress> |
getInstantMessengers()
Person's instant messenger addresses.
|
String |
getJobTitle()
Person's job title.
|
String |
getLanguage()
Language.
|
String |
getLocation()
Person's location.
|
String |
getMiddleName()
Person's middle name.
|
String |
getNickname()
Person's nickname.
|
String |
getNotes()
Notes.
|
String |
getNotesFormat()
Defines format of a text.
|
String |
getOfficeLocation()
Office location.
|
String |
getOrganizationalIdNumber()
Contains an identifier for the mail user used within the mail user's organization.
|
List<PhoneNumber> |
getPhoneNumbers()
Person's phone numbers.
|
ContactPhoto |
getPhoto()
Person's photo.
|
List<PostalAddress> |
getPhysicalAddresses()
Person's physical addresses.
|
String |
getPreferredTextEncoding()
Encoding for all text properties.
|
String |
getPrefix()
A prefix of a full name such like Mr.(mister), Dr.(doctor) and so on.
|
String |
getProfession()
A job position of a person in a company.
|
String |
getSuffix()
A suffix of a full name such like Jr.(junior), Sr.(senior) and so on.
|
String |
getSurname()
Person's surname.
|
List<Url> |
getUrls()
Person's urls.
|
ContactDto |
givenName(String givenName)
Set givenName and return this.
|
ContactDto |
governmentIdNumber(String governmentIdNumber)
Set governmentIdNumber and return this.
|
int |
hashCode() |
ContactDto |
hobbies(String hobbies)
Set hobbies and return this.
|
ContactDto |
initials(String initials)
Set initials and return this.
|
ContactDto |
instantMessengers(List<InstantMessengerAddress> instantMessengers)
Set instantMessengers and return this.
|
ContactDto |
jobTitle(String jobTitle)
Set jobTitle and return this.
|
ContactDto |
language(String language)
Set language and return this.
|
ContactDto |
location(String location)
Set location and return this.
|
ContactDto |
middleName(String middleName)
Set middleName and return this.
|
ContactDto |
nickname(String nickname)
Set nickname and return this.
|
ContactDto |
notes(String notes)
Set notes and return this.
|
ContactDto |
notesFormat(String notesFormat)
Set notesFormat and return this.
|
ContactDto |
officeLocation(String officeLocation)
Set officeLocation and return this.
|
ContactDto |
organizationalIdNumber(String organizationalIdNumber)
Set organizationalIdNumber and return this.
|
ContactDto |
phoneNumbers(List<PhoneNumber> phoneNumbers)
Set phoneNumbers and return this.
|
ContactDto |
photo(ContactPhoto photo)
Set photo and return this.
|
ContactDto |
physicalAddresses(List<PostalAddress> physicalAddresses)
Set physicalAddresses and return this.
|
ContactDto |
preferredTextEncoding(String preferredTextEncoding)
Set preferredTextEncoding and return this.
|
ContactDto |
prefix(String prefix)
Set prefix and return this.
|
ContactDto |
profession(String profession)
Set profession and return this.
|
void |
setAssociatedPersons(List<AssociatedPerson> associatedPersons)
Set associatedPersons.
|
void |
setAttachments(List<Attachment> attachments)
Set attachments.
|
void |
setCompanyName(String companyName)
Set companyName.
|
void |
setComputerNetworkName(String computerNetworkName)
Set computerNetworkName.
|
void |
setCustomerId(String customerId)
Set customerId.
|
void |
setDepartmentName(String departmentName)
Set departmentName.
|
void |
setDisplayName(String displayName)
Set displayName.
|
void |
setEmailAddresses(List<EmailAddress> emailAddresses)
Set emailAddresses.
|
void |
setEvents(List<CustomerEvent> events)
Set events.
|
void |
setFileAs(String fileAs)
Set fileAs.
|
void |
setFileAsMapping(String fileAsMapping)
Set fileAsMapping.
|
void |
setFreeBusyLocation(String freeBusyLocation)
Set freeBusyLocation.
|
void |
setGender(String gender)
Set gender.
|
void |
setGivenName(String givenName)
Set givenName.
|
void |
setGovernmentIdNumber(String governmentIdNumber)
Set governmentIdNumber.
|
void |
setHobbies(String hobbies)
Set hobbies.
|
void |
setInitials(String initials)
Set initials.
|
void |
setInstantMessengers(List<InstantMessengerAddress> instantMessengers)
Set instantMessengers.
|
void |
setJobTitle(String jobTitle)
Set jobTitle.
|
void |
setLanguage(String language)
Set language.
|
void |
setLocation(String location)
Set location.
|
void |
setMiddleName(String middleName)
Set middleName.
|
void |
setNickname(String nickname)
Set nickname.
|
void |
setNotes(String notes)
Set notes.
|
void |
setNotesFormat(String notesFormat)
Set notesFormat.
|
void |
setOfficeLocation(String officeLocation)
Set officeLocation.
|
void |
setOrganizationalIdNumber(String organizationalIdNumber)
Set organizationalIdNumber.
|
void |
setPhoneNumbers(List<PhoneNumber> phoneNumbers)
Set phoneNumbers.
|
void |
setPhoto(ContactPhoto photo)
Set photo.
|
void |
setPhysicalAddresses(List<PostalAddress> physicalAddresses)
Set physicalAddresses.
|
void |
setPreferredTextEncoding(String preferredTextEncoding)
Set preferredTextEncoding.
|
void |
setPrefix(String prefix)
Set prefix.
|
void |
setProfession(String profession)
Set profession.
|
void |
setSuffix(String suffix)
Set suffix.
|
void |
setSurname(String surname)
Set surname.
|
void |
setUrls(List<Url> urls)
Set urls.
|
ContactDto |
suffix(String suffix)
Set suffix and return this.
|
ContactDto |
surname(String surname)
Set surname and return this.
|
String |
toString() |
ContactDto |
urls(List<Url> urls)
Set urls and return this.
|
public ContactDto()
public ContactDto(List<AssociatedPerson> associatedPersons, List<Attachment> attachments, String companyName, String computerNetworkName, String customerId, String departmentName, String displayName, List<EmailAddress> emailAddresses, List<CustomerEvent> events, String fileAs, String fileAsMapping, String freeBusyLocation, String gender, String givenName, String governmentIdNumber, String hobbies, String initials, List<InstantMessengerAddress> instantMessengers, String jobTitle, String language, String location, String middleName, String nickname, String notes, String notesFormat, String officeLocation, String organizationalIdNumber, List<PhoneNumber> phoneNumbers, ContactPhoto photo, List<PostalAddress> physicalAddresses, String preferredTextEncoding, String prefix, String profession, String suffix, String surname, List<Url> urls)
associatedPersons
- Associated persons.attachments
- Document attachments.companyName
- Company name.computerNetworkName
- Computer network.customerId
- Customer id.departmentName
- Department name.displayName
- Display name.emailAddresses
- Person's email addresses.events
- Person's events.fileAs
- A name used for sorting.fileAsMapping
- Specifies how to generate and recompute the value of the dispidFileAs property when other contact name properties change. Coincides MS-OXPROPS revision 16.2 from 7/31/2014. Enum, available values: Empty, DisplayName, FirstName, LastName, Organization, LastFirstMiddle, OrgLastFirstMiddle, LastFirstMiddleOrg, LastFirstMiddle2, LastFirstMiddle3, OrgLastFirstMiddle2, OrgLastFirstMiddle3, LastFirstMiddleOrg2, LastFirstMiddleOrg3, LastFirstMiddleGen, FirstMiddleLastGen, LastFirstMiddleGen2, BestMatch, AccordingToLocale, NonefreeBusyLocation
- URL path from which a client can retrieve free/busy information for the contact as an iCal file.gender
- Enum defines gender of a person. Enum, available values: Unspecified, Female, MalegivenName
- Person's given name.governmentIdNumber
- Government id number.hobbies
- Person's hobbies.initials
- Person's initials.instantMessengers
- Person's instant messenger addresses.jobTitle
- Person's job title.language
- Language.location
- Person's location.middleName
- Person's middle name.nickname
- Person's nickname.notes
- Notes.notesFormat
- Defines format of a text. Enum, available values: Text, HtmlofficeLocation
- Office location.organizationalIdNumber
- Contains an identifier for the mail user used within the mail user's organization.phoneNumbers
- Person's phone numbers.photo
- Person's photo.physicalAddresses
- Person's physical addresses.preferredTextEncoding
- Encoding for all text properties.prefix
- A prefix of a full name such like Mr.(mister), Dr.(doctor) and so on.profession
- A job position of a person in a company.suffix
- A suffix of a full name such like Jr.(junior), Sr.(senior) and so on.surname
- Person's surname.urls
- Person's urls.public ContactDto associatedPersons(List<AssociatedPerson> associatedPersons)
associatedPersons
- Associated persons.public ContactDto addAssociatedPersonsItem(AssociatedPerson associatedPersonsItem)
associatedPersonsItem
- An item of: Associated persons.public List<AssociatedPerson> getAssociatedPersons()
public void setAssociatedPersons(List<AssociatedPerson> associatedPersons)
associatedPersons
- Associated persons.public ContactDto attachments(List<Attachment> attachments)
attachments
- Document attachments.public ContactDto addAttachmentsItem(Attachment attachmentsItem)
attachmentsItem
- An item of: Document attachments.public List<Attachment> getAttachments()
public void setAttachments(List<Attachment> attachments)
attachments
- Document attachments.public ContactDto companyName(String companyName)
companyName
- Company name.public String getCompanyName()
public void setCompanyName(String companyName)
companyName
- Company name.public ContactDto computerNetworkName(String computerNetworkName)
computerNetworkName
- Computer network.public String getComputerNetworkName()
public void setComputerNetworkName(String computerNetworkName)
computerNetworkName
- Computer network.public ContactDto customerId(String customerId)
customerId
- Customer id.public String getCustomerId()
public void setCustomerId(String customerId)
customerId
- Customer id.public ContactDto departmentName(String departmentName)
departmentName
- Department name.public String getDepartmentName()
public void setDepartmentName(String departmentName)
departmentName
- Department name.public ContactDto displayName(String displayName)
displayName
- Display name.public String getDisplayName()
public void setDisplayName(String displayName)
displayName
- Display name.public ContactDto emailAddresses(List<EmailAddress> emailAddresses)
emailAddresses
- Person's email addresses.public ContactDto addEmailAddressesItem(EmailAddress emailAddressesItem)
emailAddressesItem
- An item of: Person's email addresses.public List<EmailAddress> getEmailAddresses()
public void setEmailAddresses(List<EmailAddress> emailAddresses)
emailAddresses
- Person's email addresses.public ContactDto events(List<CustomerEvent> events)
events
- Person's events.public ContactDto addEventsItem(CustomerEvent eventsItem)
eventsItem
- An item of: Person's events.public List<CustomerEvent> getEvents()
public void setEvents(List<CustomerEvent> events)
events
- Person's events.public ContactDto fileAs(String fileAs)
fileAs
- A name used for sorting.public String getFileAs()
public void setFileAs(String fileAs)
fileAs
- A name used for sorting.public ContactDto fileAsMapping(String fileAsMapping)
fileAsMapping
- Specifies how to generate and recompute the value of the dispidFileAs property when other contact name properties change. Coincides MS-OXPROPS revision 16.2 from 7/31/2014. Enum, available values: Empty, DisplayName, FirstName, LastName, Organization, LastFirstMiddle, OrgLastFirstMiddle, LastFirstMiddleOrg, LastFirstMiddle2, LastFirstMiddle3, OrgLastFirstMiddle2, OrgLastFirstMiddle3, LastFirstMiddleOrg2, LastFirstMiddleOrg3, LastFirstMiddleGen, FirstMiddleLastGen, LastFirstMiddleGen2, BestMatch, AccordingToLocale, Nonepublic String getFileAsMapping()
public void setFileAsMapping(String fileAsMapping)
fileAsMapping
- Specifies how to generate and recompute the value of the dispidFileAs property when other contact name properties change. Coincides MS-OXPROPS revision 16.2 from 7/31/2014. Enum, available values: Empty, DisplayName, FirstName, LastName, Organization, LastFirstMiddle, OrgLastFirstMiddle, LastFirstMiddleOrg, LastFirstMiddle2, LastFirstMiddle3, OrgLastFirstMiddle2, OrgLastFirstMiddle3, LastFirstMiddleOrg2, LastFirstMiddleOrg3, LastFirstMiddleGen, FirstMiddleLastGen, LastFirstMiddleGen2, BestMatch, AccordingToLocale, Nonepublic ContactDto freeBusyLocation(String freeBusyLocation)
freeBusyLocation
- URL path from which a client can retrieve free/busy information for the contact as an iCal file.public String getFreeBusyLocation()
public void setFreeBusyLocation(String freeBusyLocation)
freeBusyLocation
- URL path from which a client can retrieve free/busy information for the contact as an iCal file.public ContactDto gender(String gender)
gender
- Enum defines gender of a person. Enum, available values: Unspecified, Female, Malepublic String getGender()
public void setGender(String gender)
gender
- Enum defines gender of a person. Enum, available values: Unspecified, Female, Malepublic ContactDto givenName(String givenName)
givenName
- Person's given name.public String getGivenName()
public void setGivenName(String givenName)
givenName
- Person's given name.public ContactDto governmentIdNumber(String governmentIdNumber)
governmentIdNumber
- Government id number.public String getGovernmentIdNumber()
public void setGovernmentIdNumber(String governmentIdNumber)
governmentIdNumber
- Government id number.public ContactDto hobbies(String hobbies)
hobbies
- Person's hobbies.public String getHobbies()
public void setHobbies(String hobbies)
hobbies
- Person's hobbies.public ContactDto initials(String initials)
initials
- Person's initials.public String getInitials()
public void setInitials(String initials)
initials
- Person's initials.public ContactDto instantMessengers(List<InstantMessengerAddress> instantMessengers)
instantMessengers
- Person's instant messenger addresses.public ContactDto addInstantMessengersItem(InstantMessengerAddress instantMessengersItem)
instantMessengersItem
- An item of: Person's instant messenger addresses.public List<InstantMessengerAddress> getInstantMessengers()
public void setInstantMessengers(List<InstantMessengerAddress> instantMessengers)
instantMessengers
- Person's instant messenger addresses.public ContactDto jobTitle(String jobTitle)
jobTitle
- Person's job title.public String getJobTitle()
public void setJobTitle(String jobTitle)
jobTitle
- Person's job title.public ContactDto language(String language)
language
- Language.public String getLanguage()
public void setLanguage(String language)
language
- Language.public ContactDto location(String location)
location
- Person's location.public String getLocation()
public void setLocation(String location)
location
- Person's location.public ContactDto middleName(String middleName)
middleName
- Person's middle name.public String getMiddleName()
public void setMiddleName(String middleName)
middleName
- Person's middle name.public ContactDto nickname(String nickname)
nickname
- Person's nickname.public String getNickname()
public void setNickname(String nickname)
nickname
- Person's nickname.public ContactDto notes(String notes)
notes
- Notes.public String getNotes()
public void setNotes(String notes)
notes
- Notes.public ContactDto notesFormat(String notesFormat)
notesFormat
- Defines format of a text. Enum, available values: Text, Htmlpublic String getNotesFormat()
public void setNotesFormat(String notesFormat)
notesFormat
- Defines format of a text. Enum, available values: Text, Htmlpublic ContactDto officeLocation(String officeLocation)
officeLocation
- Office location.public String getOfficeLocation()
public void setOfficeLocation(String officeLocation)
officeLocation
- Office location.public ContactDto organizationalIdNumber(String organizationalIdNumber)
organizationalIdNumber
- Contains an identifier for the mail user used within the mail user's organization.public String getOrganizationalIdNumber()
public void setOrganizationalIdNumber(String organizationalIdNumber)
organizationalIdNumber
- Contains an identifier for the mail user used within the mail user's organization.public ContactDto phoneNumbers(List<PhoneNumber> phoneNumbers)
phoneNumbers
- Person's phone numbers.public ContactDto addPhoneNumbersItem(PhoneNumber phoneNumbersItem)
phoneNumbersItem
- An item of: Person's phone numbers.public List<PhoneNumber> getPhoneNumbers()
public void setPhoneNumbers(List<PhoneNumber> phoneNumbers)
phoneNumbers
- Person's phone numbers.public ContactDto photo(ContactPhoto photo)
photo
- Person's photo.public ContactPhoto getPhoto()
public void setPhoto(ContactPhoto photo)
photo
- Person's photo.public ContactDto physicalAddresses(List<PostalAddress> physicalAddresses)
physicalAddresses
- Person's physical addresses.public ContactDto addPhysicalAddressesItem(PostalAddress physicalAddressesItem)
physicalAddressesItem
- An item of: Person's physical addresses.public List<PostalAddress> getPhysicalAddresses()
public void setPhysicalAddresses(List<PostalAddress> physicalAddresses)
physicalAddresses
- Person's physical addresses.public ContactDto preferredTextEncoding(String preferredTextEncoding)
preferredTextEncoding
- Encoding for all text properties.public String getPreferredTextEncoding()
public void setPreferredTextEncoding(String preferredTextEncoding)
preferredTextEncoding
- Encoding for all text properties.public ContactDto prefix(String prefix)
prefix
- A prefix of a full name such like Mr.(mister), Dr.(doctor) and so on.public String getPrefix()
public void setPrefix(String prefix)
prefix
- A prefix of a full name such like Mr.(mister), Dr.(doctor) and so on.public ContactDto profession(String profession)
profession
- A job position of a person in a company.public String getProfession()
public void setProfession(String profession)
profession
- A job position of a person in a company.public ContactDto suffix(String suffix)
suffix
- A suffix of a full name such like Jr.(junior), Sr.(senior) and so on.public String getSuffix()
public void setSuffix(String suffix)
suffix
- A suffix of a full name such like Jr.(junior), Sr.(senior) and so on.public ContactDto surname(String surname)
surname
- Person's surname.public String getSurname()
public void setSurname(String surname)
surname
- Person's surname.public ContactDto urls(List<Url> urls)
urls
- Person's urls.public ContactDto addUrlsItem(Url urlsItem)
urlsItem
- An item of: Person's urls.Copyright © 2020. All rights reserved.