company logo

PropertyDefinition :: isStatic - 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.

Return value:  Success ( bool  )

The value is true when the function was executed successfully. Otherwise the value is set to false.

Implementation details

bool PropertyDefinition  :: isStatic (  )

If the function is not called with a valid database property definition it throws an exception.