Sybase 7.5 manual Adding inner classes to an interface, Adding objects to an interface

Models: 7.5

1 288
Download 288 pages 28.98 Kb
Page 51
Image 51

Chapter 2 Building an Object-Oriented Model

The list of interfaces appears.

2Click the interface that you want to modify. An arrow appears at the beginning of the line.

3Modify any of the properties of the interface directly in the list.

4Click OK.

Adding inner classes to an interface

An inner class is a class definition that is defined within another (outer) class definition. 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.

For more information on inner classes, see the section Inner classes.

Adding objects to an interface

You can add an object to an interface, that already exists in the model, but which belongs to another object.

41

Page 51
Image 51
Sybase 7.5 manual Adding inner classes to an interface, Adding objects to an interface