org.opencrx.kernel.account1.jmi1
Interface Contact

All Superinterfaces:
Account, AlertSender, Auditee, BasicObject, Cloneable, Contact, ContextCapable, Creatable, CrxObject, Exporter, ExtentCapable, GenericAccount, Importer, Indexed, Modifiable, Pictured, RefBaseObject, RefFeatured, RefObject, RefObject_1_0, SecureObject

public interface Contact
extends Contact, Account, Pictured

Class Contact

isFrozen


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.
 void addContactRelationship(String id, ContactRelationship contactRelationship)
          Adds the specified element to the set of the values for the reference contactRelationship using a reassignable qualifier.
 Account getAssistant()
          Retrieves the value for the reference assistant.
 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.
 ContactRelationship getContactRelationship(boolean idIsPersistent, String id)
          Retrieves the value for the reference contactRelationship for the specified qualifier attribute value.
<T extends ContactRelationship>
List<T>
getContactRelationship(ContactRelationshipQuery query)
          Retrieves the value for the reference contactRelationship for the specified query.
 ContactRelationship getContactRelationship(String id)
          Retrieves the value for the reference contactRelationship for the specified qualifier attribute value.
 Account getDeputy()
          Retrieves the value for the reference deputy.
 List<Short> getReligion()
          Retrieves a list containing all the elements for the attribute religion.
 Contact getReportsTo()
          Retrieves the value for the reference reportsTo.
 void setAssistant(Account assistant)
          Sets a new value for the reference assistant.
 void setChildrenNames(List<String> childrenNames)
          Clears childrenNames and adds the members of the given List.
 void setCitizenship(List<Short> citizenship)
          Clears citizenship and adds the members of the given List.
 void setDeputy(Account deputy)
          Sets a new value for the reference deputy.
 void setReligion(List<Short> religion)
          Clears religion and adds the members of the given List.
 void setReportsTo(Contact reportsTo)
          Sets a new value for the reference reportsTo.
 
Methods inherited from interface org.opencrx.kernel.account1.cci2.Contact
getAnniversary, getAnnualIncomeAmount, getAnnualIncomeCurrency, getBirthdate, getContactRelationship, getDepartment, getEducation, getFamilyStatus, getFirstName, getGender, getGovernmentId, getJobRole, getJobTitle, getLastName, getMiddleName, getNickName, getNumberOfChildren, getOrganization, getOuMembership, getPreferredContactMethod, getPreferredSpokenLanguage, getPreferredWrittenLanguage, getSalutation, getSalutationCode, getSuffix, isDoNotBulkPostalMail, isDoNotEMail, isDoNotFax, isDoNotPhone, isDoNotPostalMail, setAnniversary, setAnnualIncomeAmount, setAnnualIncomeCurrency, setBirthdate, setChildrenNames, setCitizenship, setDepartment, setDoNotBulkPostalMail, setDoNotEMail, setDoNotFax, setDoNotPhone, setDoNotPostalMail, setEducation, setFamilyStatus, setFirstName, setGender, setGovernmentId, setJobRole, setJobTitle, setLastName, setMiddleName, setNickName, setNumberOfChildren, setOrganization, setPreferredContactMethod, setPreferredSpokenLanguage, setPreferredWrittenLanguage, setReligion, setSalutation, setSalutationCode, setSuffix
 
Methods inherited from interface org.opencrx.kernel.account1.jmi1.Account
addAddress, addAddress, addMember, addMember, createInvoice, createLead, createOpportunity, createQuote, createSalesOrder, getAccountCategory, getAccountMembership, getAccountMembership, getAccountMembership, getAccountType, getAddress, getAddress, getAddress, getAssignedActivity, getAssignedActivity, getAssignedActivity, getAssignedBudget, getAssignedBudget, getAssignedBudget, getAssignedContract, getAssignedContract, getAssignedContract, getBusinessType, getExtCode20, getExtCode21, getExtCode22, getExtCode23, getExtCode24, getExtCode25, getExtCode26, getExtCode27, getExtCode28, getExtCode29, getMaster, getMember, getMember, getMember, getProduct, getProduct, getProduct, setAccountCategory, setAccountType, setBusinessType, setExtCode20, setExtCode21, setExtCode22, setExtCode23, setExtCode24, setExtCode25, setExtCode26, setExtCode27, setExtCode28, setExtCode29, setMaster, updateVcard
 
Methods inherited from interface org.opencrx.kernel.account1.cci2.Account
createInvoice, createLead, createOpportunity, createQuote, createSalesOrder, getAccountMembership, getAccountRating, getAccountState, getAddress, getAliasName, getAssignedActivity, getAssignedBudget, getAssignedContract, 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, 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, setFullName, setVcard
 
