/** * 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 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 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 Field28E(String value) { this(); setComponent1(SwiftParseUtils.getTokenFirst(value, "/")); setComponent2(SwiftParseUtils.getTokenSecond(value, "/")); }