code: private void writeResourceAdapter(Definition def, Writer out, int indent) throws IOException
     {
        writeIndent(out, indent);
        out.write("/**\n");
        writeIndent(out, indent);
        out.write(" * Get the resource adapter\n");
        writeIndent(out, indent);
        out.write(" *\n");
        writeIndent(out, indent);
        out.write(" * @return The handle\n");
        writeIndent(out, indent);
        out.write(" */\n");
  
        writeIndent(out, indent);
        out.write("public ResourceAdapter getResourceAdapter()");
        writeLeftCurlyBracket(out, indent);
        writeWithIndent(out, indent + 1, "return ra;");
        writeRightCurlyBracket(out, indent);
        writeEol(out);
  
        writeIndent(out, indent);
        out.write("/**\n");
        writeIndent(out, indent);
        out.write(" * Set the resource adapter\n");
        writeIndent(out, indent);
        out.write(" *\n");
        writeIndent(out, indent);
        out.write(" * @param ra The handle\n");
        writeIndent(out, indent);
        out.write(" */\n");
  
        writeIndent(out, indent);
        out.write("public void setResourceAdapter(ResourceAdapter ra)");
        writeLeftCurlyBracket(out, indent);
        writeWithIndent(out, indent + 1, "this.ra = ra;");
        writeRightCurlyBracket(out, indent);
        writeEol(out);
     }
docs: Output ResourceAdapter method
  
  @param def    definition
  @param out    Writer
  @param indent space number
  @throws IOException ioException