This Page


Defines declaration classes for entire programs.

class ProgramDeclaration(relationDeclarations)[source]

Defines a program declaration, which consists of a series of individual relation constraint declarations.


Initializes a new program from the provided list of relation constraint declaration objects.


Executes the program, creating and configuring an FBConstraintRelation for each relation declaration in the program.

Returns:a dictionary which maps the names of the relation declarations to their corresponding constraint objects.
Raises :an ExecutionError if any problems are encountered at runtime.