![Sybase Powerdesigner 7.5 Скачать руководство пользователя страница 146](http://html1.mh-extra.com/html/sybase/powerdesigner-7-5/powerdesigner-7-5_user-manual_1416512146.webp)
Checking an OOM
136
Checking an OOM
The procedure that generates .java Java source files or PowerBuilder objects
starts by checking the validity of the OOM. If an error is found, the files are
not generated.
Object parameters verified by Check model
The Check Model verifies the validity of the following objects in an OOM:
Object
Parameter
Classes
Class name and code uniqueness and length
Class must have either attribute or operation
Class is not declared as private
Class constructor has no return type specified
Class constructor cannot have modifiers
Class constructor cannot be not declared as static, abstract or
final
Interfaces
Interface name and code uniqueness and length
Interface must have either attribute or operation
Interface cannot have constructors
Attribute
Attribute name and code uniqueness and length
Data type has a not-null and not-void data type
Attribute must have value assigned
Attribute must be initialized
Operation
Operation name and code uniqueness and length
Operation must have a not-null return type
Operation parameter must have a not-null and not-void data
type
Abstract operation cannot have a body
Abstract operation declaration must appear only in an abstract
class
Association
Role name and code uniqueness and length
Realization
Redundant realizations. Only one realization is needed to
realize an interface
Generalization
Redundant generalization. Only one generalization is needed to
generalize a classifier
Generalization cannot have multiple inheritance (Java only)
Generalization cannot have circular inheritance
BeanInfo class
BeanInfo class must have a corresponding JavaBean class
Views
View name and code uniqueness and length
Incomplete query
Содержание Powerdesigner 7.5
Страница 1: ...OBJECT ORIENTED MODEL User s Guide POWERDESIGNER 7 5...
Страница 8: ...viii...
Страница 22: ...Defining OOM properties 12...
Страница 97: ...Chapter 2 Building an Object Oriented Model 87 4 Modify the operation display preferences 5 Click OK...
Страница 144: ...Defining check parameters 134...
Страница 208: ...Generating for XML 198 6 Click OK An XML file is generated with the file extension xml...
Страница 210: ...Customizing scripts 200...
Страница 224: ...Generating a CDM from an OOM 214...
Страница 238: ...Generating a PDM from an OOM 228...
Страница 260: ...Object language editor categories 250...
Страница 268: ...Applying business rules to objects 258...
Страница 288: ...278...