![Sybase Powerdesigner 7.5 User Manual Download Page 33](http://html1.mh-extra.com/html/sybase/powerdesigner-7-5/powerdesigner-7-5_user-manual_1416512033.webp)
Chapter 2 Building an Object-Oriented Model
23
Creating a class from a diagram
v
To create a class in a diagram:
1
Click the Class tool in the palette toolbar.
2
Click anywhere in the diagram.
The following symbol appears at the click position:
At creation, a class is named Classn, where n is a number assigned in the
order of the creation of objects.
3
Click the Pointer tool in the palette toolbar.
4
Double-click the new class symbol in the diagram.
The class property sheet appears.
5
Type a class name and a class code.
6
Click OK.
The newly created class is visible in the Browser.
Inner classes
An inner class is a class that is defined within another (outer) class or
interface. Inner classes are commonly used in Java. They help you to improve
the overall visibility of your model by allowing you to group together classes
that logically belong together.
You can add inner classes to a class or an interface.
Summary of Contents for Powerdesigner 7.5
Page 1: ...OBJECT ORIENTED MODEL User s Guide POWERDESIGNER 7 5...
Page 8: ...viii...
Page 22: ...Defining OOM properties 12...
Page 144: ...Defining check parameters 134...
Page 208: ...Generating for XML 198 6 Click OK An XML file is generated with the file extension xml...
Page 210: ...Customizing scripts 200...
Page 224: ...Generating a CDM from an OOM 214...
Page 238: ...Generating a PDM from an OOM 228...
Page 260: ...Object language editor categories 250...
Page 268: ...Applying business rules to objects 258...
Page 288: ...278...