/** * Creates the field parsing the parameter value into fields' components * * @param value */ public Field12B(String value) { this(); setComponent1(SwiftParseUtils.getTokenFirst(value, ":", "/")); setComponent2(SwiftParseUtils.getTokenSecond(value, "/")); setComponent3(SwiftParseUtils.getTokenThirdLast(value, "/")); }
/** * Creates the field parsing the parameter value into fields' components * * @param value */ public Field99A(String value) { this(); setComponent1(SwiftParseUtils.getTokenFirst(value, ":", "//")); String toparse = SwiftParseUtils.getTokenSecondLast(value, "//"); setComponent2(SwiftParseUtils.getAlphaPrefix(toparse)); setComponent3(SwiftParseUtils.getNumericSuffix(toparse)); }
/** * Creates the field parsing the parameter value into fields' components * * @param value */ public Field92B(String value) { this(); setComponent1(SwiftParseUtils.getTokenFirst(value, ":", "//")); String toparse = SwiftParseUtils.getTokenSecondLast(value, "//"); setComponent2(SwiftParseUtils.getTokenFirst(toparse, "/")); setComponent3(SwiftParseUtils.getTokenSecond(toparse, "/")); setComponent4(SwiftParseUtils.getTokenThirdLast(toparse, "/")); }
/** * Creates the field parsing the parameter value into fields' components * * @param value */ public Field50G(String value) { this(); java.util.List<String> lines = SwiftParseUtils.getLines(value); if (lines.size() > 0) { setComponent1(SwiftParseUtils.getTokenFirst(lines.get(0), "/", null)); } if (lines.size() > 1) { setComponent2(lines.get(1)); } }
/** * Creates the field parsing the parameter value into fields' components * * @param value */ public Field95T(String value) { this(); java.util.List<String> lines = SwiftParseUtils.getLines(value); if (lines.size() > 0) { String line1 = lines.get(0); setComponent1(SwiftParseUtils.getTokenFirst(line1, ":", "//")); setComponent2(SwiftParseUtils.getTokenSecondLast(line1, "//")); } if (lines.size() > 1) { setComponent3(lines.get(1)); } }
/** * Creates the field parsing the parameter value into fields' components * * @param value */ public Field69D(String value) { this(); setComponent1(SwiftParseUtils.getTokenFirst(value, ":", "//")); String toparse = SwiftParseUtils.getTokenSecondLast(value, "//"); String toparse2 = SwiftParseUtils.getTokenFirst(toparse, "/"); setComponent4(SwiftParseUtils.getTokenSecondLast(toparse, "/")); if (toparse2 != null) { if (toparse2.length() >= 8) { setComponent2(org.apache.commons.lang.StringUtils.substring(toparse2, 0, 8)); } if (toparse2.length() > 8) { setComponent3(org.apache.commons.lang.StringUtils.substring(toparse2, 8)); } } }
/** * Creates the field parsing the parameter value into fields' components * * @param value */ public Field37F(String value) { this(); setComponent1(SwiftParseUtils.getTokenFirst(value, "//")); String toparse = SwiftParseUtils.getTokenSecond(value, "//"); if (toparse != null && toparse.length() >= 6) { setComponent2(org.apache.commons.lang.StringUtils.substring(toparse, 0, 6)); } if (toparse != null && toparse.length() >= 7) { setComponent3(org.apache.commons.lang.StringUtils.substring(toparse, 6, 7)); } if (toparse != null && toparse.length() > 7) { String toparse2 = org.apache.commons.lang.StringUtils.substring(toparse, 7); setComponent4(SwiftParseUtils.getTokenFirst(toparse2, "/")); setComponent5(SwiftParseUtils.getTokenSecondLast(toparse2, "/")); } }
/** * Creates the field parsing the parameter value into fields' components * * @param value */ public Field29F(String value) { this(); java.util.List<String> lines = SwiftParseUtils.getLines(value); SwiftParseUtils.setComponentsFromLines(this, 1, 35, 0, lines); }
/** * Creates the field parsing the parameter value into fields' components * * @param value */ public Field28E(String value) { this(); setComponent1(SwiftParseUtils.getTokenFirst(value, "/")); setComponent2(SwiftParseUtils.getTokenSecond(value, "/")); }
/** * Creates the field parsing the parameter value into fields' components * * @param value */ public Field70F(String value) { this(); setComponent1(SwiftParseUtils.getTokenFirst(value, ":", "//")); setComponent2(SwiftParseUtils.getTokenSecondLast(value, "//")); }