| java.lang.Object com.caucho.amber.field.Id com.caucho.amber.field.CompositeId com.caucho.amber.field.EmbeddedId
EmbeddedId | public class EmbeddedId extends CompositeId (Code) | | Configuration for a bean's field
|
Field Summary | |
final protected static Logger | log |
generateGetProperty | public String generateGetProperty(String objThis)(Code) | | Returns the key for the value
|
isEmbeddedId | public boolean isEmbeddedId()(Code) | | Returns true if this is an @EmbeddedId
|
isIdentityGenerator | public boolean isIdentityGenerator()(Code) | | Returns true for an identity key.
|
Methods inherited from com.caucho.amber.field.CompositeId | public String generateCastFromObject(String value)(Code)(Java Doc) public void generateCheckCreateKey(JavaWriter out) throws IOException(Code)(Java Doc) public String generateCreateTableSQL(AmberPersistenceUnit manager)(Code)(Java Doc) public String generateEquals(String leftBase, String value)(Code)(Java Doc) public String generateGetProperty(String value)(Code)(Java Doc) public String generateGetProxyProperty(String value)(Code)(Java Doc) public String generateJavaSelect(String id)(Code)(Java Doc) public int generateLoadForeign(JavaWriter out, String rs, String indexVar, int index) throws IOException(Code)(Java Doc) public int generateLoadForeign(JavaWriter out, String rs, String indexVar, int index, String name) throws IOException(Code)(Java Doc) public void generateLoadFromObject(JavaWriter out, String obj) throws IOException(Code)(Java Doc) public String generateLoadSelect(String id)(Code)(Java Doc) public void generateMatch(JavaWriter out, String key) throws IOException(Code)(Java Doc) public void generatePrologue(JavaWriter out, HashSet<Object> completedSet) throws IOException(Code)(Java Doc) public void generatePrologue(JavaWriter out, HashSet<Object> completedSet, String name) throws IOException(Code)(Java Doc) public void generatePrologueLoad(JavaWriter out, HashSet<Object> completedSet) throws IOException(Code)(Java Doc) public void generatePrologueMake(JavaWriter out, HashSet<Object> completedSet) throws IOException(Code)(Java Doc) public String generateSelect(String id)(Code)(Java Doc) public void generateSet(JavaWriter out, String obj) throws IOException(Code)(Java Doc) public void generateSetKey(JavaWriter out, String pstmt, String obj, String index) throws IOException(Code)(Java Doc) public void generateUpdateFromObject(JavaWriter out, String obj) throws IOException(Code)(Java Doc) public String generateWhere(String id)(Code)(Java Doc) public String getForeignMakeKeyName()(Code)(Java Doc) public String getForeignTypeName()(Code)(Java Doc) public void setKeyClass(JClass keyClass)(Code)(Java Doc) public String toObject(String value)(Code)(Java Doc)
|
Methods inherited from com.caucho.amber.field.Id | protected void addKey(IdField key)(Code)(Java Doc) public String generateCastFromObject(String value)(Code)(Java Doc) public void generateCheckCreateKey(JavaWriter out) throws IOException(Code)(Java Doc) public void generateCopy(JavaWriter out, String dest, String source) throws IOException(Code)(Java Doc) public String generateCreateTableSQL(AmberPersistenceUnit manager)(Code)(Java Doc) public String generateEquals(String leftBase, String value)(Code)(Java Doc) public String generateGetProperty(String value)(Code)(Java Doc) public String generateGetProxyKey(String value)(Code)(Java Doc) public String generateJavaSelect(String id)(Code)(Java Doc) public int generateLoadForeign(JavaWriter out, String rs, String indexVar, int index) throws IOException(Code)(Java Doc) public int generateLoadForeign(JavaWriter out, String rs, String indexVar, int index, String name) throws IOException(Code)(Java Doc) public void generateLoadFromObject(JavaWriter out, String obj) throws IOException(Code)(Java Doc) public String generateLoadSelect(String id)(Code)(Java Doc) public void generateMatch(JavaWriter out, String key) throws IOException(Code)(Java Doc) public String generateMatchArgWhere(String id)(Code)(Java Doc) public void generatePrologue(JavaWriter out, HashSet<Object> completedSet, String name) throws IOException(Code)(Java Doc) public void generatePrologue(JavaWriter out, HashSet<Object> completedSet) throws IOException(Code)(Java Doc) public String generateRawWhere(String id)(Code)(Java Doc) public String generateSelect(String id)(Code)(Java Doc) public void generateSet(JavaWriter out, String obj) throws IOException(Code)(Java Doc) public void generateSet(JavaWriter out, String pstmt, String index, String value) throws IOException(Code)(Java Doc) public void generateSet(JavaWriter out, String pstmt, String index) throws IOException(Code)(Java Doc) public void generateSetGeneratedKeys(JavaWriter out, String pstmt) throws IOException(Code)(Java Doc) public void generateSetInsert(JavaWriter out, String pstmt, String index) throws IOException(Code)(Java Doc) public void generateSetKey(JavaWriter out, String pstmt, String index, String keyObject) throws IOException(Code)(Java Doc) public void generateUpdateFromObject(JavaWriter out, String obj) throws IOException(Code)(Java Doc) public ArrayList<Column> getColumns()(Code)(Java Doc) public EmbeddedIdField getEmbeddedIdField()(Code)(Java Doc) public String getForeignTypeName()(Code)(Java Doc) public IdField getKey()(Code)(Java Doc) public int getKeyCount()(Code)(Java Doc) public ArrayList<IdField> getKeys()(Code)(Java Doc) public Object getObject(ResultSet rs, int index) throws SQLException(Code)(Java Doc) public RelatedType getOwnerType()(Code)(Java Doc) public void init() throws ConfigException(Code)(Java Doc) public boolean isEmbeddedId()(Code)(Java Doc) public boolean isIdentityGenerator()(Code)(Java Doc) public String toObject(String value)(Code)(Java Doc) public Object toObjectKey(long value)(Code)(Java Doc)
|
|
|