title: Should i change/alter xjc generated java files?
body: <p>Should i alter the xjc generated .java files. This is not about how to do it.</p>
  
  <p>let's say, I have a xjc generated file A.java with method 
  <code>getField()</code> and 
  <code>setField(String s)</code>.</p>
  
  <p>I want the xml generated with a specific format. The code is calling <code>a.setField("mystring")</code> from multiple places. </p>
  
  <p>Two ways to achieve it: <br/>
  i. format the string before passing it to <code>a.setField</code>. but this will change at multiple places.<br/>
  ii. Alter generated setField method from A.java to format the field.</p>
  
  <p>Which will be better design choice considering the fact that A.java will be regenerated on next xjc run.</p>