|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.oasisopen.jdo2.Identifiable
org.w3c.jdo2.AbstractObject
org.opencrx.kernel.account1.jdo2.Account
org.opencrx.kernel.account1.jdo2.Contact
public class Contact
Class Contact
| 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. |
|
|
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. |
|
|
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.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.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 |
|---|
public static final List<String> CLASS
org::opencrx::kernel::account1::Contact
| Constructor Detail |
|---|
public Contact()
| Method Detail |
|---|
public final String getPictureContentMimeType()
pictureContentMimeType.
getPictureContentMimeType in interface PicturedpictureContentMimeType.public final BigDecimal getAnnualIncomeAmount()
annualIncomeAmount.
getAnnualIncomeAmount in interface ContactannualIncomeAmount.public void setAnnualIncomeAmount(BigDecimal annualIncomeAmount)
annualIncomeAmount.
setAnnualIncomeAmount in interface ContactannualIncomeAmount - The possibly null new value for attribute annualIncomeAmount.public final List<Short> getReligion()
religion.
getReligion in interface Contactpublic void setReligion(short... religion)
religion and adds the given value(s).
This method is equivalent to
list.clear();
for(short e : attributeName){
list.add(e);
}
setReligion in interface Contactreligion - value(s) to be added to religionpublic Account getAssistant()
assistant.
getAssistant in interface Contactnull – value for this reference.public void setAssistant(Account assistant)
assistant.
setAssistant in interface Contactassistant - The non-null new value for this reference.public Account getDeputy()
deputy.
getDeputy in interface Contactnull – value for this reference.public void setDeputy(Account deputy)
deputy.
setDeputy in interface Contactdeputy - The non-null new value for this reference.public final String getMiddleName()
middleName.
getMiddleName in interface ContactmiddleName.public void setMiddleName(String middleName)
middleName.
setMiddleName in interface ContactmiddleName - The possibly null new value for attribute middleName.public final String getJobRole()
jobRole.
getJobRole in interface ContactjobRole.public void setJobRole(String jobRole)
jobRole.
setJobRole in interface ContactjobRole - The possibly null new value for attribute jobRole.public final String getJobTitle()
jobTitle.
getJobTitle in interface ContactjobTitle.public void setJobTitle(String jobTitle)
jobTitle.
setJobTitle in interface ContactjobTitle - The possibly null new value for attribute jobTitle.public <T extends OrganizationalUnit> List<T> getOuMembership()
Collection of objects referenced by ouMembership.
getOuMembership in interface ContactCollection of referenced objects.public final Boolean isDoNotEmail()
doNotEMail.
isDoNotEmail in interface ContactdoNotEMail.public void setDoNotEmail(Boolean doNotEmail)
doNotEMail.
setDoNotEmail in interface ContactdoNotEmail - The possibly null new value for attribute doNotEMail.public final Boolean isDoNotBulkPostalMail()
doNotBulkPostalMail.
isDoNotBulkPostalMail in interface ContactdoNotBulkPostalMail.public void setDoNotBulkPostalMail(Boolean doNotBulkPostalMail)
doNotBulkPostalMail.
setDoNotBulkPostalMail in interface ContactdoNotBulkPostalMail - The possibly null new value for attribute doNotBulkPostalMail.public short getGender()
gender.
getGender in interface Contactgender.public void setGender(short gender)
gender.
setGender in interface Contactgender - The non-null new value for attribute gender.public final String getLastName()
lastName.
getLastName in interface ContactlastName.public void setLastName(String lastName)
lastName.
setLastName in interface ContactlastName - The possibly null new value for attribute lastName.public short getPreferredContactMethod()
preferredContactMethod.
getPreferredContactMethod in interface ContactpreferredContactMethod.public void setPreferredContactMethod(short preferredContactMethod)
preferredContactMethod.
setPreferredContactMethod in interface ContactpreferredContactMethod - The non-null new value for attribute preferredContactMethod.public final String getDepartment()
department.
getDepartment in interface Contactdepartment.public void setDepartment(String department)
department.
setDepartment in interface Contactdepartment - The possibly null new value for attribute department.public short getEducation()
education.
getEducation in interface Contacteducation.public void setEducation(short education)
education.
setEducation in interface Contacteducation - The non-null new value for attribute education.public final String getOrganization()
organization.
getOrganization in interface Contactorganization.public void setOrganization(String organization)
organization.
setOrganization in interface Contactorganization - The possibly null new value for attribute organization.public short getSalutationCode()
salutationCode.
getSalutationCode in interface ContactsalutationCode.public void setSalutationCode(short salutationCode)
salutationCode.
setSalutationCode in interface ContactsalutationCode - The non-null new value for attribute salutationCode.public final Date getAnniversary()
anniversary.
getAnniversary in interface Contactanniversary.public void setAnniversary(Date anniversary)
anniversary.
setAnniversary in interface Contactanniversary - The possibly null new value for attribute anniversary.public final Short getAnnualIncomeCurrency()
annualIncomeCurrency.
getAnnualIncomeCurrency in interface ContactannualIncomeCurrency.public void setAnnualIncomeCurrency(Short annualIncomeCurrency)
annualIncomeCurrency.
setAnnualIncomeCurrency in interface ContactannualIncomeCurrency - The possibly null new value for attribute annualIncomeCurrency.public short getFamilyStatus()
familyStatus.
getFamilyStatus in interface ContactfamilyStatus.public void setFamilyStatus(short familyStatus)
familyStatus.
setFamilyStatus in interface ContactfamilyStatus - The non-null new value for attribute familyStatus.public final String getNickName()
nickName.
getNickName in interface ContactnickName.public void setNickName(String nickName)
nickName.
setNickName in interface ContactnickName - The possibly null new value for attribute nickName.public Contact getReportsTo()
reportsTo.
getReportsTo in interface Contactnull – value for this reference.public void setReportsTo(Contact reportsTo)
reportsTo.
setReportsTo in interface ContactreportsTo - The non-null new value for this reference.public short getPreferredWrittenLanguage()
preferredWrittenLanguage.
getPreferredWrittenLanguage in interface ContactpreferredWrittenLanguage.public void setPreferredWrittenLanguage(short preferredWrittenLanguage)
preferredWrittenLanguage.
setPreferredWrittenLanguage in interface ContactpreferredWrittenLanguage - The non-null new value for attribute preferredWrittenLanguage.public final Boolean isDoNotPostalMail()
doNotPostalMail.
isDoNotPostalMail in interface ContactdoNotPostalMail.public void setDoNotPostalMail(Boolean doNotPostalMail)
doNotPostalMail.
setDoNotPostalMail in interface ContactdoNotPostalMail - The possibly null new value for attribute doNotPostalMail.public final String getGovernmentId()
governmentId.
getGovernmentId in interface ContactgovernmentId.public void setGovernmentId(String governmentId)
governmentId.
setGovernmentId in interface ContactgovernmentId - The possibly null new value for attribute governmentId.public final List<String> getChildrenNames()
childrenNames.
getChildrenNames in interface Contactpublic void setChildrenNames(String... childrenNames)
childrenNames and adds the given value(s).
This method is equivalent to
list.clear();
for(java.lang.String e : attributeName){
list.add(e);
}
setChildrenNames in interface ContactchildrenNames - value(s) to be added to childrenNamespublic final String getSalutation()
salutation.
getSalutation in interface Contactsalutation.public void setSalutation(String salutation)
salutation.
setSalutation in interface Contactsalutation - The possibly null new value for attribute salutation.public short getPreferredSpokenLanguage()
preferredSpokenLanguage.
getPreferredSpokenLanguage in interface ContactpreferredSpokenLanguage.public void setPreferredSpokenLanguage(short preferredSpokenLanguage)
preferredSpokenLanguage.
setPreferredSpokenLanguage in interface ContactpreferredSpokenLanguage - The non-null new value for attribute preferredSpokenLanguage.public final byte[] getPictureContent()
pictureContent.
getPictureContent in interface PicturedpictureContent.public Media getPicture()
picture.
getPicture in interface Picturednull – value for this reference.public void setPicture(Media picture)
picture.
setPicture in interface Picturedpicture - The non-null new value for this reference.public final Boolean isDoNotPhone()
doNotPhone.
isDoNotPhone in interface ContactdoNotPhone.public void setDoNotPhone(Boolean doNotPhone)
doNotPhone.
setDoNotPhone in interface ContactdoNotPhone - The possibly null new value for attribute doNotPhone.public <T extends ContactRelationship> ContactHasContactRelationship.ContactRelationship<T> getContactRelationship()
contactRelationship.
getContactRelationship in interface Contactpublic final List<Short> getCitizenship()
citizenship.
getCitizenship in interface Contactpublic void setCitizenship(short... citizenship)
citizenship and adds the given value(s).
This method is equivalent to
list.clear();
for(short e : attributeName){
list.add(e);
}
setCitizenship in interface Contactcitizenship - value(s) to be added to citizenshippublic final Date getBirthdate()
birthdate.
getBirthdate in interface Contactbirthdate.public void setBirthdate(Date birthdate)
birthdate.
setBirthdate in interface Contactbirthdate - The possibly null new value for attribute birthdate.public final String getFirstName()
firstName.
getFirstName in interface ContactfirstName.public void setFirstName(String firstName)
firstName.
setFirstName in interface ContactfirstName - The possibly null new value for attribute firstName.public final Boolean isDoNotFax()
doNotFax.
isDoNotFax in interface ContactdoNotFax.public void setDoNotFax(Boolean doNotFax)
doNotFax.
setDoNotFax in interface ContactdoNotFax - The possibly null new value for attribute doNotFax.public final String getPictureContentName()
pictureContentName.
getPictureContentName in interface PicturedpictureContentName.public final String getSuffix()
suffix.
getSuffix in interface Contactsuffix.public void setSuffix(String suffix)
suffix.
setSuffix in interface Contactsuffix - The possibly null new value for attribute suffix.public final Short getNumberOfChildren()
numberOfChildren.
getNumberOfChildren in interface ContactnumberOfChildren.public void setNumberOfChildren(Short numberOfChildren)
numberOfChildren.
setNumberOfChildren in interface ContactnumberOfChildren - The possibly null new value for attribute numberOfChildren.protected int openmdxjdoGetSize(int field)
openmdxjdoGetSize in class Account
protected void openmdxjdoSetSize(int field,
int size)
openmdxjdoSetSize in class Accountprotected org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
newSlice in class Accountprotected List<String> openmdxjdoGetClass()
openmdxjdoGetClass in class AccountContact.CLASS
public static Account.Identity newIdentity(Segment.Identity segment,
QualifierType idType,
String id)
public static Account.Identity openmdxjdoToIdentity(ObjectId objectId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||