org.opencrx.kernel.account1.cci2
Interface Contact

All Superinterfaces:
Account, AlertSender, Auditee, org.openmdx.base.cci2.BasicObject, Cloneable, org.openmdx.base.cci2.ContextCapable, CrxObject, org.openmdx.base.cci2.ExtentCapable, GenericAccount, Importer, Indexed, Pictured, SecureObject, org.openmdx.compatibility.view1.cci2.ViewCapable, XmlExporter
All Known Subinterfaces:
Contact
All Known Implementing Classes:
Contact

public interface Contact
extends Account, Pictured

Class Contact


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.opencrx.kernel.account1.cci2.Account
Account.Identity
 
Method Summary
 void addContactRelationship(boolean idIsPersistent, String id, ContactRelationship contactRelationship)
          Adds the specified element to the set of the values for the reference contactRelationship.
 ExportResult exportVcard(short locale)
           
 Date getAnniversary()
          Retrieves the possibly null value for the optional attribute anniversary.
 BigDecimal getAnnualIncomeAmount()
          Retrieves the possibly null value for the optional attribute annualIncomeAmount.
 Short getAnnualIncomeCurrency()
          Retrieves the possibly null value for the optional attribute annualIncomeCurrency.
 Account getAssistant()
          Retrieves the value for the reference assistant.
 Date getBirthdate()
          Retrieves the possibly null value for the optional attribute birthdate.
 List<String> getChildrenNames()
          Retrieves a list containing all the elements for the attribute childrenNames.
 List<Short> getCitizenship()
          Retrieves a list containing all the elements for the attribute citizenship.
<T extends ContactRelationship>
Collection<T>
getContactRelationship()
          Retrieves a set containing all the elements for the reference contactRelationship.
 ContactRelationship getContactRelationship(boolean idIsPersistent, String id)
          Retrieves the value for the reference contactRelationship for the specified qualifier attribute value.
 String getDepartment()
          Retrieves the possibly null value for the optional attribute department.
 Account getDeputy()
          Retrieves the value for the reference deputy.
 short getEducation()
          Retrieves the value for the attribute education.
 short getFamilyStatus()
          Retrieves the value for the attribute familyStatus.
 String getFirstName()
          Retrieves the possibly null value for the optional attribute firstName.
 short getGender()
          Retrieves the value for the attribute gender.
 String getGovernmentId()
          Retrieves the possibly null value for the optional attribute governmentId.
 String getJobRole()
          Retrieves the possibly null value for the optional attribute jobRole.
 String getJobTitle()
          Retrieves the possibly null value for the optional attribute jobTitle.
 String getLastName()
          Retrieves the possibly null value for the optional attribute lastName.
 String getMiddleName()
          Retrieves the possibly null value for the optional attribute middleName.
 String getNickName()
          Retrieves the possibly null value for the optional attribute nickName.
 Short getNumberOfChildren()
          Retrieves the possibly null value for the optional attribute numberOfChildren.
 String getOrganization()
          Retrieves the possibly null value for the optional attribute organization.
<T extends OrganizationalUnit>
List<T>
getOuMembership()
          Retrieves the Collection of objects referenced by ouMembership.
 short getPreferredContactMethod()
          Retrieves the value for the attribute preferredContactMethod.
 short getPreferredSpokenLanguage()
          Retrieves the value for the attribute preferredSpokenLanguage.
 short getPreferredWrittenLanguage()
          Retrieves the value for the attribute preferredWrittenLanguage.
 List<Short> getReligion()
          Retrieves a list containing all the elements for the attribute religion.
 Contact getReportsTo()
          Retrieves the value for the reference reportsTo.
 String getSalutation()
          Retrieves the possibly null value for the optional attribute salutation.
 short getSalutationCode()
          Retrieves the value for the attribute salutationCode.
 String getSuffix()
          Retrieves the possibly null value for the optional attribute suffix.
 Boolean isDoNotBulkPostalMail()
          Retrieves the possibly null value for the optional attribute doNotBulkPostalMail.
 Boolean isDoNotEmail()
          Retrieves the possibly null value for the optional attribute doNotEMail.
 Boolean isDoNotFax()
          Retrieves the possibly null value for the optional attribute doNotFax.
 Boolean isDoNotPhone()
          Retrieves the possibly null value for the optional attribute doNotPhone.
 Boolean isDoNotPostalMail()
          Retrieves the possibly null value for the optional attribute doNotPostalMail.
 void setAnniversary(Date anniversary)
          Sets a new value for the attribute anniversary.
 void setAnnualIncomeAmount(BigDecimal annualIncomeAmount)
          Sets a new value for the attribute annualIncomeAmount.
 void setAnnualIncomeCurrency(Short annualIncomeCurrency)
          Sets a new value for the attribute annualIncomeCurrency.
 void setAssistant(Account assistant)
          Sets a new value for the reference assistant.
 void setBirthdate(Date birthdate)
          Sets a new value for the attribute birthdate.
 void setChildrenNames(String... childrenNames)
          Clears childrenNames and adds the given value(s).
 void setCitizenship(short... citizenship)
          Clears citizenship and adds the given value(s).
 void setDepartment(String department)
          Sets a new value for the attribute department.
 void setDeputy(Account deputy)
          Sets a new value for the reference deputy.
 void setDoNotBulkPostalMail(Boolean doNotBulkPostalMail)
          Sets a new value for the attribute doNotBulkPostalMail.
 void setDoNotEmail(Boolean doNotEmail)
          Sets a new value for the attribute doNotEMail.
 void setDoNotFax(Boolean doNotFax)
          Sets a new value for the attribute doNotFax.
 void setDoNotPhone(Boolean doNotPhone)
          Sets a new value for the attribute doNotPhone.
 void setDoNotPostalMail(Boolean doNotPostalMail)
          Sets a new value for the attribute doNotPostalMail.
 void setEducation(short education)
          Sets a new value for the attribute education.
 void setFamilyStatus(short familyStatus)
          Sets a new value for the attribute familyStatus.
 void setFirstName(String firstName)
          Sets a new value for the attribute firstName.
 void setGender(short gender)
          Sets a new value for the attribute gender.
 void setGovernmentId(String governmentId)
          Sets a new value for the attribute governmentId.
 void setJobRole(String jobRole)
          Sets a new value for the attribute jobRole.
 void setJobTitle(String jobTitle)
          Sets a new value for the attribute jobTitle.
 void setLastName(String lastName)
          Sets a new value for the attribute lastName.
 void setMiddleName(String middleName)
          Sets a new value for the attribute middleName.
 void setNickName(String nickName)
          Sets a new value for the attribute nickName.
 void setNumberOfChildren(Short numberOfChildren)
          Sets a new value for the attribute numberOfChildren.
 void setOrganization(String organization)
          Sets a new value for the attribute organization.
 void setPreferredContactMethod(short preferredContactMethod)
          Sets a new value for the attribute preferredContactMethod.
 void setPreferredSpokenLanguage(short preferredSpokenLanguage)
          Sets a new value for the attribute preferredSpokenLanguage.
 void setPreferredWrittenLanguage(short preferredWrittenLanguage)
          Sets a new value for the attribute preferredWrittenLanguage.
 void setReligion(short... religion)
          Clears religion and adds the given value(s).
 void setReportsTo(Contact reportsTo)
          Sets a new value for the reference reportsTo.
 void setSalutation(String salutation)
          Sets a new value for the attribute salutation.
 void setSalutationCode(short salutationCode)
          Sets a new value for the attribute salutationCode.
 void setSuffix(String suffix)
          Sets a new value for the attribute suffix.
 
Methods inherited from interface org.opencrx.kernel.account1.cci2.Account
addAddress, addMember, createInvoice, createLead, createOpportunity, createQuote, createSalesOrder, getAccountCategory, getAccountMembership, getAccountMembership, getAccountRating, getAccountState, getAccountType, getAddress, getAddress, getAliasName, getAssignedActivity, getAssignedActivity, getAssignedContract, getAssignedContract, getBusinessType, getContact, getDescription, getExtCode0, getExtCode1, getExtCode10, getExtCode11, getExtCode12, getExtCode13, getExtCode14, getExtCode15, getExtCode16, getExtCode17, getExtCode18, getExtCode19, getExtCode2, getExtCode3, getExtCode4, getExtCode5, getExtCode6, getExtCode7, getExtCode8, getExtCode9, getExtDate0, getExtDate1, getExtDate2, getExtDate3, getExtDate4, getExtDate5, getExtDate6, getExtDate7, getExtDate8, getExtDate9, getExtDateTime0, getExtDateTime1, getExtDateTime2, getExtDateTime3, getExtDateTime4, getExtDateTime5, getExtDateTime6, getExtDateTime7, getExtDateTime8, getExtDateTime9, getExtNumber0, getExtNumber1, getExtNumber2, getExtNumber3, getExtNumber4, getExtNumber5, getExtNumber6, getExtNumber7, getExtNumber8, getExtNumber9, getExtString0, getExtString1, getExtString2, getExtString3, getExtString4, getExtString5, getExtString6, getExtString7, getExtString8, getExtString9, getFullName, getMaster, getMember, getMember, getPartner, getProduct, getProduct, isExtBoolean0, isExtBoolean1, isExtBoolean2, isExtBoolean3, isExtBoolean4, isExtBoolean5, isExtBoolean6, isExtBoolean7, isExtBoolean8, isExtBoolean9, setAccountCategory, setAccountRating, setAccountState, setAccountType, setAliasName, setBusinessType, setDescription, setExtBoolean0, setExtBoolean1, setExtBoolean2, setExtBoolean3, setExtBoolean4, setExtBoolean5, setExtBoolean6, setExtBoolean7, setExtBoolean8, setExtBoolean9, setExtCode0, setExtCode1, setExtCode10, setExtCode11, setExtCode12, setExtCode13, setExtCode14, setExtCode15, setExtCode16, setExtCode17, setExtCode18, setExtCode19, setExtCode2, setExtCode3, setExtCode4, setExtCode5, setExtCode6, setExtCode7, setExtCode8, setExtCode9, setExtDate0, setExtDate1, setExtDate2, setExtDate3, setExtDate4, setExtDate5, setExtDate6, setExtDate7, setExtDate8, setExtDate9, setExtDateTime0, setExtDateTime1, setExtDateTime2, setExtDateTime3, setExtDateTime4, setExtDateTime5, setExtDateTime6, setExtDateTime7, setExtDateTime8, setExtDateTime9, setExtNumber0, setExtNumber1, setExtNumber2, setExtNumber3, setExtNumber4, setExtNumber5, setExtNumber6, setExtNumber7, setExtNumber8, setExtNumber9, setExtString0, setExtString1, setExtString2, setExtString3, setExtString4, setExtString5, setExtString6, setExtString7, setExtString8, setExtString9, setMaster
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.CrxObject
addAdditionalExternalLink, addAttachedDocument, addMedia, addNote, addPropertySet, addRating, getAdditionalExternalLink, getAdditionalExternalLink, getAttachedDocument, getAttachedDocument, getCategory, getDisabledReason, getExternalLink, getMedia, getMedia, getNote, getNote, getPropertySet, getPropertySet, getPropertySetEntry, getPropertySetEntry, getRating, getRating, getUserBoolean4, getUserCode0, getUserCode1, getUserCode2, getUserCode3, getUserCode4, getUserDate0, getUserDate1, getUserDate2, getUserDate3, getUserDate4, getUserDateTime0, getUserDateTime1, getUserDateTime2, getUserDateTime3, getUserDateTime4, getUserNumber0, getUserNumber1, getUserNumber2, getUserNumber3, getUserNumber4, getUserString0, getUserString1, getUserString2, getUserString3, getUserString4, isDisabled, isUserBoolean0, isUserBoolean1, isUserBoolean2, isUserBoolean3, setCategory, setDisabled, setDisabledReason, setExternalLink, setUserBoolean0, setUserBoolean1, setUserBoolean2, setUserBoolean3, setUserBoolean4, setUserCode0, setUserCode1, setUserCode2, setUserCode3, setUserCode4, setUserDate0, setUserDate1, setUserDate2, setUserDate3, setUserDate4, setUserDateTime0, setUserDateTime1, setUserDateTime2, setUserDateTime3, setUserDateTime4, setUserNumber0, setUserNumber1, setUserNumber2, setUserNumber3, setUserNumber4, setUserString0, setUserString1, setUserString2, setUserString3, setUserString4
 
Methods inherited from interface org.opencrx.kernel.base.cci2.AlertSender
sendAlert
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee
getAudit, getAudit
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Cloneable
clone_
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Importer
importItem
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed
getIndexEntry, getIndexEntry, updateIndex
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser
 
Methods inherited from interface org.opencrx.kernel.base.cci2.XmlExporter
exportXml
 
