Method Summary |
|
public void | childDelete(AmberConnection aConn, Serializable primaryKey) |
public AmberExpr | createExpr(QueryParser parser, PathExpr parent) Creates the expression for the field. |
public String | generateCastFromObject(String value) Generates code to convert to the type from the object. |
public void | generateCopyLoadObject(JavaWriter out, String dst, String src, int loadIndex) Updates the cached copy. |
public void | generateCopyMergeObject(JavaWriter out, String dst, String src, int loadIndex) Updates the cached copy. |
public void | generateCopyUpdateObject(JavaWriter out, String dst, String src, int updateIndex) Updates the cached copy. |
public String | generateCreateTableSQL(AmberPersistenceUnit manager) Generates the table create. |
public void | generateDumpRelationships(JavaWriter out, int updateIndex) Checks entity-relationships from an object. |
public String | generateEquals(String leftBase, String value) Generates code to test the equals. |
public void | generateExpire(JavaWriter out) Generates the expire code. |
public void | generateGet(JavaWriter out, String value) Generates the field getter. |
public String | generateGet(String value) Generates the field getter. |
public void | generateGetProperty(JavaWriter out) Generates the get property. |
public void | generateInsertColumns(ArrayList<String> columns) Generates the insert. |
public void | generateInsertSet(JavaWriter out, String pstmt, String index, String obj) Generates the set clause for the insert clause. |
public void | generateInvalidateForeign(JavaWriter out) |
public String | generateJavaSelect(String id) Generates the JPA QL select clause. |
public int | generateLoad(JavaWriter out, String rs, String indexVar, int loadGroupIndex) |
public void | generateLoadFromObject(JavaWriter out, String obj) |
public String | generateLoadSelect(Table table, String id) Generates the select clause for an entity load. |
public void | generatePostConstructor(JavaWriter out) |
public void | generatePostDelete(JavaWriter out) |
public int | generatePostLoadSelect(JavaWriter out, int index) Generates loading code after the basic fields. |
public void | generatePreDelete(JavaWriter out) |
public void | generatePrologue(JavaWriter out, HashSet<Object> completedSet) Generates any prologue. |
public String | generateSelect(String id) Generates the select clause. |
public void | generateSet(JavaWriter out, String obj) |
public String | generateSet(String obj, String value) Generates the field setter. |
public void | generateSet(JavaWriter out, String pstmt, String index) Generates the set clause. |
public void | generateSet(JavaWriter out, String pstmt, String index, String obj) Generates the set clause. |
public void | generateSetProperty(JavaWriter out) Generates the set property. |
public String | generateSuperGetter() Returns the actual data. |
public void | generateSuperGetter(JavaWriter out) Generates the get property. |
public String | generateSuperSetter(String value) Sets the actual data. |
public String | generateSuperSetter(String objThis, String value) Sets the actual data. |
public void | generateSuperSetter(JavaWriter out) Generates the get property. |
public void | generateUpdate(CharBuffer sql) Generates the where clause. |
public void | generateUpdate(JavaWriter out, String mask, String pstmt, String index) |
public void | generateUpdateFromObject(JavaWriter out, String obj) |
public void | generateUpdateSet(JavaWriter out, String pstmt, String index, String obj) Generates the set clause for the insert clause. |
public String | generateWhere(String id) Generates the where clause. |
public Column | getColumn() Returns the column for the field. |
public long | getCreateLoadMask(int group) Returns the load group mask. |
public JMethod | getGetterMethod() Returns the getter method. |
public String | getGetterName() Returns the getter name. |
public int | getIndex() Returns the property index. |
public JType | getJavaType() |
public String | getJavaTypeName() Returns the name of the java type. |
public int | getLoadGroupIndex() Returns the property's group index. |
public String | getName() Returns the field name. |
public JMethod | getSetterMethod() Returns the setter method. |
public String | getSetterName() Returns the setter name. |
public AbstractStatefulType | getSourceType() Returns the owning entity class. |
public Table | getTable() |
public boolean | hasLoadGroup(int index) |
public void | init() Links to the target. |
public boolean | isAbstract() Returns true if the methods are abstract. |
public boolean | isCascadable() Returns true if the field is cascadable. |
public boolean | isLazy() Returns true if and only if this is a LAZY field. |
public boolean | isUpdateable() Returns true for an updateable field. |
public void | link() Links to the target. |
public void | setIndex(int index) Links to the target. |
public String | toObject(String value) Converts to an object. |