public interface ImportedId
| 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)
Used to derive a missing concatenated key from multiple imported keys.
|
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.
|
void addFkeys(String name)
boolean isScalar()
String getLogicalName()
String getDbColumn()
This is essentially the imported foreign key column (where there is only one).
void sqlAppend(DbSqlContext ctx)
void dmlAppend(GenerateDmlRequest request)
void dmlWhere(GenerateDmlRequest request, Object bean)
boolean hasChanged(Object bean, Object oldValues)
Object bind(BindableRequest request, Object bean, boolean bindNull) throws SQLException
SQLExceptionvoid buildImport(IntersectionRow row, Object other)
BeanProperty findMatchImport(String matchDbColumn)
Copyright © 2014. All Rights Reserved.