org.opencrx.kernel.account1.jdo2
Class Contact

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jdo2.AbstractObject
          extended by org.opencrx.kernel.account1.jdo2.Account
              extended by org.opencrx.kernel.account1.jdo2.Contact
All Implemented Interfaces:
Serializable, Account, Contact, AlertSender, Auditee, Cloneable, Exporter, Importer, Indexed, SecureObject, CrxObject, GenericAccount, Pictured, AspectCapable, BasicObject, ContextCapable, Creatable, ExtentCapable, Modifiable

public class Contact
extends Account
implements Contact

Class Contact

See Also:
Serialized Form

Nested Class Summary
static class Contact.Slice
          Slice object hold the Contact's multivalued attributes
 
Nested classes/interfaces inherited from class org.opencrx.kernel.account1.jdo2.Account
Account.Identity
 
Nested classes/interfaces inherited from class org.w3c.jdo2.AbstractObject
org.w3c.jdo2.AbstractObject.EmbeddedList<E>, org.w3c.jdo2.AbstractObject.EmbeddedSet<E>
 
Nested classes/interfaces inherited from interface org.opencrx.kernel.account1.cci2.Account
Account.Identity
 
Field Summary
static List<String> CLASS
          Define the model class org::opencrx::kernel::account1::Contact
 
Fields inherited from class org.opencrx.kernel.account1.jdo2.Account
BASE_CLASS
 
Constructor Summary
Contact()
           
 
Method Summary
 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>
ContactHasContactRelationship.ContactRelationship<T>
getContactRelationship()
          Retrieves a set containing all the elements for the reference contactRelationship.
 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.
 Media getPicture()
          Retrieves the value for the reference picture.
 byte[] getPictureContent()
          Retrieves the possibly null value for the optional attribute pictureContent.
 String getPictureContentMimeType()
          Retrieves the possibly null value for the optional attribute pictureContentMimeType.
 String getPictureContentName()
          Retrieves the possibly null value for the optional attribute pictureContentName.
 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.
static Account.Identity newIdentity(Segment.Identity segment, QualifierType idType, String id)
           
protected  org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
           
protected  List<String> openmdxjdoGetClass()
          Retrieve the model class
protected  int openmdxjdoGetSize(int field)
           
protected  void openmdxjdoSetSize(int field, int size)
           
static Account.Identity openmdxjdoToIdentity(ObjectId objectId)
           
 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 setPicture(Media picture)
          Sets a new value for the reference picture.
 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 class org.opencrx.kernel.account1.jdo2.Account
