IDL Inheritance
  • Item inherits from an interface called Owned
    • Owned is an abstract interface (never instantiated directly) that is shared by all objects that can be "owned" by another object
  • IDL supports multiple inheritance
    • Simply list multiple parent interfaces as a comma-separated list
  • IDL inheritance rules
    • Operations cannot be overridden in a derived interface. The derived interface may only specify new attributes or operations.
    • Operations are distinguished by name only (no parametric polymorphism)
    • Interface inheritance says nothing about how objects are implemented. It simply defines the type signature of an interface.

Next Slide >>