Checking the OOM model
When you create a new OOM in the plug-in, default properties
and operations are added to the application, window, and function
classes, making it easier to design and generate PowerBuilder code.
You can use the PowerDesigner Check Model feature to verify
that an OOM is valid before generating a PowerBuilder target from
the model. If you run Check Model in the plug-in, errors are reported
for the following conditions:
-
Class names that do not correspond to
legal PowerBuilder object names -
More than one Application class in the same Class
Diagram -
More than one operation in a Function class, or
an operation name that differs from the Function class name -
Structure classes that contain identifiers or operations
-
Top-level Class Diagram contains non-Package symbols
-
There is no syntax (in the Script or Preview tab
of the Class Properties dialog box) for an object to be generated -
Control or binary classes can be generated as inner
classes only -
The DataWindow compiler cannot compile the script
of a class with the DataWindow stereotype