addOwningGroup, addToSegment, addToSegment, checkPermissions, clone_, createInvoice, createLead, createOpportunity, createQuote, createSalesOrder, exportItem, exportItemAdvanced, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getAccountCategory, getAccountMembership, getAccountRating, getAccountState, getAccountType, getAdditionalExternalLink, getAddress, getAliasName, getAssignedActivity, getAssignedBudget, getAssignedContract, getAttachedDocument, getAudit, getBusinessType, getCategory, getContact, getContext, getCreatedAt, getCreatedBy, getDescription, getDisabledReason, getDocumentFolderAssignment, getExtCode0, getExtCode1, getExtCode10, getExtCode11, getExtCode12, getExtCode13, getExtCode14, getExtCode15, getExtCode16, getExtCode17, getExtCode18, getExtCode19, getExtCode2, getExtCode20, getExtCode21, getExtCode22, getExtCode23, getExtCode24, getExtCode25, getExtCode26, getExtCode27, getExtCode28, getExtCode29, 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, getExternalLink, getExtNumber0, getExtNumber1, getExtNumber2, getExtNumber3, getExtNumber4, getExtNumber5, getExtNumber6, getExtNumber7, getExtNumber8, getExtNumber9, getExtString0, getExtString1, getExtString2, getExtString3, getExtString4, getExtString5, getExtString6, getExtString7, getExtString8, getExtString9, getFullName, getIdentity, getIndexEntry, getMaster, getMedia, getMember, getModifiedAt, getModifiedBy, getNote, getOwner, getOwningGroup, getOwningUser, getPartner, getProduct, getPropertySet, getPropertySetEntry, 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, getVcard, importItem, isDisabled, isExtBoolean0, isExtBoolean1, isExtBoolean2, isExtBoolean3, isExtBoolean4, isExtBoolean5, isExtBoolean6, isExtBoolean7, isExtBoolean8, isExtBoolean9, isUserBoolean0, isUserBoolean1, isUserBoolean2, isUserBoolean3, openmdxjdoGetObjectId, openmdxjdoGetSlices, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, sendAlert, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setAccountCategory, setAccountRating, setAccountState, setAccountType, setAliasName, setBusinessType, setCategory, setDescription, setDisabled, setDisabledReason, setExtBoolean0, setExtBoolean1, setExtBoolean2, setExtBoolean3, setExtBoolean4, setExtBoolean5, setExtBoolean6, setExtBoolean7, setExtBoolean8, setExtBoolean9, setExtCode0, setExtCode1, setExtCode10, setExtCode11, setExtCode12, setExtCode13, setExtCode14, setExtCode15, setExtCode16, setExtCode17, setExtCode18, setExtCode19, setExtCode2, setExtCode20, setExtCode21, setExtCode22, setExtCode23, setExtCode24, setExtCode25, setExtCode26, setExtCode27, setExtCode28, setExtCode29, 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, setExternalLink, setExtNumber0, setExtNumber1, setExtNumber2, setExtNumber3, setExtNumber4, setExtNumber5, setExtNumber6, setExtNumber7, setExtNumber8, setExtNumber9, setExtString0, setExtString1, setExtString2, setExtString3, setExtString4, setExtString5, setExtString6, setExtString7, setExtString8, setExtString9, setMaster, setOwningUser, setOwningUser, 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, updateIndex, updateVcard
 
Methods inherited from class org.w3c.jdo2.AbstractObject
openmdxjdoClassName, openmdxjdoGetIdentityBuilder, openmdxjdoGetList, openmdxjdoGetObjectsByParent, openmdxjdoGetSet, openmdxjdoGetSparseArray, openmdxjdoNewMap, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement
 
Methods inherited from class org.oasisopen.jdo2.Identifiable
jdoClass, modelClasses, openmdxjdoGetObject, openmdxjdoGetObjectById, openmdxjdoGetObjectId, openmdxjdoGetObjectSet, openmdxjdoNewObjectId, openmdxjdoNewObjectId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opencrx.kernel.account1.cci2.Account
createInvoice, createLead, createOpportunity, createQuote, createSalesOrder, getAccountCategory, getAccountMembership, getAccountRating, getAccountState, getAccountType, getAddress, getAliasName, getAssignedActivity, getAssignedBudget, getAssignedContract, getBusinessType, getContact, getDescription, getExtCode0, getExtCode1, getExtCode10, getExtCode11, getExtCode12, getExtCode13, getExtCode14, getExtCode15, getExtCode16, getExtCode17, getExtCode18, getExtCode19, getExtCode2, getExtCode20, getExtCode21, getExtCode22, getExtCode23, getExtCode24, getExtCode25, getExtCode26, getExtCode27, getExtCode28, getExtCode29, 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, getPartner, getProduct, getVcard, 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, setExtCode20, setExtCode21, setExtCode22, setExtCode23, setExtCode24, setExtCode25, setExtCode26, setExtCode27, setExtCode28, setExtCode29, 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, updateVcard
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.CrxObject
getAdditionalExternalLink, getAttachedDocument, getCategory, getDisabledReason, getDocumentFolderAssignment, getExternalLink, getMedia, getNote, getPropertySet, getPropertySetEntry, 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
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Cloneable
clone_
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Exporter
exportItem, exportItemAdvanced
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Importer
importItem
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed
getIndexEntry, updateIndex
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser
 
Methods inherited from interface org.openmdx.base.cci2.ContextCapable
getContext
 
