Manuals
/
Sybase
/
Household Appliance
/
Water System
Sybase
7.5
manual
Defining packages
Models:
7.5
1
26
288
288
Download
288 pages
28.98 Kb
23
24
25
26
27
28
29
30
Specifications
To create a class in a diagram
Indicating error severity
Symbol Option
Accessing the list of classes
How to
What is
Update existing
Click Apply Click Cancel
Using Object Languages 229
Page 26
Image 26
Defining packages
The package display preferences page appears.
4
Modify the package display preferences.
5
Click OK.
16
Page 25
Page 27
Page 26
Image 26
Page 25
Page 27
Contents
User’s Guide
Page
Contents
Changing an association into an associative class 102
Modifying the code of an implementation operation
100
103
111
112
Generating Objects from an OOM 179
Using Object Languages 229
Vii
Viii
Subject Audience Where to find information
About This Book
If you want to
Use these parts of the book
Contents
Object-Oriented Model Basics
Functional overview
Build an Object-Oriented Model OOM
UML and object-oriented modeling
OOM creation
What is an OOM?
OOM roles
Object
Objects in an OOM
An OOM represents the interaction of the following objects
Selection Tool Description
Creating a new OOM
To create an OOM
Object-Oriented Model Basics
To open an existing OOM
Opening an existing OOM
An OOM has the file extension .OOM
You can set the following option for classes in an OOM
Defining OOM model options
Classes
Result
To define OOM model options
Non-divergence
Length
Defining OOM properties
To modify the model properties
Defining OOM properties
Building an Object-Oriented Model
Defining packages
Package properties
Preference
Displaying text in package symbols
To modify the package display preferences
Defining packages
Defining classes
Property Description
Class properties
Class has the following general properties
Maximum length
Modify or creating
Analyzing class properties
Stereotype
New stereotypes
Type
Stereotype
Cardinality
Creating a class
Visibility
Visible
Creating a class from the list of classes
Accessing the list of classes
Creating a class from the Browser
To create a class from the Browser
Inner classes
Creating a class from a diagram
To create a class in a diagram
To declare an inner class within a class
Opening property sheets at last accessed
Attaching an inner class to a class
Building an Object-Oriented Model
Detaching an inner class from a class
To detach an inner class from a class
Modifying class properties from its property sheet
Classifiers
Modifying class properties
To modify class properties from its property sheet
Modifying class properties from the list of classes
To modify class properties from the list of classes
Adding objects to a class
Adding an attribute to a class
To add an attribute to a class
Adding an operation to a class
To add an operation to a class
Defining classes
Preview the code of a class or an interface
To preview the code of a class
Displaying text in class symbols
To modify the class display preferences
Building an Object-Oriented Model
An interface has the following properties
Defining interfaces
Interface properties
Creating an interface from the Browser
Analyzing interface properties
Creating an interface
Visibility
To create an interface in a diagram
Creating an interface from a diagram
Accessing the list of interfaces
Creating an interface from the list of interfaces
To modify interface properties from its property sheet
Modifying interface properties
Modifying interface properties from its property sheet
To modify interface properties from the list of interfaces
Modifying interface properties from the list of interfaces
Interface property sheet opens to the General
Select Model Interfaces
Adding inner classes to an interface
Adding objects to an interface
To add an attribute to an interface
Adding an attribute to an interface
You can add the following objects to an interface
Building an Object-Oriented Model
Adding an operation to an interface
To add an operation to an interface
Preview the code of an interface
To preview the code of an interface
Displaying text in interface symbols
Code Preview page appears Click OK
To modify the interface display preferences
Defining attributes
Attribute properties
An attribute has the following properties
Analyzing attribute properties
Data Type
Creating an attribute from the Browser
Creating an attribute
Multiplicity
To create an attribute from the Browser
To create an attribute by inserting it in the list
Accessing the list of attributes
Creating an attribute from the list of attributes
Select Model Attributes. The list of attributes appears
Creating an attribute from a class in a diagram
To create an attribute from a class in a diagram
Modifying attribute properties
Modifying attribute properties from its property sheet
To modify attribute properties from its property sheet
Select Model Attributes
Modifying attribute properties from the list of attributes
To modify attribute properties from the list of attributes
Attaching an attribute to a domain
To attach an attribute to a domain
Attribute property sheet opens to the General
Copying an attribute to another class
To copy an attribute to another class
An attribute has the following display preferences
Displaying text in attribute symbols
When selected
To modify the display preferences
Building an Object-Oriented Model
An identifier has the following properties
Defining identifiers
Identifier properties
To create an identifier
Creating an identifier
You can create an identifier from a class
To add attributes to an identifier
Adding attributes to an identifier
You can add attributes to an identifier
To modify identifier properties from its property sheet
Modifying identifier properties
Modifying identifier properties from its property sheet
Modifying identifier properties from the list of identifiers
An operation has the following properties
Defining operations
Operation properties
Creating an operation from the Browser
Analyzing operation properties
Creating an operation
To create an operation from the Browser
To create an operation by inserting it in the list
Accessing the list of operations
Creating an operation from the list of operations
Select Model Operations. The list of operations appears
Creating an operation from a class in a diagram
To create an operation from a class in a diagram
To modify operation properties from its property sheet
Modifying operation properties
Modifying operation properties from its property sheet
To modify operation properties from the list of operations
Modifying operation properties from the list of operations
Operation property sheet opens to the General
Select Model Operations
Adding constructors and destructors to a class
Adding a Default constructor and destructor to a class
To add a Default constructor and destructor to a class
Building an Object-Oriented Model
Adding a Copy constructor to a class
To add a Copy constructor to a class
To add a duplicate operation to a class
Adding operations to a class
Adding a duplicate operation to a class
Adding an operation from a parent class
To add an inherited operation to a class
Adding Getter and Setter operations to a class
Operation
Defining operations
Creating an implementation operation
To create an implementation operation
Modifying the code of an implementation operation
To modify the code of an implementation operation
Copying an operation to another class
To copy an operation to another class
Displaying text in operation symbols
An operation has the following display preferences
To modify the display preferences
Modify the operation display preferences Click OK
Direction
Defining parameters
Parameter properties
Creating a parameter
To create a parameter
Parameter property sheet opens to the General
Generalization has the following properties
Defining generalizations
Generalization properties
To create a generalization
Analyzing generalization properties
Creating a generalization
Link appears between the two objects
Dragging a generalization to a different class
To modify generalization properties from its property sheet
Modifying generalization properties
Modifying generalization properties from its property sheet
Displaying text in generalization symbols
Generalization has the following display preferences
To modify the display preferences
Association Ends
Omitted when end names are used
Defining associations
Class plays as viewed by the opposite class
Association properties
An association has the following properties
Creating an association
Creating an association outside of a diagram
To create an association in a diagram
Dragging an association to a different class
100
Analyzing cardinality properties
Association property sheet opens to the General
101
Association role properties
Ordering
Indicates
To change an association into an associative class
Changing an association into an associative class
Aggregation/composition of an Association
Right-click an association
To modify association properties from its property sheet
Modifying association properties
Modifying association properties from its property sheet
103
Double-click the association in the model
Modifying cardinality properties
To modify association cardinality properties
104
105
106
Displaying text in association symbols
To modify the association display preferences
107
Dependency has the following properties
Defining dependencies
Dependency properties
108
109
Creating a dependency
To create a dependency
Dragging a dependency to a different class
110
To modify dependency properties from its property sheet
Modifying dependency properties
Modifying dependency properties from its property sheet
111
112
Displaying text in dependency symbols
Dependency has the following display preferences
113
Realization has the following properties
Defining realizations
Realization properties
114
Dragging a realization to a different class
Creating a realization
To create a realization
115
116
Modifying realization properties
Modifying a realization from its property sheet
To modify realization properties from its property sheet
117
Realization has the following display preferences
Displaying text in realization symbols
Modifying a realization from the list of realizations
118
119
Each domain definition includes the following properties
Defining domains
Domain properties
120
You create a domain from the list of domains
Accessing the List of Domains
Creating a domain
To create a domain
Precision
Indicating data type, length, and precision
Length
122
To select a data type for a domain from the list
Selecting a data type for a domain
Selecting a data type for a domain from the list
123
To select a data type for a domain from its property sheet
Selecting a data type for a domain from its property sheet
Undefined data type
Selecting a data type from a list of standard data types
125
Selecting a data type from a list of standard data types
Change of data type appears in the list of domains
126
Numeric data types
Character data types
To select a data type from a list of standard data types
Time data types
Other data types
Selecting from the Data Type dropdown listbox
128
To modify domain properties
Accessing a property sheet from the Browser
Modifying domain properties
129
130
Setting standard check parameters for objects
Defining check parameters
131
Defining additional check parameters for objects
To set standard parameters
Variable
132
Using a validation rule in check parameters
To define additional check parameters
133
To use a validation rule in check parameters
Validation rule expressions
134
Managing Object-Oriented Models
135
136
Checking an OOM
Object parameters verified by Check model
137
Indicating error severity
OOM check options
Message Description
Checking a OOM
Objects selected in the diagram
Object selection in the Check Model
To check a OOM
139
Selecting all or clearing all checkboxes
140
Dockable result window
Symbol Option
Making corrections based on OOM check results
141
Making automatic corrections to the OOM
Making manual corrections to an OOM
143
Merging two OOM
144
145
To open a Rose model in PowerDesigner
Opening a Rose model in an OOM
Generalization Association
Objects imported
All objects Class
146
Interface
Objects not imported
Package Class
Attribute
Dependency
Operation
Generalization
148
Reverse Engineering
149
150
What is reverse engineering?
Parsing
Inner classes
Reverse engineering Java
Together classes that logically belong together
Outer class
Comments
Reverse engineering Java options
Java code
To define Java reverse engineering options
153
Loading a JDK library model in the workspace
To load a JDK library model
Select the .java radio button
Reverse engineering Java source files without code body
To reverse java without code body
154
155
To reverse engineer .java files
Reverse engineering Java source files
Select the Ignore operation body checkbox Click OK
156
Reversing without the body of the code
157
Multi-selection
To reverse engineer compiled Java files to a diagram
Reverse engineering compiled Java files
158
159
160
161
Reverse engineering Java files from a source directory
To reverse engineer Java files from a source directory
162
163
To reverse engineer .jar or .zip files to a diagram
Reverse engineering archived .jar or .zip files
164
165
166
Reverse engineering PowerBuilder
Reverse engineering PowerBuilder options
To define PowerBuilder reverse engineering options
167
168
Loading a PowerBuilder library model in the workspace
To load a PowerBuilder library model
Reverse engineering objects from a PowerBuilder application
169
170
171
To reverse engineer PowerBuilder objects from SRU files
Reverse engineering objects from SRU files
172
173
Reverse engineering XML options
XML Schema
Reverse engineering XML
XML Data
XML files can be reversed into an OOM
Reverse engineering XML files
To define XML reverse engineering options
175
To reverse engineer an XML file
176
177
Reverse engineering into a new OOM
To reverse engineer object language files into a new OOM
This product includes XML4C 3.0.1 software developed by
178
179
This chapter describes how to generate objects from an OOM
About this chapter
180
Generating objects
Selecting objects to include in the generation
Select tools
Graphically selected objects
Selecting objects
Selection tips
Check model
Generating Java source files
Defining Java generation options
Visibility sort
To define Java generation options
183
184
Generating Java class definition files
To generate .java files
185
Select the classes that you want to generate from the list
Select Tools
186
Creating Java BeanInfo classes
Navigating between pages
To create Java BeanInfo classes
187
188
Pbl application
Generating objects for PowerBuilder
Defining PowerBuilder generation options
Sru files
To define PowerBuilder generation options
190
191
Generating objects for a PowerBuilder application
Click Apply Click Cancel
192
193
Generating PowerBuilder objects in sru files
To generate PowerBuilder user objects in sru files
194
To define XML generation options
Generating for XML
Defining XML generation options
195
Generating XML objects
196
To generate XML files
197
198
Customizing scripts
199
200
201
202
Generating OOM objects to a CDM
Translating OOM objects into CDM objects
OOM object
203
Translating OOM data types for a CDM
Translating Java data types for a CDM
Java data type
204
Generating a CDM from an OOM
Generating and updating a CDM
Clearing the Preserve Modifications checkbox
Update existing
CDM generation options
You can set the following general generation options
Objects selected in the model
Object selection parameters
Check model before generation
206
207
Generating a new CDM
To generate to a new CDM from an OOM
208
Generating a CDM from a package
209
210
To update an existing CDM by generating from an OOM
Updating an existing CDM
Preserve Modifications
Preserve modifications
211
212
Merging models
213
214
215
Generating from
Generating OOM objects to a PDM
Translating OOM objects into PDM objects
Associations
217
Translating OOM data types for a PDM
Translating Java data types for a PDM
Translation example for SQL Anywhere
Generate new Physical Data
Generating a PDM from an OOM
Generating and updating a PDM
218
Physical Data
219
220
Defining PDM generation options
You select objects for PDM generation from the Selection
Select Tools Generate Physical Data Model
Generating a new PDM
To generate to a new PDM from an OOM
221
222
Generating a PDM from a package
223
224
To update an existing PDM by generating from an OOM
Updating an existing PDM
225
226
227
228
Using Object Languages
229
230
Object languages
Types of object language
Object language type
To modify a value of a current object language
Accessing object language properties
Modifying the current object language
Open an OOM Select Language Edit Current Object Language
232
233
Modifying linked object language properties
To modify the parameters of a linked object language
234
To change the object language of an OOM
Changing the object language of an OOM
Creating a new object language
To create a new object language
236
237
238
Fields
Using the object language editor
Categories
Values
Editor edit menu
Modifying values in the object language editor
Object language
Following editing options appear
UML category
Object language editor categories
General category
Stereotypes
242
Class has the following default stereotypes
Class stereotypes
Operation stereotypes
An operation has the following default stereotype
Generalization has the following default stereotype
Generalization stereotypes
244
Dependency has the following default stereotypes
Dependency stereotypes
Package stereotypes
Package has the following default stereotypes
Script category
245
Object scripts
Default constants
Following constant values are defined by default
246
Example
Specification
247
You can modify the following basic data types
Default data types
XML Mapping
248
Event
Extended Attributes category
Namings
249
250
Using Business Rules
251
What is a business rule?
252
253
Defining business rules in an OOM
Types of business rule
Rule type
Business rule definition includes the following properties
Business rule properties
Creating a business rule
254
To create a business rule
255
To apply a business rule to an object
Applying business rules to objects
Applying a business rule to an object
256
Attaching an expression to a business rule
257
258
Glossary
259
Glossary
260
261
262
Stereotype Transient object Visibility
Index
263
264
OOM
265
266
Class
267
268
269
270
JDK
271
Model
272
273
Open
274
275
Role
276
277
278
Top
Page
Image
Contents