protected JavaMethod getPMClassUpdateMethod(TypeSG pController, JavaSource pSource, CustomTableData pData)
throws SAXException {
JavaMethod jm = pSource.newJavaMethod("update", JavaQNameImpl.VOID, JavaSource.PUBLIC);
Parameter pElement = jm.addParam(Element.class, "pElement");
jm.addThrows(PMException.class);
Table table = pData.getTable();
String q = table.getSchema().getSQLFactory().newSQLGenerator().getQuery(table.getUpdateStatement());
LocalJavaField query = jm.newJavaField(String.class);
query.setFinal(true);