JiBX
  1. JiBX
  2. JIBX-78

When are you expecting to support multiple level of inheritance?

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0-RC2
    • Component/s: core
    • Labels:
      None
    • Number of attachments :
      0

      Activity

      Hide
      Dennis Sosnoski added a comment -

      This issue only effects users needing to support polymorphism with more than two levels, like:

      A---B---C
      +-D---E
      +--F

      where A-F are all classes with real instances (none are abstract), and they may all be used interchangably. Even in this type of situation, abstract mappings can be used in combination with child <structure> elements to handle references. If the references are used in multiple locations this can admittedly add a lot of complexity to the binding definition, since the list of child <structure> elements needs to be repeated at each point, but it does give a work around.

      Full support for multiple layers of inheritance with polymorphism, using the mapping extends="xxx" technique that gives the equivalent to a schema substitution group, probably won't be added until JiBX 2.0

      Show
      Dennis Sosnoski added a comment - This issue only effects users needing to support polymorphism with more than two levels, like: A--- B ---C +- D ---E +--F where A-F are all classes with real instances (none are abstract), and they may all be used interchangably. Even in this type of situation, abstract mappings can be used in combination with child <structure> elements to handle references. If the references are used in multiple locations this can admittedly add a lot of complexity to the binding definition, since the list of child <structure> elements needs to be repeated at each point, but it does give a work around. Full support for multiple layers of inheritance with polymorphism, using the mapping extends="xxx" technique that gives the equivalent to a schema substitution group, probably won't be added until JiBX 2.0
      Hide
      Dennis Sosnoski added a comment -

      Finally convinced myself to implement this for 1.0; the RC2 documentation will cover usage and such.

      Show
      Dennis Sosnoski added a comment - Finally convinced myself to implement this for 1.0; the RC2 documentation will cover usage and such.

        People

        • Assignee:
          Dennis Sosnoski
          Reporter:
          L. Bokor
        • Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: