/**
   * Auto generated method comment
   *
   * @param type
   * @return List<String> with the ReportObjects subtypes
   */
  public List<String> getReportObjectSubTypes(String type) {
    if (modules != null && type != null) {
      List<String> uniqueTypes = new Vector<String>();
      for (ReportObjectFactoryModule mod : modules) {
        if (type.equals(mod.getType()) && !uniqueTypes.contains(mod.getDisplayName())) {
          uniqueTypes.add(mod.getDisplayName());
        }
      }

      return uniqueTypes;
    } else {
      return Collections.emptyList();
    }
  }
  /**
   * Auto generated method comment
   *
   * @param subType
   * @return String with the class name of an object of subType
   */
  public String getReportObjectClassBySubType(String subType) {
    if (modules != null && subType != null) {
      String className = "";
      for (ReportObjectFactoryModule mod : modules) {
        if (subType.equals(mod.getDisplayName())) {
          className = mod.getClassName();
        }
      }

      return className;
    } else {
      return "";
    }
  }