[#2696] Provide default implementation for CustomQueryPart.bind() (for
all Custom QueryParts)
This commit is contained in:
parent
36d017a1b4
commit
7e49dc6c26
@ -80,17 +80,18 @@ public abstract class CustomCondition extends AbstractCondition {
|
||||
@Override
|
||||
public abstract void toSQL(RenderContext context);
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Implementation optional
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Subclasses must implement this method
|
||||
* Subclasses may implement this method
|
||||
* <hr/>
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public abstract void bind(BindContext context) throws DataAccessException;
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Implementation optional
|
||||
// -------------------------------------------------------------------------
|
||||
public void bind(BindContext context) throws DataAccessException {
|
||||
}
|
||||
|
||||
/**
|
||||
* Subclasses may implement this method
|
||||
|
||||
@ -81,17 +81,18 @@ public abstract class CustomField<T> extends AbstractField<T> {
|
||||
@Override
|
||||
public abstract void toSQL(RenderContext context);
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Implementation optional
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Subclasses must implement this method
|
||||
* Subclasses may implement this method
|
||||
* <hr/>
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public abstract void bind(BindContext context) throws DataAccessException;
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Implementation optional
|
||||
// -------------------------------------------------------------------------
|
||||
public void bind(BindContext context) throws DataAccessException {
|
||||
}
|
||||
|
||||
/**
|
||||
* Subclasses may implement this method
|
||||
|
||||
@ -91,17 +91,18 @@ public abstract class CustomQueryPart extends AbstractQueryPart {
|
||||
@Override
|
||||
public abstract void toSQL(RenderContext context);
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Implementation optional
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Subclasses must implement this method
|
||||
* Subclasses may implement this method
|
||||
* <hr/>
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public abstract void bind(BindContext context) throws DataAccessException;
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Implementation optional
|
||||
// -------------------------------------------------------------------------
|
||||
public void bind(BindContext context) throws DataAccessException {
|
||||
}
|
||||
|
||||
/**
|
||||
* Subclasses may implement this method
|
||||
|
||||
Loading…
Reference in New Issue
Block a user