Methods inherited from interface org.opencrx.kernel.generic.jmi1.CrxObject
addAdditionalExternalLink, addAdditionalExternalLink, addAttachedDocument, addAttachedDocument, addDocumentFolderAssignment, addDocumentFolderAssignment, addMedia, addMedia, addNote, addNote, addPropertySet, addPropertySet, addRating, addRating, getAdditionalExternalLink, getAdditionalExternalLink, getAdditionalExternalLink, getAttachedDocument, getAttachedDocument, getAttachedDocument, getCategory, getDocumentFolderAssignment, getDocumentFolderAssignment, getDocumentFolderAssignment, getExternalLink, getMedia, getMedia, getMedia, getNote, getNote, getNote, getPropertySet, getPropertySet, getPropertySet, getPropertySetEntry, getPropertySetEntry, getPropertySetEntry, getRating, getRating, getRating, getUserBoolean4, getUserCode4, getUserDate4, getUserDateTime4, getUserNumber4, getUserString4, setCategory, setExternalLink, setUserBoolean4, setUserCode4, setUserDate4, setUserDateTime4, setUserNumber4, setUserString4
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.CrxObject
getAdditionalExternalLink, getAttachedDocument, getDisabledReason, getDocumentFolderAssignment, getMedia, getNote, getPropertySet, getPropertySetEntry, getRating, getUserCode0, getUserCode1, getUserCode2, getUserCode3, getUserDate0, getUserDate1, getUserDate2, getUserDate3, getUserDateTime0, getUserDateTime1, getUserDateTime2, getUserDateTime3, getUserNumber0, getUserNumber1, getUserNumber2, getUserNumber3, getUserString0, getUserString1, getUserString2, getUserString3, 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.jmi1.AlertSender
sendAlert
 
Methods inherited from interface org.opencrx.kernel.base.cci2.AlertSender
sendAlert
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.Auditee
getAudit, getAudit, getAudit
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee
getAudit
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.Cloneable
clone_
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Cloneable
clone_
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.Exporter
exportItem, exportItemAdvanced
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Exporter
exportItem, exportItemAdvanced
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.Importer
importItem
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Importer
importItem
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.Indexed
getIndexEntry, getIndexEntry, getIndexEntry, updateIndex
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed
getIndexEntry
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.SecureObject
addOwningGroup, checkPermissions, getAccessGrantedByParent, getOwner, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setOwner, setOwningUser, setOwningUser
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, checkPermissions, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwningGroup, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwner, setOwningUser
 
Methods inherited from interface org.openmdx.base.cci2.ContextCapable
getContext
 
Methods inherited from interface org.openmdx.base.jmi1.Creatable
getCreatedBy
 
Methods inherited from interface org.openmdx.base.cci2.Creatable
getCreatedAt
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.base.jmi1.Modifiable
getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.Modifiable
getModifiedAt
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0
refDefaultFetchGroup, refDelegate, refGetPath, refGetValue, refInitialize, refInitialize, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 
Methods inherited from interface org.opencrx.kernel.generic.jmi1.Pictured
getPicture, setPicture
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.Pictured
getPictureContent, getPictureContentMimeType, getPictureContentName
 

Method Detail

getAssistant

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

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

setAssistant

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.

getChildrenNames

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

void setChildrenNames(List<String> childrenNames)
Clears childrenNames and adds the members of the given List.

This method is equivalent to

   list.clear();
   list.addAll(childrenNames);
 
Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the equivalent code.

Parameters:
childrenNames - collection to be copied.

getCitizenship

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

void setCitizenship(List<Short> citizenship)
Clears citizenship and adds the members of the given List.

This method is equivalent to

   list.clear();
   list.addAll(citizenship);
 
Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the equivalent code.

Parameters:
citizenship - collection to be copied.

getContactRelationship

<T extends ContactRelationship> List<T> getContactRelationship(ContactRelationshipQuery query)
Retrieves the value for the reference contactRelationship for the specified query. Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should substitute this method with java.jdo.Query

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

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

getContactRelationship

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

This method is equivalent to the preferred invocation getContactRelationship(false,id).

Parameters:
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.

addContactRelationship

void addContactRelationship(String id,
                            ContactRelationship contactRelationship)
Adds the specified element to the set of the values for the reference contactRelationship using a reassignable qualifier.

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

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
contactRelationship - The element to be appended.

getDeputy

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

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

setDeputy

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.

getReligion

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

void setReligion(List<Short> religion)
Clears religion and adds the members of the given List.

This method is equivalent to

   list.clear();
   list.addAll(religion);
 
Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the equivalent code.

Parameters:
religion - collection to be copied.

getReportsTo

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

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

setReportsTo

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.


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