String text(ResourceSettingInstance ele) {
    String assigns = "";

    if ((ele.getAssignSetting() != null) && (ele.getAssignSetting().size() > 0)) {
      for (int ixAssignedSettings = 0;
          ixAssignedSettings < ele.getAssignSetting().size();
          ixAssignedSettings++) {
        SettingInstance assignedSetting = ele.getAssignSetting().get(ixAssignedSettings);
        assigns +=
            "\""
                + ((ResourceRequest) assignedSetting.eContainer()).getName()
                + // hardcode here the _1 . A more sofisticated way should be implemented.eg now we
                  // suppose that a group of services is connected to 1 setting... maybe we have
                  // more complex scenarios
                assignedSetting.getName()
                + "\","; // Assignments work differently from VCT tool. in vct tool the arrows are
                         // references.. where assign means that the assigned value is the source
                         // and the element is the target
      }
      assigns = assigns.substring(0, assigns.length() - 1);
      return ele.getName() + " <- " + assigns;

    } else {
      return ele.getName() + " = \"" + ele.getStaticValue() + "\"";
    }
  }