Methods inherited from interface org.openmdx.base.cci2.BasicObject
getCreatedAt, getCreatedBy, getModifiedAt, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView, getView
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.Pictured
getPicture, getPictureContent, getPictureContentMimeType, getPictureContentName, setPicture
 

Method Detail

getAnniversary

Date getAnniversary()
Retrieves the possibly null value for the optional attribute anniversary.

Returns:
The possibly null value for attribute anniversary.

setAnniversary

void setAnniversary(Date anniversary)
Sets a new value for the attribute anniversary.

Parameters:
anniversary - The possibly null new value for attribute anniversary.

getAnnualIncomeAmount

BigDecimal getAnnualIncomeAmount()
Retrieves the possibly null value for the optional attribute annualIncomeAmount.

Returns:
The possibly null value for attribute annualIncomeAmount.

setAnnualIncomeAmount

void setAnnualIncomeAmount(BigDecimal annualIncomeAmount)
Sets a new value for the attribute annualIncomeAmount.

Parameters:
annualIncomeAmount - The possibly null new value for attribute annualIncomeAmount.

getAnnualIncomeCurrency

Short getAnnualIncomeCurrency()
Retrieves the possibly null value for the optional attribute annualIncomeCurrency.

Returns:
The possibly null value for attribute annualIncomeCurrency.

setAnnualIncomeCurrency

void setAnnualIncomeCurrency(Short annualIncomeCurrency)
Sets a new value for the attribute annualIncomeCurrency.

Parameters:
annualIncomeCurrency - The possibly null new value for attribute annualIncomeCurrency.

getAssistant

Account getAssistant()
Retrieves the value for the reference assistant.

Returns:
The – possibly null – value for this reference.

setAssistant

void setAssistant(Account assistant)
Sets a new value for the reference assistant.

Parameters:
assistant - The non-null new value for this reference.

getBirthdate

Date getBirthdate()
Retrieves the possibly null value for the optional attribute birthdate.

Returns:
The possibly null value for attribute birthdate.

setBirthdate

void setBirthdate(Date birthdate)
Sets a new value for the attribute birthdate.

Parameters:
birthdate - The possibly null new value for attribute birthdate.

getChildrenNames

List<String> getChildrenNames()
Retrieves a list containing all the elements for the attribute childrenNames.

Returns:
A list containing all elements for this attribute.

setChildrenNames

void setChildrenNames(String... childrenNames)
Clears childrenNames and adds the given value(s).

This method is equivalent to

   list.clear();
   for(java.lang.String e : attributeName){
     list.add(e);
   }
 

Parameters:
childrenNames - value(s) to be added to childrenNames

getCitizenship

List<Short> getCitizenship()
Retrieves a list containing all the elements for the attribute citizenship.

Returns:
A list containing all elements for this attribute.

setCitizenship

void setCitizenship(short... citizenship)
Clears citizenship and adds the given value(s).

This method is equivalent to

   list.clear();
   for(short e : attributeName){
     list.add(e);
   }
 

Parameters:
citizenship - value(s) to be added to citizenship

getContactRelationship

<T extends ContactRelationship> Collection<T> getContactRelationship()
Retrieves a set containing all the elements for the reference contactRelationship.

Returns:
A set containing all the elements for this reference.

getContactRelationship

ContactRelationship getContactRelationship(boolean idIsPersistent,
                                           String id)
Retrieves the value for the reference contactRelationship for the specified qualifier attribute value.

Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addContactRelationship

void addContactRelationship(boolean idIsPersistent,
                            String id,
                            ContactRelationship contactRelationship)
Adds the specified element to the set of the values for the reference contactRelationship.

Note: This is an extension to the JMI 1 standard.

Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
contactRelationship - The element to be appended.

getDepartment

String getDepartment()
Retrieves the possibly null value for the optional attribute department.

Returns:
The possibly null value for attribute department.

setDepartment

void setDepartment(String department)
Sets a new value for the attribute department.

Parameters:
department - The possibly null new value for attribute department.

getDeputy

Account getDeputy()
Retrieves the value for the reference deputy.

Returns:
The – possibly null – value for this reference.

setDeputy

void setDeputy(Account deputy)
Sets a new value for the reference deputy.

Parameters:
deputy - The non-null new value for this reference.

isDoNotBulkPostalMail

Boolean isDoNotBulkPostalMail()
Retrieves the possibly null value for the optional attribute doNotBulkPostalMail.

Returns:
The possibly null value for attribute doNotBulkPostalMail.

