write(PrintWriter out, String mappingPackage, String patternTemplate) Write out an XML verion of the bean, including all
the fields beans in this table bean.
public void addRelationship(TableBean table, boolean cardinalityMany)(Code)
Add a relationship from this table to another one. It assumes that the key of
this table are the same fields names that relate the two tables
Parameters: table - table this one is related to Parameters: cardinalityMany - true if this is a one to many table, false if its one-to-one
Format a field / table name so it complies with Jaffa. Typically names have
no spaces and each word is caplitalized.
Parameters: name - original database name Jaffa compatible name
Write out an XML verion of the bean, including all
the fields beans in this table bean.
Parameters: mappingPackage - mapping packge for this table to use Parameters: patternTemplate - pattern template this this is based on Parameters: out - XMl representation as a string