Package com.storedobject.accounts
Class PersonalEntity
- All Implemented Interfaces:
Displayable
,StringFiller
,HasContacts
,HasId
,HasName
,HasShortName
Personal entity - Used by
EntityAccount
.
Note (1): Contact grouping code (getContactGroupingCode()
) for this class is 10191.
Note (2): You typically extend the EntityAccount
to customize party-related attributes.
- Author:
- Syam
-
Field Summary
Fields inherited from class com.storedobject.core.StoredObject
logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Adds the name and type of the column to the provided Columns object.int
Retrieves the contact grouping code for this entity.static PersonalEntity
getName()
Returns the name of the person associated with the account.Returns the class of the party associated with this PersonalEntity.protected Id
Retrieves the Party ID.Retrieves the person associated with this PersonalEntity.Retrieves the unique identifier of a person.static void
Adds the specified column list to the indices.protected void
setPartyId
(Id id) Sets the party ID of the person.void
Set the person with the given personId.void
Sets the person associated with this PersonalEntity.void
setPerson
(BigDecimal idValue) Sets the person identified by the specified ID value.Methods inherited from class com.storedobject.accounts.AccountEntity
browseColumns, get, getAddress, getEmail, getParty, getPhone, getPrimaryAddress, getPrimaryAddressValue, getPrimaryEmail, getPrimaryPhone, getShortName, getTaxCode, isBusiness, isPersonal, list, setParty, setParty, setPrimaryAddress, setPrimaryEmail, setPrimaryPhone, setShortName, setTaxCode, toString, validateData
Methods inherited from class com.storedobject.core.StoredObject
addLink, addLink, addLink, addLink, addLink, addLink, addLink, addLink, checkCurrency, checkCurrency, checkForDuplicate, checkForDuplicate, checkTimeZone, checkTransaction, clearObjectLinks, contemporary, copy, copy, count, count, count, count, count, count, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countLinks, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, countMasters, create, created, delete, delete, delete, deleted, directUpdate, equals, exists, exists, exists, exists, exists, existsFileData, existsLink, existsLink, existsLink, existsLink, existsLink, existsLink, existsLink, existsLink, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsLinks, existsMaster, existsMaster, existsMasters, existsMasters, existsMasters, existsMasters, existsMasters, existsMasters, existsMasters, existsMasters, existsMasters, existsMasters, existsMasters, existsMasters, existsMasters, family, family, family, fill, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, getAttachment, getAttachmentId, getChildren, getDeleted, getDeleted, getExistsCondition, getExistsCondition, getFileData, getFileData, getHistorical, getId, getKeyIndex, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getMaster, getNotExistsCondition, getNotExistsCondition, getParent, getParent, getParent, getParentId, getParentId, getParentId, getRelated, getRelated, getTransaction, getTransactionId, getTransactionIP, getUnique, getUniqueCondition, hashCode, inserted, isModified, isVirtual, list, list, list, list, list, list, list, list, list, list, list, list, list, listFileData, listFileData, listHistory, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listLinks, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listMasters, listTree, listTree, listTree, listTree, listViaQuery, listViaQuery, load, load, load, load, loaded, loading, makeNew, makeVirtual, migrate, moduleName, nextVersion, objectLink, objectLink, objectLink, objectLinks, objectLinks, old, person, previousVersion, previousVersion, query, query, query, query, query, query, query, query, query, query, query, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryLinks, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, queryMasters, reload, reload, reloaded, removeAllLinks, removeAllLinks, removeAllLinks, removeAllLinks, removeAllLinks, removeAllLinks, removeAllLinks, removeAllLinks, removeAllLinks, removeAllLinks, removeAllLinks, removeAllLinks, removeLink, removeLink, removeLink, removeLink, removeLink, removeLink, removeLink, removeLink, removeLink, removeLink, removeLink, removeLink, removeReverseLinks, removeReverseLinks, save, save, save, save, save, save, save, save, save, save, save, save, save, save, saved, saving, setMaster, setRawValue, setTransaction, stringify, tableName, timestamp, toCode, toDisplay, transacting, undelete, undelete, undeleted, updated, user, userId, validate, validateChildAttach, validateChildDetach, validateChildUpdate, validateDelete, validateInsert, validateParentAttach, validateParentDetach, validateParentUpdate, validateUndelete, validateUpdate, valueEquals
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.storedobject.core.HasContacts
getAddress, getContact, getContact, getContactObject, getContactObject, getContactObject, getContactOwnerId, getContactRaw, getContactRaw, getEmail, getId, getMobile, getPhone, getTelegram, listContacts, listContactTypes, setContact, setContact
-
Constructor Details
-
PersonalEntity
public PersonalEntity()Personal entity - Used byEntityAccount
.Note: Contact grouping code (
getContactGroupingCode()
) for this class is 10191.
-
-
Method Details
-
columns
Adds the name and type of the column to the provided Columns object.- Parameters:
columns
- the Columns object to which the name and type of the column will be added
-
indices
Adds the specified column list to the indices.- Parameters:
indices
- The Indices object to add the column list to.
-
setPartyId
Sets the party ID of the person.- Specified by:
setPartyId
in classAccountEntity<Person>
- Parameters:
id
- The party ID to be set.
-
getPartyId
Retrieves the Party ID.- Specified by:
getPartyId
in classAccountEntity<Person>
- Returns:
- The Party ID associated with this method.
-
setPerson
Sets the person identified by the specified ID value.- Parameters:
idValue
- the ID value of the person
-
setPerson
Set the person with the given personId.- Parameters:
personId
- The ID of the person to be set.
-
setPerson
Sets the person associated with this PersonalEntity.- Parameters:
person
- The person object to be set. Cannot be null.
-
getPerson
Retrieves the person associated with this PersonalEntity.- Returns:
- The person associated with this PersonalEntity.
-
getPersonId
Retrieves the unique identifier of a person.- Returns:
- The unique identifier of the person.
-
getPartyClass
Returns the class of the party associated with this PersonalEntity. The party class is Person.- Specified by:
getPartyClass
in classAccountEntity<Person>
- Returns:
- the class of the party (Person)
-
getName
Returns the name of the person associated with the account.- Specified by:
getName
in interfaceHasContacts
- Specified by:
getName
in interfaceHasName
- Specified by:
getName
in classAccountEntity<Person>
- Returns:
- The name of the person as a string.
-
getContactGroupingCode
public int getContactGroupingCode()Retrieves the contact grouping code for this entity.- Returns:
- The contact grouping code. This value is always 10191.
-
getFor
-