setDoNotBulkPostalMail

void setDoNotBulkPostalMail(Boolean doNotBulkPostalMail)
Sets a new value for the attribute doNotBulkPostalMail.

Parameters:
doNotBulkPostalMail - The possibly null new value for attribute doNotBulkPostalMail.

isDoNotEmail

Boolean isDoNotEmail()
Retrieves the possibly null value for the optional attribute doNotEMail.

Returns:
The possibly null value for attribute doNotEMail.

setDoNotEmail

void setDoNotEmail(Boolean doNotEmail)
Sets a new value for the attribute doNotEMail.

Parameters:
doNotEmail - The possibly null new value for attribute doNotEMail.

isDoNotFax

Boolean isDoNotFax()
Retrieves the possibly null value for the optional attribute doNotFax.

Returns:
The possibly null value for attribute doNotFax.

setDoNotFax

void setDoNotFax(Boolean doNotFax)
Sets a new value for the attribute doNotFax.

Parameters:
doNotFax - The possibly null new value for attribute doNotFax.

isDoNotPhone

Boolean isDoNotPhone()
Retrieves the possibly null value for the optional attribute doNotPhone.

Returns:
The possibly null value for attribute doNotPhone.

setDoNotPhone

void setDoNotPhone(Boolean doNotPhone)
Sets a new value for the attribute doNotPhone.

Parameters:
doNotPhone - The possibly null new value for attribute doNotPhone.

isDoNotPostalMail

Boolean isDoNotPostalMail()
Retrieves the possibly null value for the optional attribute doNotPostalMail.

Returns:
The possibly null value for attribute doNotPostalMail.

setDoNotPostalMail

void setDoNotPostalMail(Boolean doNotPostalMail)
Sets a new value for the attribute doNotPostalMail.

Parameters:
doNotPostalMail - The possibly null new value for attribute doNotPostalMail.

getEducation

short getEducation()
Retrieves the value for the attribute education.

Returns:
The non-null value for attribute education.

setEducation

void setEducation(short education)
Sets a new value for the attribute education.

Parameters:
education - The non-null new value for attribute education.

exportVcard

ExportResult exportVcard(short locale)

getFamilyStatus

short getFamilyStatus()
Retrieves the value for the attribute familyStatus.

Returns:
The non-null value for attribute familyStatus.

setFamilyStatus

void setFamilyStatus(short familyStatus)
Sets a new value for the attribute familyStatus.

Parameters:
familyStatus - The non-null new value for attribute familyStatus.

getFirstName

String getFirstName()
Retrieves the possibly null value for the optional attribute firstName.

Returns:
The possibly null value for attribute firstName.

setFirstName

void setFirstName(String firstName)
Sets a new value for the attribute firstName.

Parameters:
firstName - The possibly null new value for attribute firstName.

getGender

short getGender()
Retrieves the value for the attribute gender.

Returns:
The non-null value for attribute gender.

setGender

void setGender(short gender)
Sets a new value for the attribute gender.

Parameters:
gender - The non-null new value for attribute gender.

getGovernmentId

String getGovernmentId()
Retrieves the possibly null value for the optional attribute governmentId.

Returns:
The possibly null value for attribute governmentId.

setGovernmentId

void setGovernmentId(String governmentId)
Sets a new value for the attribute governmentId.

Parameters:
governmentId - The possibly null new value for attribute governmentId.

getJobRole

String getJobRole()
Retrieves the possibly null value for the optional attribute jobRole.

Returns:
The possibly null value for attribute jobRole.

setJobRole

void setJobRole(String jobRole)
Sets a new value for the attribute jobRole.

Parameters:
jobRole - The possibly null new value for attribute jobRole.

getJobTitle

String getJobTitle()
Retrieves the possibly null value for the optional attribute jobTitle.

Returns:
The possibly null value for attribute jobTitle.

setJobTitle

void setJobTitle(String jobTitle)
Sets a new value for the attribute jobTitle.

Parameters:
jobTitle - The possibly null new value for attribute jobTitle.

getLastName

String getLastName()
Retrieves the possibly null value for the optional attribute lastName.

Returns:
The possibly null value for attribute lastName.

setLastName

void setLastName(String lastName)
Sets a new value for the attribute lastName.

Parameters:
lastName - The possibly null new value for attribute lastName.

getMiddleName

String getMiddleName()
Retrieves the possibly null value for the optional attribute middleName.

Returns:
The possibly null value for attribute middleName.

setMiddleName

void setMiddleName(String middleName)
Sets a new value for the attribute middleName.

Parameters:
middleName - The possibly null new value for attribute middleName.

getNickName

String getNickName()
Retrieves the possibly null value for the optional attribute nickName.

Returns:
The possibly null value for attribute nickName.

setNickName

void setNickName(String nickName)
Sets a new value for the attribute nickName.

Parameters:
nickName - The possibly null new value for attribute nickName.

getNumberOfChildren

Short getNumberOfChildren()
Retrieves the possibly null value for the optional attribute numberOfChildren.

Returns:
The possibly null value for attribute numberOfChildren.

setNumberOfChildren

void setNumberOfChildren(Short numberOfChildren)
Sets a new value for the attribute numberOfChildren.

Parameters:
numberOfChildren - The possibly null new value for attribute numberOfChildren.

getOrganization

String getOrganization()
Retrieves the possibly null value for the optional attribute organization.

Returns:
The possibly null value for attribute organization.

setOrganization

void setOrganization(String organization)
Sets a new value for the attribute organization.

Parameters:
organization - The possibly null new value for attribute organization.

getOuMembership

<T extends OrganizationalUnit> List<T> getOuMembership()
Retrieves the Collection of objects referenced by ouMembership.

Returns:
The Collection of referenced objects.

getPreferredContactMethod

short getPreferredContactMethod()
Retrieves the value for the attribute preferredContactMethod.

Returns:
The non-null value for attribute preferredContactMethod.

setPreferredContactMethod

void setPreferredContactMethod(short preferredContactMethod)
Sets a new value for the attribute preferredContactMethod.

Parameters:
preferredContactMethod - The non-null new value for attribute preferredContactMethod.

getPreferredSpokenLanguage

short getPreferredSpokenLanguage()
Retrieves the value for the attribute preferredSpokenLanguage.

Returns:
The non-null value for attribute preferredSpokenLanguage.

setPreferredSpokenLanguage

void setPreferredSpokenLanguage(short preferredSpokenLanguage)
Sets a new value for the attribute preferredSpokenLanguage.

Parameters:
preferredSpokenLanguage - The non-null new value for attribute preferredSpokenLanguage.

getPreferredWrittenLanguage

short getPreferredWrittenLanguage()
Retrieves the value for the attribute preferredWrittenLanguage.

Returns:
The non-null value for attribute preferredWrittenLanguage.

setPreferredWrittenLanguage

void setPreferredWrittenLanguage(short preferredWrittenLanguage)
Sets a new value for the attribute preferredWrittenLanguage.

Parameters:
preferredWrittenLanguage - The non-null new value for attribute preferredWrittenLanguage.

getReligion

List<Short> getReligion()
Retrieves a list containing all the elements for the attribute religion.

Returns:
A list containing all elements for this attribute.

setReligion

void setReligion(short... religion)
Clears religion and adds the given value(s).

This method is equivalent to

   list.clear();
   for(short e : attributeName){
     list.add(e);
   }
 

Parameters:
religion - value(s) to be added to religion

getReportsTo

Contact getReportsTo()
Retrieves the value for the reference reportsTo.

Returns:
The – possibly null – value for this reference.

setReportsTo

void setReportsTo(Contact reportsTo)
Sets a new value for the reference reportsTo.

Parameters:
reportsTo - The non-null new value for this reference.

getSalutation

String getSalutation()
Retrieves the possibly null value for the optional attribute salutation.

Returns:
The possibly null value for attribute salutation.

setSalutation

void setSalutation(String salutation)
Sets a new value for the attribute salutation.

Parameters:
salutation - The possibly null new value for attribute salutation.

getSalutationCode

short getSalutationCode()
Retrieves the value for the attribute salutationCode.

Returns:
The non-null value for attribute salutationCode.

setSalutationCode

void setSalutationCode(short salutationCode)
Sets a new value for the attribute salutationCode.

Parameters:
salutationCode - The non-null new value for attribute salutationCode.

getSuffix

String getSuffix()
Retrieves the possibly null value for the optional attribute suffix.

Returns:
The possibly null value for attribute suffix.

setSuffix

void setSuffix(String suffix)
Sets a new value for the attribute suffix.

Parameters:
suffix - The possibly null new value for attribute suffix.


This software is published under the BSD license. Copyright © 2003-2008, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.