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) |
public void | generateGet(JavaWriter out, String value) Generates the field getter. |
public String | generateGet(String obj) Generates the field getter. |
public void | generateGetProperty(JavaWriter out) Generates the get property. |
final public String | generateInsert() Generates the insert. |
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 index) |
public void | generateLoadFromObject(JavaWriter out, String obj) |
public String | generateLoadSelect(Table table, String id) Generates the select clause for an entity load. |
public String | generateNull() Returns the null value. |
public void | generatePostConstructor(JavaWriter out) Generates the post constructor initialization. |
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. |
final 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 set property. |
public void | generateUpdate(CharBuffer sql) Generates the where clause. |
public void | generateUpdate(JavaWriter out, String maskVar, 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 JClass | getBeanClass() Returns the bean class. |
public Column | getColumn() |
public long | getCreateLoadMask(int group) Returns the load group mask. |
public RelatedType | getEntitySourceType() Returns the source type as
entity or mapped-superclass. |
protected String | getFieldName() Returns the field name. |
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 getter name. |
public int | getLoadGroupIndex() Returns the property's group index. |
public String | getName() Returns the field name. |
public AmberPersistenceUnit | getPersistenceUnit() Returns the amber manager. |
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() Returns the table containing the field's columns. |
public boolean | hasLoadGroup(int index) |
public void | init() Initialize the field. |
public boolean | isAbstract() Returns true if the methods are abstract. |
public boolean | isCascadable() Returns true if the field is cascadable. |
public boolean | isFieldAccess() Returns true if values are accessed by the fields. |
public boolean | isLazy() Returns true for a lazy field. |
public boolean | isUpdateable() Returns true if the methods are abstract. |
public void | link() Links to the target. |
public void | setIndex(int index) Set the property index. |
protected void | setJavaType(JType type) Sets the java type. |
protected void | setJavaType(Class type) Sets the java type. |
public void | setLazy(boolean isLazy) Set true for a lazy field. |
protected void | setLoadGroupIndex(int index) Returns the property's group index. |
public void | setName(String name) Sets the name. |
public String | toObject(String value) Converts to an object. |
public String | toString() |