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, Importer, Indexed, SecureObject, XmlExporter, CrxObject, GenericAccount, Pictured, org.openmdx.base.cci2.BasicObject, org.openmdx.base.cci2.ContextCapable, org.openmdx.base.cci2.ExtentCapable, org.openmdx.compatibility.view1.cci2.ViewCapable

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
 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.
 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(org.openmdx.base.cci2.Segment.Identity segment, boolean idIsPersistent, 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(org.oasisopen.spi2.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
addAdditionalExternalLink, addAddress, addAttachedDocument, addMedia, addMember, addNote, addOwningGroup, addPropertySet, addRating, addToSegment, addToSegment, checkPermissions, clone_, createInvoice, createLead, createOpportunity, createQuote, createSalesOrder, exportXml, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getAccountCategory, getAccountMembership, getAccountMembership, getAccountRating, getAccountState, getAccountType, getAdditionalExternalLink, getAdditionalExternalLink, getAddress, getAddress, getAliasName, getAssignedActivity, getAssignedActivity, getAssignedContract, getAssignedContract, getAttachedDocument, getAttachedDocument, getAudit, getAudit, getBusinessType, getCategory, getContact, getCreatedAt, getCreatedBy, getDescription, getDisabledReason, 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, getExternalLink, getExtNumber0, getExtNumber1, getExtNumber2, getExtNumber3, getExtNumber4, getExtNumber5, getExtNumber6, getExtNumber7, getExtNumber8, getExtNumber9, getExtString0, getExtString1, getExtString2, getExtString3, getExtString4, getExtString5, getExtString6, getExtString7, getExtString8, getExtString9, getFullName, getIdentity, getIndexEntry, getIndexEntry, getMaster, getMedia, getMedia, getMember, getMember, getModifiedAt, getModifiedBy, getNote, getNote, getOwner, getOwningGroup, getOwningUser, getPartner, getProduct, getProduct, 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, getView, getView, importItem, isDisabled, isExtBoolean0, isExtBoolean1, isExtBoolean2, isExtBoolean3, isExtBoolean4, isExtBoolean5, isExtBoolean6, isExtBoolean7, isExtBoolean8, isExtBoolean9, isUserBoolean0, isUserBoolean1, isUserBoolean2, isUserBoolean3, openmdxjdoGetObjectId, openmdxjdoGetObjectsByParent, openmdxjdoGetSlices, removeAllOwningGroup, removeOwningGroup, 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, 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
 
Methods inherited from class org.w3c.jdo2.AbstractObject
openmdxjdoClassName, openmdxjdoGetIdentityBuilder, openmdxjdoGetList, openmdxjdoGetObjectsByParent, openmdxjdoGetSet, openmdxjdoGetSparseArray, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement
 
Methods inherited from class org.oasisopen.jdo2.Identifiable
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
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,