mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#593 - Refactor SPI - Move methods from ElPropertyValue to ExpressionPath
This commit is contained in:
@@ -172,16 +172,6 @@ public class ElPropertyChain implements ElPropertyValue {
|
||||
return lastElPropertyValue.getAssocIdInValueExpr(size);
|
||||
}
|
||||
|
||||
public int getDeployOrder() {
|
||||
int i = lastBeanProperty.getDeployOrder();
|
||||
int max = chain.length - 1;
|
||||
for (int j = 0; j < max; j++) {
|
||||
int xtra = ((max - j) * 1000) * chain[j].getDeployOrder();
|
||||
i += xtra;
|
||||
}
|
||||
return i;
|
||||
}
|
||||
|
||||
public boolean isAssocId() {
|
||||
return assocId;
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@ package com.avaje.ebeaninternal.server.el;
|
||||
|
||||
import com.avaje.ebean.bean.EntityBean;
|
||||
import com.avaje.ebean.plugin.ExpressionPath;
|
||||
import com.avaje.ebean.text.StringParser;
|
||||
|
||||
/**
|
||||
* The expression language object that can get values.
|
||||
@@ -55,11 +54,6 @@ public interface ElPropertyValue extends ElPropertyDeploy, ExpressionPath {
|
||||
*/
|
||||
boolean isDbEncrypted();
|
||||
|
||||
/**
|
||||
* Return the deploy order for the property.
|
||||
*/
|
||||
int getDeployOrder();
|
||||
|
||||
/**
|
||||
* Return the value ensuring objects prior to the top scalar property are
|
||||
* automatically populated.
|
||||
|
||||
Reference in New Issue
Block a user