Altova UModel 2025 Professional Edition

Overriding Base Class Operations and Implementing Interface Operations

Home Prev Top Next

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).

© 2018-2024 Altova GmbH