System Attributes of Entity Records in ImonaCloud Platform - imona/tutorial GitHub Wiki

There are some attributes on each entity record (bean) which are not shown or exposed to the end-users, but developers may want to use them. These are:

Related to Platform/Internal

id (Long): Unique identifier for each record, auto-incremented and generated when the record is saved. null for non-saved instances.

imona_version (Long): Has the version of that record, used for internal optimistic locking.

hostts (Date): Last update date of the record. On creation, it will have the creation date, then each update for that record will update this column. If the record has not been changed, this column is not updated even on save action.

Related to User

wsid (String): IP address of the client who created/updated that record.

userid (String): username/email of the user that created/updated that record.

latitude (Double): Contains the latitude value of the record if the user allowed location tracking on his browser. If location could not be accessed, this column will be null.

longitude (Double): Contains the longitude value of the record if the user allowed location tracking on his browser. If location could not be accessed, this column will be null.

Related to Approval

apprvd (Boolean): If the record is approved or not. If an approval is defined on the entity, this column will show the approval status. Will be true for entities that do not have approval on them.

waitingforapproval (Boolean): If the record is not approved but is waiting for approval (i.e. not rejected), this column will have true value. false otherwise.

rejectionreason (String): If the record is not approved and rejected, this column can contain the rejection reason. Can be null.