Interface HasContacts

All Known Implementing Classes:
AccountEntity, BusinessEntity, Entity, EntityRole, Organization, Person, PersonalEntity, PersonRole

public interface HasContacts
Definition of "contact" interface. A StoredObject that implements this interface keeps contact information (See Contact) as links under it. Different StoredObject classes may keep different sets of contact information types (See ContactType) and that is determined by the value returned by the method getContactGroupingCode(). The default value returned by the getContactGroupingCode() method is 0 and that is what the Person class uses. So, if you don't implement different code in your class, it will share the same set of contact types with Person class.

Entity and EntityRole classes also return 0 from the method getContactGroupingCode() but since EntityRole is always extended by your custom class, you can override that to return any specific value.

Author:
Syam