JiBX
  1. JiBX
  2. JIBX-171

Abstract Mapping and Interface

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: JiBX 1.1.5
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Hello,

      i'm using JiBX 1.1.5 with abstract Mapping. I have a problem where the type in my mapped object is an interface.

      For example i have the folowing mapping :
      <mapping
      class="mypackage.AttributeVO"
      abstract="true" type-name="cfile">
      <value name="PATHFILE" field="pathFile" type="java.lang.String"/>
      </mapping>

      I have a other mapping who reference it:

      <mapping
      class="mypackage.RootVO"
      name="ENVELOPPE">
      <structure name="ROOTFILE" field="rootFile" map-as="cfile" usage="optional"/>
      </mapping>

      The RootVO classe reference an interface IAttributeVO (AttributeVO implements it). The binding could not compile. when i replace the interface by the implementation, the compilation is OK.

        Activity

        Hide
        Dennis Sosnoski added a comment -

        I've been unable to duplicate this problem with the current code. If you experience it, please supply sample code and binding to demonstrate the problem.

        Show
        Dennis Sosnoski added a comment - I've been unable to duplicate this problem with the current code. If you experience it, please supply sample code and binding to demonstrate the problem.
        Hide
        Dennis Sosnoski added a comment -

        Closed with no further feedback.

        Show
        Dennis Sosnoski added a comment - Closed with no further feedback.

          People

          • Assignee:
            Dennis Sosnoski
            Reporter:
            Vincent Grimault
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: