code: private void writeResourceAdapter(Definition def, Writer out, int indent) throws IOException
     {
        writeWithIndent(out, indent, "/**\n");
        writeWithIndent(out, indent, " * Get the resource adapter\n");
        writeWithIndent(out, indent, " *\n");
        writeWithIndent(out, indent, " * @return The handle\n");
        writeWithIndent(out, indent, " */\n");
  
        writeWithIndent(out, indent, "public ResourceAdapter getResourceAdapter()");
        writeLeftCurlyBracket(out, indent);
  
        writeLogging(def, out, indent + 1, "trace", "getResourceAdapter");
  
        writeIndent(out, indent + 1);
        out.write("return ra;");
        writeRightCurlyBracket(out, indent);
        writeEol(out);
  
        writeWithIndent(out, indent, "/**\n");
        writeWithIndent(out, indent, " * Set the resource adapter\n");
        writeWithIndent(out, indent, " *\n");
        writeWithIndent(out, indent, " * @param ra The handle\n");
        writeWithIndent(out, indent, " */\n");
  
        writeWithIndent(out, indent, "public void setResourceAdapter(ResourceAdapter ra)");
        writeLeftCurlyBracket(out, indent);
  
        writeLogging(def, out, indent + 1, "trace", "setResourceAdapter", "ra");
  
        writeIndent(out, indent + 1);
        out.write("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