title: Xtext - Generating object - generate more data
body: <p>I have xtext file similar to the xtext describe in here:
  (www.ebpml.org/blog2/index.php/2010/11/05/mde-xtext-and-json)</p>
  
  <pre><code>JSONDataSource: root = Object ;
  Object: '{' firstObject=TerminalObject (',' objects+=TerminalObject)* '}';
  Array: '['firstItem=ObjectValue (',' items+=ObjectValue)* ']';
  EmptyObject: isEmpty?= '{}' ;
  EmptyArray: isEmpty?= '[]' ;
  ObjectValue: value=STRING | Object | Array | EmptyObject | EmptyArray ;
  TerminalObject: element=STRING ':' (content = ObjectValue) ;
  </code></pre>
  
  <p>So after generating the code I have all the objects generated in java.
  now in I want to have more methods in those generated java files.</p>
  
  <p>what is the best way to do so?<br>
  thanks :)</p>