FreedomSoft - "the future is freedom"
Class Page - Introduction

The Class page displays all information about that Class, including a list of all Attributes within that Class (1); derivation (2), validation (3), and data type rules (4) for each Attribute; multi dimensional relationships within the Class; and relationships between this and other Classes (6).

Most development and maintenance work is carried out through the Class page.

Derivation is primarily used to set specific attributes to particular values, often using the values of other attributes in the same class or other classes to do so. In the example shown (2), the value of the attribute is being uppercased. This example is, of course, only a very simple derivation; derivations can be anywhere from simple to complex.

Validation is used to check the value of an attribute, and to report an error if appropriate. Validations work in the same way as derivations, except that the result of the validation must be true for the validation to be passed. (Ie, derivations set the values of attributes, and validations test the value of attributes for validity.)

Both derivations and validations use a spreadsheet like language, in Freedombase called calculations, where the developer references attributes in any class in the system within the calculation, and Freedombase replaces that reference with the related data at run time. This requires no coding by the developer, as long as there is a direct or indirect relationship between the class the calculations are attached to, and the classes the calculations reference.

One of the most important aspects of classes in Freedombase, is that they can have relationships defined between the Classes (6), that are then applied by Freedombase within the calculations described above, as well as in other areas. These relationships allow data within other, directly or indirectly related classes, to be used within the current class without any programmer effort. In this particular example, the "STATE" attribute is related to the "NEWATTRIBUTE" attribute of the "NEWCLASS" class in the same "TEST" system.

Please note, that the relationship type in this example is set to "=", or "equal", however many other relationship types can be used, some of which are unique to Freedombase.

previousnext
123456789101112131415161718192021

    navigate     introduction     page types     help pages     system page     class page     attribute page     template page     code page     control page     user page     audit trail page     log page     wrapup