Skip to content

Commit

Permalink
Adding generated deprecation changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ptorres-prowide authored and zubri committed May 8, 2023
1 parent 4b1d764 commit dbe02fb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand All @@ -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);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -822,6 +822,7 @@ public static List<Loop1> getLoop1List(final SwiftTagListBlock parentSequence) {
@Deprecated
@com.prowidesoftware.deprecation.ProwideDeprecated(phase3=com.prowidesoftware.deprecation.TargetYear.SRU2024)
public List<SequenceA> getSequenceAList() {
com.prowidesoftware.deprecation.DeprecationUtils.phase2(this.getClass(), "getSequenceAList()", "Use getLoop1List() instead");
return getSequenceAList(super.getSwiftMessageNotNullOrException().getBlock4());
}

Expand All @@ -831,6 +832,7 @@ public List<SequenceA> getSequenceAList() {
@Deprecated
@com.prowidesoftware.deprecation.ProwideDeprecated(phase3=com.prowidesoftware.deprecation.TargetYear.SRU2024)
public static List<SequenceA> getSequenceAList(final SwiftTagListBlock parentSequence) {
com.prowidesoftware.deprecation.DeprecationUtils.phase2(this.getClass(), "getSequenceAList(SwiftTagListBlock)", "Use getLoop1List(SwiftTagListBlock) instead");
List<SequenceA> result = new ArrayList<>();
getLoop1List(parentSequence).forEach(s -> result.add(new SequenceA(s)));
return result;
Expand All @@ -843,6 +845,7 @@ public static List<SequenceA> 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());
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,7 @@ public static List<Loop1> getLoop1List(final SwiftTagListBlock parentSequence) {
@Deprecated
@com.prowidesoftware.deprecation.ProwideDeprecated(phase3=com.prowidesoftware.deprecation.TargetYear.SRU2024)
public List<SequenceA> getSequenceAList() {
com.prowidesoftware.deprecation.DeprecationUtils.phase2(this.getClass(), "getSequenceAList", "Use getLoop1List() instead");
return getSequenceAList(super.getSwiftMessageNotNullOrException().getBlock4());
}

Expand All @@ -660,6 +661,7 @@ public List<SequenceA> getSequenceAList() {
@Deprecated
@com.prowidesoftware.deprecation.ProwideDeprecated(phase3=com.prowidesoftware.deprecation.TargetYear.SRU2024)
public static List<SequenceA> getSequenceAList(final SwiftTagListBlock parentSequence) {
com.prowidesoftware.deprecation.DeprecationUtils.phase2(this.getClass(), "getSequenceAList", "Use getLoop1List(SwiftTagListBlock) instead");
List<SequenceA> result = new ArrayList<>();
getLoop1List(parentSequence).forEach(s -> result.add(new SequenceA(s)));
return result;
Expand All @@ -672,6 +674,7 @@ public static List<SequenceA> 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());
}
}
Expand Down

0 comments on commit dbe02fb

Please sign in to comment.