/** Generates any prologue. */ @Override public void generatePrologue(JavaWriter out, HashSet<Object> completedSet) throws IOException { super.generatePrologue(out, completedSet); if (isAbstract()) { out.println(); out.println(); out.println("public " + getJavaTypeName() + " " + getGetterName() + "()"); out.println("{"); out.println(" return " + getFieldName() + ";"); out.println("}"); out.println(); out.println("public void " + getSetterName() + "(" + getJavaTypeName() + " v)"); out.println("{"); out.println(" " + getFieldName() + " = v;"); out.println("}"); } }
/** Generates the set clause. */ public void generateStatementSet(JavaWriter out, String pstmt, String index, String value) throws IOException { super.generateStatementSet(out, pstmt, index, value); }