'Make the value of currency null if countryCode is having value "1234" using only any annoation?
Had to make currency null if the countryCode is "1234" using only annoations
@XmlElement(name = "FirstName")
private String firstName;
@XmlElement(name = "SecondName")
private String secondName;
@XmlElement(name = "CountryCode")
private String countryCode;
@XmlElement(name = "Currency")
private String currency;
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
