title: How configure jaxb setters?
body: <p>I parse an xml file and want to have 2 setters for integer property:</p>
  
  <pre><code>@XmlAccessorType(XmlAccessType.NONE)
  @XmlType(name = "")
  @XmlRootElement(name = "request")
  public class Request {
      private Integer intTag;
  
      @XmlElement(required = true, name = "intTag", nillable = true)
      public Integer getIntTag () {
          return intTag;
      }
  
      @XmlElement(required = true, name = "intTag", nillable = true)
      public void setIntTag (String intTag) {
          if (StringUtils.isBlank(intTag)) {
              this.intTag = null;
          } else {
              this.intTag = Integer.parseInt(intTag);
          }
      }
  
      public void setIntTag (Integer intTag) {
          this.intTag = intTag;
      }
  }
  </code></pre>
  
  <p>I annotate setIntTag(String) but Jaxb marchaller calls setIntTag(Integer) and pass Integer to it, if I delete setIntTag(Integer), marchaller calls the string setter.</p>
  
  <p>How annotate these methods to keep both setters, and tell marshaller use string setter?</p>