Methods inherited from interface org.openmdx.base.cci2.Creatable
getCreatedAt, getCreatedBy
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.base.cci2.Modifiable
getModifiedAt, getModifiedBy
 

Field Detail

CLASS

public static final List<String> CLASS
Define the model class org::opencrx::kernel::account1::Contact

Constructor Detail

Contact

public Contact()
Method Detail

getPictureContentMimeType

public final String getPictureContentMimeType()
Retrieves the possibly null value for the optional attribute pictureContentMimeType.

Specified by:
getPictureContentMimeType in interface Pictured
Returns:
The possibly null value for attribute pictureContentMimeType.

getAnnualIncomeAmount

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

Specified by:
getAnnualIncomeAmount in interface Contact
Returns:
The possibly null value for attribute annualIncomeAmount.

setAnnualIncomeAmount

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

Specified by:
setAnnualIncomeAmount in interface Contact
Parameters:
annualIncomeAmount - The possibly null new value for attribute annualIncomeAmount.

getReligion

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

Specified by:
getReligion in interface Contact
Returns:
A list containing all elements for this attribute.

setReligion

public 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);
   }
 

Specified by:
setReligion in interface Contact
Parameters:
religion - value(s) to be added to religion

getAssistant

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

Specified by:
getAssistant in interface Contact
Returns:
The – possibly null – value for this reference.

setAssistant

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

Specified by:
setAssistant in interface Contact
Parameters:
assistant - The non-null new value for this reference.

getDeputy

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

Specified by:
getDeputy in interface Contact
Returns:
The – possibly null – value for this reference.

setDeputy

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

Specified by:
setDeputy in interface Contact
Parameters:
deputy - The non-null new value for this reference.

getMiddleName

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

Specified by:
getMiddleName in interface Contact
Returns:
The possibly null value for attribute middleName.

setMiddleName

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

Specified by:
setMiddleName in interface Contact
Parameters:
middleName - The possibly null new value for attribute middleName.

getJobRole

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

Specified by:
getJobRole in interface Contact
Returns:
The possibly null value for attribute jobRole.

setJobRole

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

Specified by:
setJobRole in interface Contact
Parameters:
jobRole - The possibly null new value for attribute jobRole.

getJobTitle

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

Specified by:
getJobTitle in interface Contact
Returns:
The possibly null value for attribute jobTitle.

setJobTitle

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

Specified by:
setJobTitle in interface Contact
Parameters:
jobTitle - The possibly null new value for attribute jobTitle.

getOuMembership

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

Specified by:
getOuMembership in interface Contact
Returns:
The Collection of referenced objects.

isDoNotEmail

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

Specified by:
isDoNotEmail in interface Contact
Returns:
The possibly null value for attribute doNotEMail.

setDoNotEmail

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

Specified by:
setDoNotEmail in interface Contact
Parameters:
doNotEmail - The possibly null new value for attribute doNotEMail.

isDoNotBulkPostalMail

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

Specified by:
isDoNotBulkPostalMail in interface Contact
Returns:
The possibly null value for attribute doNotBulkPostalMail.

setDoNotBulkPostalMail

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

Specified by:
setDoNotBulkPostalMail in interface Contact
Parameters:
doNotBulkPostalMail - The possibly null new value for attribute doNotBulkPostalMail.

getGender

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

Specified by:
getGender in interface Contact
Returns:
The non-null value for attribute gender.

setGender

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

Specified by:
setGender in interface Contact
Parameters:
gender - The non-null new value for attribute gender.

getLastName

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

Specified by:
getLastName in interface Contact
Returns:
The possibly null value for attribute lastName.

setLastName

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

Specified by:
setLastName in interface Contact
Parameters:
lastName - The possibly null new value for attribute lastName.

getPreferredContactMethod

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

Specified by:
getPreferredContactMethod in interface Contact
Returns:
The non-null value for attribute preferredContactMethod.

setPreferredContactMethod

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

Specified by:
setPreferredContactMethod in interface Contact
Parameters:
preferredContactMethod - The non-null new value for attribute preferredContactMethod.

