예제 #1
0
 public static EnumSet<AcSentMessageTypeEnum> collectFromCodes(Collection<String> v) {
   if (v == null) return null;
   EnumSet<AcSentMessageTypeEnum> set = newEnumSet();
   for (String s : v) {
     AcSentMessageTypeEnum e = _AcSentMessageTypeEnum._m.get(s);
     if (e != null) set.add(e);
   }
   return set;
 }
 public static EnumSet<AcUspsDomesticRouteStatusStatusEnum> collectFromCodes(
     Collection<String> v) {
   if (v == null) return null;
   EnumSet<AcUspsDomesticRouteStatusStatusEnum> set = newEnumSet();
   for (String s : v) {
     AcUspsDomesticRouteStatusStatusEnum e = _AcUspsDomesticRouteStatusStatusEnum._m.get(s);
     if (e != null) set.add(e);
   }
   return set;
 }
 public static EnumSet<AcUspsInternationalClaimLegTypeEnum> collectFromCodes(
     Collection<String> v) {
   if (v == null) return null;
   EnumSet<AcUspsInternationalClaimLegTypeEnum> set = newEnumSet();
   for (String s : v) {
     AcUspsInternationalClaimLegTypeEnum e = _AcUspsInternationalClaimLegTypeEnum._m.get(s);
     if (e != null) set.add(e);
   }
   return set;
 }
 public static EnumSet<AcUspsInternationalCandidateRouteOfferHistoryStatusEnum> collectFromCodes(
     Collection<String> v) {
   if (v == null) return null;
   EnumSet<AcUspsInternationalCandidateRouteOfferHistoryStatusEnum> set = newEnumSet();
   for (String s : v) {
     AcUspsInternationalCandidateRouteOfferHistoryStatusEnum e =
         _AcUspsInternationalCandidateRouteOfferHistoryStatusEnum._m.get(s);
     if (e != null) set.add(e);
   }
   return set;
 }