예제 #1
0
 public static ConditionCode valueof(int id) {
   for (ConditionCode condition : ConditionCode.values()) {
     if (condition.id == id) return condition;
   }
   return ConditionCode.UNKNOWN;
 }