DB Config - Creating Classes
The “DB Config” is the place where all classes and members are defined. The original view will list all classes which have been defined. The possible actions in brief: To create a class, use the DB icon with the yellow asterisk in the top right corner of the screen, to edit a class just click its name and to remove a class from the system use the red cross icon.
On the “Create Class” screen, you will have to fill out some necessary fields:
|
Field |
Description |
|---|---|
|
table name |
the name of the database table |
|
class name |
the name of the class as it will appear in the backend |
|
lock |
choose “public” for classes which should be visible in the interface or “private” for those only used for logical purposes |
|
dim |
“hierarchical” is used for classes which may contain folders while a “plane” class gives no possibility to group objects – they will appear as one long list (notice that a later change of this property is not possible, so you have to make an ultimate decision) |
|
object name |
the name of the first member (or column in terms of a database). |
|
datatype |
the data type of the first member |
|
size |
if the data type requires a size, use this field (for example, varchar expects a size between 1 and 255) |
|
class type |
here you can control where the class should appear in the menu |
|
description |
the description of the class will be displayed on top of the class view to help users |
As a last step, you can select an appropriate icon for your new class which will represent it across the whole system. Finally, click on the “save and exit” symbol to confirm your class specifications.
Tags
Technical, DatabaseRelated Subjects
>> DB Config - Editing Classes>> Displaying Classes
>> Data Structure
