Beispiel #1
0
  /** Convert a list of {@link HypericEnum}s into a list of {@link LabelValueBean}s */
  public static List convertEnumsToLabelBeans(List enums) {
    List res = new ArrayList(enums.size());

    for (Iterator i = enums.iterator(); i.hasNext(); ) {
      HypericEnum e = (HypericEnum) i.next();

      res.add(new LabelValueBean(e.getValue(), e.getCode() + ""));
    }
    return res;
  }
 public static Collection<AlertAuxLogProvider> findAll() {
   return HypericEnum.getAll(AlertAuxLogProvider.class);
 }