Adding new class definitions


You can add new class definitions.

Adding a new class

To add a new class definition, please select the menu [Table View - Advanced Settings - Add new class].

In the New Class Definition dialog displayed as below, specify "Class definition name" and "Table name".
In general, you can use the same name for both of the names.

The added class will also be displayed in the [Table View] menu as a menu item.

To add new properties into newly created class, please refer to Adding new property definition.

In addition, you can also add new class from the object window.
Right click on the [Root object - [Project name] - Class definition] object and select "Add New Class Definition" submenu.

Data Input/Output for New Class

The object for the data input/output for New Class is automatically prepared.So this is used when importing/exporting.
To make a copy of the object for the data input/output, you input assigned letters raw in the "Table Name."This is done on the new class defined internal table name.(i.e., "MyClass1" when the above procedure is followed as the example.)

About import/export when user-added classes are established hierarchically

As for a new class, you can add the object from COM, etc., hierarchically.At that time, when exporting is executed, all the objects are to be exported as the object is obtained recursively. When you look at the exported results, those objects are exported as if they all were located in the same hierarchy.
A consequence of this is that it is not possible to establish the same hierarchical structure when re-importing this data.

The following explains this using an example. The following results show a new table.In this case, the table functions preparing for the number of production for each resource, for each item, and for each day, to which the expanding plug-in compiles are applied.
According to this table, you can see the volume of production that took place for each resource, for each item, and for each day.And this is established in the form of hierarchical structure, as shown below.

When this table is exported, the exporting will take place in the following manner.

Next, the importing is to be executed. Then a new class object will be completely deleted inside Asprova.

When you import the exported text file, it will become the non-hierarchic structure as state below. This means that you can neither export nor import hierarchic structural table as it is.
When you establish the hierarchic structure as a new class on the GUI, it may not be problematic a great deal in terms of exporting.However, please note that the importing function will become sacrificial at that time.

© Since 2018 Asprova Corporation, All rights reserved.