code: @SuppressWarnings("unchecked")
      public static VmSetting getSetting(String s) {
          PARAMETERS.clear();
          PARAMETERS.put("setting", s);
          result = namedQuery("VmSetting.findBySetting",
                  PARAMETERS);
          if (result.isEmpty()) {
              return null;
          } else {
              return (VmSetting) result.get(0);
          }
      }
docs: Get setting from database
  
  @param s Setting name to retrieve
  @return Setting with the specified name.