field - Dbquity model BETA

page modified: 2024/04/16 18:38:17

Data member

Instances of the complex types entity and class carry data in their field members.

Using this simple

Syntax

    <field-type> <name>
        ...

a field is declared to be of one of the following

Types

text

boolean

character

integer

decimal

real

guid

date

datetime

time

enumeration

class

end

In addition to the type and as indicated by the three dots '...', each field may declare a number of modifiers and properties as listed below

Modifiers

list

...

map

...

Properties

...

initialization

...

default

...

expression

...

constraint

...

override

Declares that the field overrides (i.e. changes name and potentially more properties) another field defined on a base complex:

    <field-type> <name>
        override: <base-field-name>
        ...

or - using the '->' short-hand notation:

    <base-field-name> -> <name>
        ...

scope

...