From 60fcadb188d7252fbb78a979b5dd6a66dc14c298 Mon Sep 17 00:00:00 2001 From: ptorres-prowide Date: Wed, 3 May 2023 15:34:26 -0300 Subject: [PATCH] Adding generated deprecation changes --- .../java/com/prowidesoftware/swift/model/field/Field92J.java | 4 ++-- .../java/com/prowidesoftware/swift/model/mt/mt2xx/MT203.java | 3 +++ .../java/com/prowidesoftware/swift/model/mt/mt2xx/MT210.java | 3 +++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/generated/java/com/prowidesoftware/swift/model/field/Field92J.java b/src/generated/java/com/prowidesoftware/swift/model/field/Field92J.java index ae7058eab..9eb741eda 100644 --- a/src/generated/java/com/prowidesoftware/swift/model/field/Field92J.java +++ b/src/generated/java/com/prowidesoftware/swift/model/field/Field92J.java @@ -1103,7 +1103,7 @@ public static Field92J fromJson(final String json) { @Deprecated @com.prowidesoftware.deprecation.ProwideDeprecated(phase4=com.prowidesoftware.deprecation.TargetYear.SRU2024) public String getNarrative() { - com.prowidesoftware.deprecation.DeprecationUtils.phase2(this.getClass(), "getNarrative()", "Use getRateStatus() instead"); + com.prowidesoftware.deprecation.DeprecationUtils.phase3(this.getClass(), "getNarrative()", "Use getRateStatus() instead"); return getRateStatus(); } @@ -1113,7 +1113,7 @@ public String getNarrative() { @Deprecated @com.prowidesoftware.deprecation.ProwideDeprecated(phase4=com.prowidesoftware.deprecation.TargetYear.SRU2024) public Field92J setNarrative(String narrative) { - com.prowidesoftware.deprecation.DeprecationUtils.phase2(this.getClass(), "setNarrative(String)", "Use setRateStatus(String) instead"); + com.prowidesoftware.deprecation.DeprecationUtils.phase3(this.getClass(), "setNarrative(String)", "Use setRateStatus(String) instead"); return setRateStatus(narrative); } 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 e53bd07ae..d03dc4f17 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 @@ -822,6 +822,7 @@ public static List getLoop1List(final SwiftTagListBlock parentSequence) { @Deprecated @com.prowidesoftware.deprecation.ProwideDeprecated(phase3=com.prowidesoftware.deprecation.TargetYear.SRU2024) public List getSequenceAList() { + com.prowidesoftware.deprecation.DeprecationUtils.phase2(this.getClass(), "getSequenceAList()", "Use getLoop1List() instead"); return getSequenceAList(super.getSwiftMessageNotNullOrException().getBlock4()); } @@ -831,6 +832,7 @@ 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; @@ -843,6 +845,7 @@ 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 f0298318c..dad867560 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 @@ -651,6 +651,7 @@ public static List getLoop1List(final SwiftTagListBlock parentSequence) { @Deprecated @com.prowidesoftware.deprecation.ProwideDeprecated(phase3=com.prowidesoftware.deprecation.TargetYear.SRU2024) public List getSequenceAList() { + com.prowidesoftware.deprecation.DeprecationUtils.phase2(this.getClass(), "getSequenceAList", "Use getLoop1List() instead"); return getSequenceAList(super.getSwiftMessageNotNullOrException().getBlock4()); } @@ -660,6 +661,7 @@ 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; @@ -672,6 +674,7 @@ 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()); } }