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