Example #1
0
 public LIMIT_TYPE getLimitType() {
   if (limitTypeCode == null) {
     return null;
   }
   for (LIMIT_TYPE type : LIMIT_TYPE.values()) {
     if (StringUtils.equals(limitTypeCode, type.getType())) {
       return type;
     }
   }
   return null;
 }
Example #2
0
 public void setLimitType(LIMIT_TYPE type) {
   limitTypeCode = type.getType();
 }