From dc601625b8ea8f9d78d840831b905a3d09b72e68 Mon Sep 17 00:00:00 2001 From: ptorres-prowide Date: Thu, 4 May 2023 11:02:18 -0300 Subject: [PATCH] CodeGen update --- .../com/prowidesoftware/swift/model/field/Field24G.java | 8 +++----- .../com/prowidesoftware/swift/model/mt/mt2xx/MT203.java | 2 -- .../com/prowidesoftware/swift/model/mt/mt2xx/MT210.java | 2 -- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/generated/java/com/prowidesoftware/swift/model/field/Field24G.java b/src/generated/java/com/prowidesoftware/swift/model/field/Field24G.java index 4251af1ac..648ef5122 100644 --- a/src/generated/java/com/prowidesoftware/swift/model/field/Field24G.java +++ b/src/generated/java/com/prowidesoftware/swift/model/field/Field24G.java @@ -198,8 +198,8 @@ public static Tag emptyTag() { @Override public void parse(final String value) { init(13); - // @NotImplemented - throw new org.apache.commons.lang3.NotImplementedException("Missing parserPattern in Field.vm : S[$S]0-12"); + List lines = SwiftParseUtils.getLines(value); + SwiftParseUtils.setComponentsFromLines(this, 1, null, 0, lines); } /** @@ -208,9 +208,7 @@ public void parse(final String value) { @Override public String getValue() { final StringBuilder result = new StringBuilder(); - //FIXME serialization S[$S]0-12 - // @NotImplemented - int notImplemented; + appendInLines(result, 1, 13); return result.toString(); } diff --git a/src/generated/java/com/prowidesoftware/swift/model/mt/mt2xx/MT203.java b/src/generated/java/com/prowidesoftware/swift/model/mt/mt2xx/MT203.java index d03dc4f17..cb3f7c3ba 100644 --- a/src/generated/java/com/prowidesoftware/swift/model/mt/mt2xx/MT203.java +++ b/src/generated/java/com/prowidesoftware/swift/model/mt/mt2xx/MT203.java @@ -832,7 +832,6 @@ public List getSequenceAList() { @Deprecated @com.prowidesoftware.deprecation.ProwideDeprecated(phase3=com.prowidesoftware.deprecation.TargetYear.SRU2024) public static List getSequenceAList(final SwiftTagListBlock parentSequence) { - com.prowidesoftware.deprecation.DeprecationUtils.phase2(this.getClass(), "getSequenceAList(SwiftTagListBlock)", "Use getLoop1List(SwiftTagListBlock) instead"); List result = new ArrayList<>(); getLoop1List(parentSequence).forEach(s -> result.add(new SequenceA(s))); return result; @@ -845,7 +844,6 @@ public static List getSequenceAList(final SwiftTagListBlock parentSeq @com.prowidesoftware.deprecation.ProwideDeprecated(phase3=com.prowidesoftware.deprecation.TargetYear.SRU2024) public static class SequenceA extends SwiftTagListBlock { private SequenceA(final Loop1 content) { - com.prowidesoftware.deprecation.DeprecationUtils.phase2(this.getClass(), "SequenceA(Loop1)", "Use Loop1() instead"); super(content.getTags()); } } diff --git a/src/generated/java/com/prowidesoftware/swift/model/mt/mt2xx/MT210.java b/src/generated/java/com/prowidesoftware/swift/model/mt/mt2xx/MT210.java index dad867560..444c14ab2 100644 --- a/src/generated/java/com/prowidesoftware/swift/model/mt/mt2xx/MT210.java +++ b/src/generated/java/com/prowidesoftware/swift/model/mt/mt2xx/MT210.java @@ -661,7 +661,6 @@ public List getSequenceAList() { @Deprecated @com.prowidesoftware.deprecation.ProwideDeprecated(phase3=com.prowidesoftware.deprecation.TargetYear.SRU2024) public static List getSequenceAList(final SwiftTagListBlock parentSequence) { - com.prowidesoftware.deprecation.DeprecationUtils.phase2(this.getClass(), "getSequenceAList", "Use getLoop1List(SwiftTagListBlock) instead"); List result = new ArrayList<>(); getLoop1List(parentSequence).forEach(s -> result.add(new SequenceA(s))); return result; @@ -674,7 +673,6 @@ public static List getSequenceAList(final SwiftTagListBlock parentSeq @com.prowidesoftware.deprecation.ProwideDeprecated(phase3=com.prowidesoftware.deprecation.TargetYear.SRU2024) public static class SequenceA extends SwiftTagListBlock { private SequenceA(final Loop1 content) { - com.prowidesoftware.deprecation.DeprecationUtils.phase2(this.getClass(), "SequenceA(Loop1)", "Use Loop1() instead"); super(content.getTags()); } }