Overriding Base Class Operations and Implementing Interface Operations

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  UML Diagrams > Structural Diagrams > Class Diagram >

Overriding Base Class Operations and Implementing Interface Operations

UModel gives you the ability to override the base-class operations, or implement interface operations of a class. This can be done from the Model Tree, Favorites tab, or in Class diagrams.

 

1.Right-click one of the derived classes in the class diagram, e.g. CheckingAccount, and select Override/Implement Operations. This opens the dialog box shown below.

class-overr1

2.Select the Operations that you want to override and confirm with OK. The "Select undefined..." buttons select those method types in the window at left.

 

Note:When the dialog box is opened, operations of base classes and implemented interfaces that have the same signature as existing operations, are automatically checked (i.e. active).

© 2019 Altova GmbH