#593 - Refactor SPI - Move methods from ElPropertyValue to ExpressionPath

This commit is contained in:
Robin Bygrave committed 2016-03-08 21:21:46 +13:00
1 parent ba871d6684
commit 57836af5b5
8 files changed
+18 -20

No files matched your search

@@ -463,11 +463,11 @@ public class BeanPropertyAssocOne<T> extends BeanPropertyAssoc<T> {
}
@Override
public Object elGetReference(EntityBean bean) {
Object value = getValueIntercept(bean);
public Object pathGetNested(Object bean) {
Object value = getValueIntercept((EntityBean)bean);
if (value == null) {
value = targetDescriptor.createEntityBean();
setValueIntercept(bean, value);
setValueIntercept((EntityBean)bean, value);
}
return value;
}