getDepartment

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

Specified by:
getDepartment in interface Contact
Returns:
The possibly null value for attribute department.

setDepartment

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

Specified by:
setDepartment in interface Contact
Parameters:
department - The possibly null new value for attribute department.

getEducation

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

Specified by:
getEducation in interface Contact
Returns:
The non-null value for attribute education.

setEducation

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

Specified by:
setEducation in interface Contact
Parameters:
education - The non-null new value for attribute education.

getOrganization

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

Specified by:
getOrganization in interface Contact
Returns:
The possibly null value for attribute organization.

setOrganization

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

Specified by:
setOrganization in interface Contact
Parameters:
organization - The possibly null new value for attribute organization.

getSalutationCode

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

Specified by:
getSalutationCode in interface Contact
Returns:
The non-null value for attribute salutationCode.

setSalutationCode

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

Specified by:
setSalutationCode in interface Contact
Parameters:
salutationCode - The non-null new value for attribute salutationCode.

getAnniversary

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

Specified by:
getAnniversary in interface Contact
Returns:
The possibly null value for attribute anniversary.

setAnniversary

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

Specified by:
setAnniversary in interface Contact
Parameters:
anniversary - The possibly null new value for attribute anniversary.

getAnnualIncomeCurrency

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

Specified by:
getAnnualIncomeCurrency in interface Contact
Returns:
The possibly null value for attribute annualIncomeCurrency.

setAnnualIncomeCurrency

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

Specified by:
setAnnualIncomeCurrency in interface Contact
Parameters:
annualIncomeCurrency - The possibly null new value for attribute annualIncomeCurrency.

getFamilyStatus

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

Specified by:
getFamilyStatus in interface Contact
Returns:
The non-null value for attribute familyStatus.

setFamilyStatus

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

Specified by:
setFamilyStatus in interface Contact
Parameters:
familyStatus - The non-null new value for attribute familyStatus.

getNickName

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

Specified by:
getNickName in interface Contact
Returns:
The possibly null value for attribute nickName.

setNickName

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

Specified by:
setNickName in interface Contact
Parameters:
nickName - The possibly null new value for attribute nickName.

getReportsTo

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

Specified by:
getReportsTo in interface Contact
Returns:
The – possibly null – value for this reference.

setReportsTo

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

Specified by:
setReportsTo in interface Contact
Parameters:
reportsTo - The non-null new value for this reference.

getPreferredWrittenLanguage

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

Specified by:
getPreferredWrittenLanguage in interface Contact
Returns:
The non-null value for attribute preferredWrittenLanguage.

setPreferredWrittenLanguage

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

Specified by:
setPreferredWrittenLanguage in interface Contact
Parameters:
preferredWrittenLanguage - The non-null new value for attribute preferredWrittenLanguage.

isDoNotPostalMail

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

Specified by:
isDoNotPostalMail in interface Contact
Returns:
The possibly null value for attribute doNotPostalMail.

setDoNotPostalMail

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

Specified by:
setDoNotPostalMail in interface Contact
Parameters:
doNotPostalMail - The possibly null new value for attribute doNotPostalMail.

getGovernmentId

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

Specified by:
getGovernmentId in interface Contact
Returns:
The possibly null value for attribute governmentId.

setGovernmentId

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

Specified by:
setGovernmentId in interface Contact
Parameters:
governmentId - The possibly null new value for attribute governmentId.

getChildrenNames

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

Specified by:
getChildrenNames in interface Contact
Returns:
A list containing all elements for this attribute.

setChildrenNames

public 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);
   }
 

Specified by:
setChildrenNames in interface Contact
Parameters:
childrenNames - value(s) to be added to childrenNames

getSalutation

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

Specified by:
getSalutation in interface Contact
Returns:
The possibly null value for attribute salutation.

setSalutation

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

Specified by:
setSalutation in interface Contact
Parameters:
salutation - The possibly null new value for attribute salutation.

getPreferredSpokenLanguage

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

