예제 #1
0
  /**
   * Visits each child schema component and creates corresponding axi component, adds them to the
   * parent axi component.
   */
  public void populateChildren(List<AXIComponent> children) {
    if (getSharedComponent() != null) {
      Util.addProxyChildren(this, getSharedComponent(), children);
      return;
    }

    // Safeguard: this can be removed if DesignPatternTest goes through
    if (getPeer() == null) return;

    AXIModelBuilder builder = new AXIModelBuilder(this);
    builder.populateChildren(getPeer(), true, children);
  }