No effective change - Code cleanup,remove unnecessary public modifier on interfaces

This commit is contained in:
Robin Bygrave committed 2015-07-31 13:11:08 +12:00
1 parent ede91ecf78
commit f78c217d83
8 files changed
+70 -71

No files matched your search

@@ -10,11 +10,11 @@ public interface ElComparator<T> extends Comparator<T> {
/**
* Compare given 2 beans.
*/
public int compare(T o1, T o2);
int compare(T o1, T o2);
/**
* Compare with a fixed value to a given bean.
*/
public int compareValue(Object value, T o2);
int compareValue(Object value, T o2);
}
@@ -8,5 +8,5 @@ public interface ElMatcher<T> {
/**
* Return true if the bean matches the expression.
*/
public boolean isMatch(T bean);
boolean isMatch(T bean);
}
@@ -5,69 +5,68 @@ import com.avaje.ebeaninternal.server.deploy.BeanProperty;
/**
* Used to parse expressions in queries (where, orderBy etc).
* <p>
* Maps an expression to deployment information such as
* Maps an expression to deployment information such as
* the DB column and elPrefix/elPlaceHolder is used determine
* joins and set place holders for table alias'.
* </p>
*/
public interface ElPropertyDeploy {
/**
* This is the elPrefix for all root level properties.
*/
public static final String ROOT_ELPREFIX = "${}";
/**
* This is the elPrefix for all root level properties.
*/
String ROOT_ELPREFIX = "${}";
/**
* Return true if the property is a formula with a join clause.
*/
public boolean containsFormulaWithJoin();
/**
* Return true if the property is a formula with a join clause.
*/
boolean containsFormulaWithJoin();
/**
* Return true if there is a property on the path that is a many property.
*/
public boolean containsMany();
/**
* Return true if there is a property on the path that is a many property.
*/
boolean containsMany();
/**
* Return true if there is a property is on the path after sinceProperty
* that is a 'many' property.
*/
public boolean containsManySince(String sinceProperty);
/**
* Return true if there is a property is on the path after sinceProperty
* that is a 'many' property.
*/
boolean containsManySince(String sinceProperty);
/**
* Return the prefix path of the property.
* <p>
* This is use to determine joins required to support
* this property.
* </p>
*/
public String getElPrefix();
/**
* Return the prefix path of the property.
* <p>
* This is use to determine joins required to support
* this property.
* </p>
*/
String getElPrefix();
/**
* Return the place holder in the form of ${elPrefix}dbColumn.
* <p>
* The ${elPrefix} is replaced by the appropriate table alias.
* </p>
*/
public String getElPlaceholder(boolean encrypted);
/**
* Return the name of the property.
*/
public String getName();
/**
* Return the place holder in the form of ${elPrefix}dbColumn.
* <p>
* The ${elPrefix} is replaced by the appropriate table alias.
* </p>
*/
String getElPlaceholder(boolean encrypted);
/**
* The ElPrefix plus name.
*/
public String getElName();
/**
* Return the name of the property.
*/
String getName();
/**
* Return the deployment db column for this property.
*/
public String getDbColumn();
/**
* The ElPrefix plus name.
*/
String getElName();
/**
* Return the underlying bean property.
*/
public BeanProperty getBeanProperty();
/**
* Return the deployment db column for this property.
*/
String getDbColumn();
/**
* Return the underlying bean property.
*/
BeanProperty getBeanProperty();
}