Specified by:
getPreferredSpokenLanguage in interface Contact
Returns:
The non-null value for attribute preferredSpokenLanguage.

setPreferredSpokenLanguage

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

Specified by:
setPreferredSpokenLanguage in interface Contact
Parameters:
preferredSpokenLanguage - The non-null new value for attribute preferredSpokenLanguage.

getPictureContent

public final byte[] getPictureContent()
Retrieves the possibly null value for the optional attribute pictureContent.

Specified by:
getPictureContent in interface Pictured
Returns:
The possibly null value for attribute pictureContent.

getPicture

public Media getPicture()
Retrieves the value for the reference picture.

Specified by:
getPicture in interface Pictured
Returns:
The – possibly null – value for this reference.

setPicture

public void setPicture(Media picture)
Sets a new value for the reference picture.

Specified by:
setPicture in interface Pictured
Parameters:
picture - The non-null new value for this reference.

isDoNotPhone

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

Specified by:
isDoNotPhone in interface Contact
Returns:
The possibly null value for attribute doNotPhone.

setDoNotPhone

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

Specified by:
setDoNotPhone in interface Contact
Parameters:
doNotPhone - The possibly null new value for attribute doNotPhone.

getContactRelationship

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

Specified by:
getContactRelationship in interface Contact
Returns:
A set containing all the elements for this reference.

getCitizenship

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

Specified by:
getCitizenship in interface Contact
Returns:
A list containing all elements for this attribute.

setCitizenship

public 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);
   }
 

Specified by:
setCitizenship in interface Contact
Parameters:
citizenship - value(s) to be added to citizenship

getBirthdate

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

Specified by:
getBirthdate in interface Contact
Returns:
The possibly null value for attribute birthdate.

setBirthdate

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

Specified by:
setBirthdate in interface Contact
Parameters:
birthdate - The possibly null new value for attribute birthdate.

getFirstName

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

Specified by:
getFirstName in interface Contact
Returns:
The possibly null value for attribute firstName.

setFirstName

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

Specified by:
setFirstName in interface Contact
Parameters:
firstName - The possibly null new value for attribute firstName.

isDoNotFax

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

Specified by:
isDoNotFax in interface Contact
Returns:
The possibly null value for attribute doNotFax.

setDoNotFax

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

Specified by:
setDoNotFax in interface Contact
Parameters:
doNotFax - The possibly null new value for attribute doNotFax.

getPictureContentName

public final String getPictureContentName()
Retrieves the possibly null value for the optional attribute pictureContentName.

Specified by:
getPictureContentName in interface Pictured
Returns:
The possibly null value for attribute pictureContentName.

getSuffix

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

Specified by:
getSuffix in interface Contact
Returns:
The possibly null value for attribute suffix.

setSuffix

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

Specified by:
setSuffix in interface Contact
Parameters:
suffix - The possibly null new value for attribute suffix.

getNumberOfChildren

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

Specified by:
getNumberOfChildren in interface Contact
Returns:
The possibly null value for attribute numberOfChildren.

setNumberOfChildren

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

Specified by:
setNumberOfChildren in interface Contact
Parameters:
numberOfChildren - The possibly null new value for attribute numberOfChildren.

openmdxjdoGetSize

protected int openmdxjdoGetSize(int field)
Overrides:
openmdxjdoGetSize in class Account

openmdxjdoSetSize

protected void openmdxjdoSetSize(int field,
                                 int size)
Overrides:
openmdxjdoSetSize in class Account

newSlice

protected org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
Overrides:
newSlice in class Account

openmdxjdoGetClass

protected List<String> openmdxjdoGetClass()
Retrieve the model class

Overrides:
openmdxjdoGetClass in class Account
Returns:
the model class
See Also:
Contact.CLASS

newIdentity

public static Account.Identity newIdentity(Segment.Identity segment,
                                           QualifierType idType,
                                           String id)

openmdxjdoToIdentity

public static Account.Identity openmdxjdoToIdentity(ObjectId objectId)


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