company logo

static_field - STATIC keyword

The static keyword marks an intentional feature as object independent, i.e. the feature provides the same value independent on the selected object instance. Mainly, the static option is used in connection with methods in order to mark class methods as static.

The option is also used for marking properties in implementation classes as static. Static properties are not part of the instance but are stored globally.

When the function is called with an invalid property definition it, throws an exception.

Notes:

In the current ODABA version one cannot define static properties for persistent data types.

Type: bit