Altova UModel 2024 Enterprise Edition

Overriding Base Class Operations and Implementing Interface Operations

Accueil Préc Haut Suivant

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