Package br.net.woodstock.rockframework.domain.util

Examples of br.net.woodstock.rockframework.domain.util.LabeledEnum


    Enum[] array = EnumUtils.getEnumValues(clazz);
    for (Enum tmp : array) {
      String value = tmp.name();
      String label = null;
      if (tmp instanceof LabeledEnum) {
        LabeledEnum le = (LabeledEnum) tmp;
        label = le.getLabel();
      } else {
        label = tmp.name();
      }
      list.add(new SelectItem(value, label));
    }
View Full Code Here

TOP

Related Classes of br.net.woodstock.rockframework.domain.util.LabeledEnum

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.