public class ImportedIdEmbedded extends Object implements ImportedId
| Constructor and Description |
|---|
ImportedIdEmbedded(BeanPropertyAssoc<?> owner,
BeanPropertyAssocOne<?> foreignAssocOne,
ImportedIdSimple[] imported) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFkeys(String name) |
Object |
bind(BindableRequest request,
Object bean,
boolean bindNull)
Bind the value from the bean.
|
void |
buildImport(IntersectionRow row,
Object other)
For inserting into ManyToMany intersection.
|
void |
dmlAppend(GenerateDmlRequest request)
Append to the DML statement.
|
void |
dmlWhere(GenerateDmlRequest request,
Object bean)
Append to the DML statement to the where clause.
|
BeanProperty |
findMatchImport(String matchDbColumn)
Not supported for embedded id.
|
String |
getDbColumn()
For scalar id return the related single db column.
|
String |
getLogicalName()
Return the logical property name.
|
boolean |
hasChanged(Object bean,
Object oldValues)
Return true if the id value has changed.
|
boolean |
isScalar()
Return true if this id is a simple single scalar value.
|
void |
sqlAppend(DbSqlContext ctx)
Append the the SQL query statement.
|
public ImportedIdEmbedded(BeanPropertyAssoc<?> owner, BeanPropertyAssocOne<?> foreignAssocOne, ImportedIdSimple[] imported)
public void addFkeys(String name)
addFkeys in interface ImportedIdpublic boolean isScalar()
ImportedIdisScalar in interface ImportedIdpublic String getLogicalName()
ImportedIdgetLogicalName in interface ImportedIdpublic String getDbColumn()
ImportedIdThis is essentially the imported foreign key column (where there is only one).
getDbColumn in interface ImportedIdpublic void sqlAppend(DbSqlContext ctx)
ImportedIdsqlAppend in interface ImportedIdpublic void dmlAppend(GenerateDmlRequest request)
ImportedIddmlAppend in interface ImportedIdpublic void dmlWhere(GenerateDmlRequest request, Object bean)
ImportedIddmlWhere in interface ImportedIdpublic boolean hasChanged(Object bean, Object oldValues)
ImportedIdhasChanged in interface ImportedIdpublic Object bind(BindableRequest request, Object bean, boolean bindNull) throws SQLException
ImportedIdbind in interface ImportedIdSQLExceptionpublic void buildImport(IntersectionRow row, Object other)
ImportedIdbuildImport in interface ImportedIdpublic BeanProperty findMatchImport(String matchDbColumn)
findMatchImport in interface ImportedIdCopyright © 2014. All Rights Reserved.