Uploaded image for project: 'mdsal'
  1. mdsal
  2. MDSAL-669

Retain grouping/uses instantiation vectors

    XMLWordPrintable

Details

    Description

      binding-dom-codec requires information about grouping instantiation within an instance of BindingRuntimeTypes to make leafref mapping predictable.

      If can have the equivalent of

      BindingRuntimeTypes {
          private final ListMultimap<JavaTypeName, JavaTypeName> groupingToInstantiation;
      }
      

      populated for each encountered grouping, we can find the corresponding leafref resolution information available via the footprint left by AbstractTypeObjectGenerator.addAsGetterMethodOverride() in GeneratedType. Backreferences stored here should point to instantiation roots, i.e. where a uses statement causes a grouping (and all its referenced grouping) to be referenced when the corresponding SchemaInferenceStack.isGrouping() == false. The footprint can be examined by inquiring GeneratedType.getImplements() type hierarchy.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              SamoSchneider Samuel Schneider
              rovarga Robert Varga
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: