Fields

Each class has fields that define parameters (attributes) of every class instance. Since instances of a class are stored in a dedicated database table, each field defines a single column in this table.

Properties of a field are very similar to properties of a Data Table field. Fields of a class are managed via Fields table.

Pre-Defined Fields

All classes have several pre-defined fields that can, however, be modified or deleted. Here is the list of default fields:

Field Name

Field Type

Field Description

instance_id

Long

This field contains an auto-generated class instance ID. Once field with this name is mapped to the database, the automatic row identifier generation strategy is used. The instance ID should be never changed since a class instance is first created.

author

String

Name of Iotellect Server user that has created the instance.

creation_time

Date

Date/time when the instance was created.

update_time

Date

Date/time when the instance was last modified. A modification can be a field value change, a life cycle transition, etc.

class

String

Context path of the class in Iotellect Server.

created_by

String

Login name (not username) of the user that created the instance.

updated_by

String

Login name (not username) of the user that last updated the instance.

After adding custom fields, you need to update the parameters of the dashboard element using the edited class.

Was this page helpful?