No effective change - remove unused

This commit is contained in:
Robin Bygrave
2015-08-02 08:47:37 +12:00
parent 11a3e49daa
commit 0731084ec0
4 changed files with 2 additions and 52 deletions
@@ -547,17 +547,6 @@ public class BeanProperty implements ElPropertyValue {
}
}
/**
* Convert the type to the bean type if required.
* <p>
* Generally only used to ensure id properties are converted for
* Query.setId() use.
* </p>
*/
public Object toBeanType(Object value) {
return scalarType.toBeanType(value);
}
@SuppressWarnings("unchecked")
public void bind(DataBind b, Object value) throws SQLException {
scalarType.bind(b, value);
@@ -63,8 +63,6 @@ public abstract class BeanPropertyAssoc<T> extends BeanProperty {
boolean saveRecurseSkippable;
boolean deleteRecurseSkippable;
/**
* Construct the property.
*/
@@ -91,9 +89,7 @@ public abstract class BeanPropertyAssoc<T> extends BeanProperty {
targetDescriptor = descriptor.getBeanDescriptor(targetType);
targetIdBinder = targetDescriptor.getIdBinder();
targetInheritInfo = targetDescriptor.getInheritInfo();
saveRecurseSkippable = targetDescriptor.isSaveRecurseSkippable();
deleteRecurseSkippable = targetDescriptor.isDeleteRecurseSkippable();
if (!targetIdBinder.isComplexId()){
targetIdProperty = targetIdBinder.getIdProperty();
@@ -240,17 +236,6 @@ public abstract class BeanPropertyAssoc<T> extends BeanProperty {
return tableJoin;
}
/**
* Return the BeanTable for this association.
* <p>
* This has the table name which is used to determine the relationship for
* this association.
* </p>
*/
public BeanTable getBeanTable() {
return beanTable;
}
/**
* Get the persist info.
*/
@@ -409,20 +409,6 @@ public class BeanPropertyAssocMany<T> extends BeanPropertyAssoc<T> {
help.add(collection, bean);
}
/**
* Refresh the appropriate list set or map.
*/
public void refresh(EbeanServer server, Query<?> query, Transaction t, EntityBean parentBean) {
help.refresh(server, query, t, parentBean);
}
/**
* Apply the refreshed BeanCollection to the property of the parentBean.
*/
public void refresh(BeanCollection<?> bc, EntityBean parentBean) {
help.refresh(bc, parentBean);
}
/**
* Return the Id values from the given bean.
*/
@@ -16,21 +16,11 @@ public class ChainedBeanQueryAdapter implements BeanQueryAdapter {
private static final Sorter SORTER = new Sorter();
private final List<BeanQueryAdapter> list;
private final BeanQueryAdapter[] chain;
/**
* Helper method used to create a list from 2 BeanQueryAdapter.
*/
private static List<BeanQueryAdapter> addList(BeanQueryAdapter c1, BeanQueryAdapter c2) {
ArrayList<BeanQueryAdapter> addList = new ArrayList<BeanQueryAdapter>(2);
addList.add(c1);
addList.add(c2);
return addList;
}
/**
* Construct given the list of BeanQueryAdapter's.
* @param list
*/
public ChainedBeanQueryAdapter(List<BeanQueryAdapter> list) {
this.list = list;