Meta class - general part¶
The general part of the class meta - contains the fields of the class parameters that are related to the structure itself and the methods for handling data in it.
JSON¶
{
"isStruct": false,
"key": [
"id"
],
"semantic": "",
"name": "class_integer",
"abstract": true,
"version": "",
"caption": "Класс \"Целое [6]\"",
"ancestor": null,
"container": null,
"creationTracker": "",
"changeTracker": "",
"creatorTracker": "",
"editorTracker": "",
"history": 0,
"journaling": false,
"compositeIndexes": null,
"properties": [...]
}
Field description¶
Code | Name | Acceptable values | Description |
---|---|---|---|
"isStruct" |
Is a structure | Logical | If the value is “true” - this class is a structure and can be used in other classes in attributes of a special kind - “Structure [16]” |
"key" |
Key attributes | Array of strings, at least one value. | Specify a key field that uniquely identifies the object in the collection. |
"semantic" |
Semantic attribute | String. | Sets the semantics - the rule of forming the row view for this class. |
"name" |
System name | String, only the latin characters with no spaces. | Sets the first part of the name of the meta class file, the system name. |
"abstract" |
Criteria of abstraction for class | Logical | Used only for parent (base) classes. |
"version" |
Versioning | String. | Allows to set the versioning of the meta to operate the data created in different meta versions in the same collection. |
"caption" |
Logic name | String. | The class name displayed in the UI |
"ancestor" |
Inheritance | Null or string. | A set of attributes, created in the class is inherited by successor classes. It is a way to reduce the number of entities when it is possible to use the same set of attributes. All classes-heirs will inherit the attribute set of the parent + you can make attributes belonging individually to this class-heir (if necessary). |
"container" |
Container reference attribute | Null or string. | Select the reference attribute that will be used to automatically build hierarchical navigation. The object to which the selected attribute will refer will be perceived by the environment as a container of the domain class instance, and automatically will build a hierarchy of objects. |
"creationTracker" |
Creation time tracker | String | Allows to save data/time of the object creation, requires the presence of the corresponding class attribute, the "name of which is entered into this field. |
"changeTracker" |
Change time tracker | String | Allows to save data/time of the object change, requires the presence of the corresponding class attribute, the "name" of which is entered into this field. |
"creatorTracker" |
Object creator tracker | String | Allows to save the name of the user who created the object, requires the presence of the corresponding class attribute, the "name" of which is entered into this field. |
"editorTracker" |
Object editor tracker | String | Allows to save the name of the user who changed the object, requires the presence of the corresponding class attribute, the "name" of which is entered into this field. |
"history" |
Data image | 0 - none | Stores the images of data |
1 - arbitrarily | |||
2 - up to an hour | |||
3 - up to a day | |||
4 - up to a week | |||
5 - up to a month | |||
6 - up to a year | |||
"journaling" |
Journaling of changes | Logical | Enables/disables journaling changes of the class objects. |
"compositeIndexes" |
Indexing | Null or array of objects. | Allows you to specify the requirements for the unique combination of fields. |
"properties" |
Attributes | Array of objects. | Array of attribute properties. Each object is described in accordance with the attribute part of the meta class. |