No effective change - code cleanup - IdBinder - remove unused method

This commit is contained in:
Robin Bygrave
2015-07-31 20:36:18 +12:00
parent d01c6262b6
commit 4ea68ebce4
4 changed files with 0 additions and 24 deletions
@@ -58,11 +58,6 @@ public interface IdBinder {
*/
BeanProperty findBeanProperty(String dbColumnName);
/**
* Return the number of scalar properties for this id.
*/
int getPropertyCount();
/**
* Return false if the id is a simple scalar and false if it is embedded or
* concatenated.
@@ -107,10 +107,6 @@ public final class IdBinderEmbedded implements IdBinder {
return idDesc;
}
public int getPropertyCount() {
return props.length;
}
public String getIdProperty() {
return embIdProperty.getName();
}
@@ -211,10 +207,6 @@ public final class IdBinderEmbedded implements IdBinder {
return sb.toString();
}
public String getIdInValueExpr() {
return idInValueSql;
}
public Object[] getIdValues(EntityBean bean) {
Object val = embIdProperty.getValue(bean);
Object[] bindvalues = new Object[props.length];
@@ -40,10 +40,6 @@ public final class IdBinderEmpty implements IdBinder {
public void buildRawSqlSelectChain(String prefix, List<String> selectChain) {
}
public int getPropertyCount() {
return 0;
}
@Override
public BeanProperty getBeanProperty() {
return null;
@@ -63,13 +63,6 @@ public final class IdBinderSimple implements IdBinder {
idProperty.buildRawSqlSelectChain(prefix, selectChain);
}
/**
* Returns 1.
*/
public int getPropertyCount() {
return 1;
}
@Override
public BeanProperty getBeanProperty() {
return idProperty;