public class ExportedProperty extends Object
Used to for Assoc Manys to create references etc.
| Constructor and Description |
|---|
ExportedProperty(boolean embedded,
String foreignDbColumn,
BeanProperty property) |
| Modifier and Type | Method and Description |
|---|---|
String |
getForeignDbColumn()
Return the foreign database column matching this property.
|
Object |
getValue(Object bean)
Return the property value from the bean.
|
boolean |
isEmbedded()
Return true if this is part of an embedded concatinated key.
|
public ExportedProperty(boolean embedded,
String foreignDbColumn,
BeanProperty property)
public boolean isEmbedded()
public String getForeignDbColumn()
We use this foreign database column in the query predicates in preference to a parentProperty.idProperty = value. Just using the foreign database column avoids triggering a join to the 'parent' table.
Copyright © 2014. All Rights Reserved.