[Uml-devel] [Bug 88117] New: An abstract class can't provide interface in component diagram

Lea Viljanen ladybug at iki.fi
Thu Aug 26 03:03:08 UTC 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=88117      
           Summary: An abstract class can't provide interface in component
                    diagram
           Product: umbrello
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: umbrello-devel.kde.org
        ReportedBy: ladybug iki fi


Version:           1.3.0 (using KDE KDE 3.2.1)
Installed from:    Compiled From Sources
OS:                Linux

Documentation says that "Components can have interfaces (i.e. abstract classes with operations) that allow associations between components". However, a component does not accept an association with an abstract class (with only abstract operations), it requires an interface class.

This is somewhat problematic in Java, where some things are better done as abstract classes.
For example if the class wants to extend java.util.Observable, this automatically rules out being an
interface. Of course one could work around that, but I still feel this is a bug. If this is intentional
behaviour, some changes in documentation would be in order.




More information about the umbrello-devel mailing list