2

I am working to generate stub files from xsd. However the stub files generated have boolean getters generated as isXX() instead of getXX().

public class Task{
  @XmlAttribute(
    name = "IsFailure"
  )
  protected Boolean isFailure;

  public Boolean isIsFailure() {
  return this.isFailure;
  }
}

How can i modify the boolean variables getter names? I need to generate getIsFailure() istead of isIsFailure()

Nikhil Ambekar
  • 110
  • 2
  • 9

1 Answers1

4

You can use enableIntrospection option in maven plugin.

glw
  • 1,646
  • 1
  • 16
  • 20