T - Result typeE - Entity typepublic abstract class AbstractJpaVisitor<T,E> extends Object implements cz.jirutka.rsql.parser.ast.RSQLVisitor<T,javax.persistence.EntityManager>
| Modifier and Type | Field and Description |
|---|---|
protected BuilderTools |
builderTools |
protected Class<E> |
entityClass |
| Constructor and Description |
|---|
AbstractJpaVisitor(E... e)
Construtor with template varargs for entityClass discovery.
|
| Modifier and Type | Method and Description |
|---|---|
BuilderTools |
getBuilderTools()
Get builder tools.
|
void |
setBuilderTools(BuilderTools delegate)
Set a predicate strategy.
|
void |
setEntityClass(Class<E> clazz)
Set the entity class explicitly, needed when the entity type is itself a generic
|
protected BuilderTools builderTools
public AbstractJpaVisitor(E... e)
e - not for usagepublic void setEntityClass(Class<E> clazz)
clazz - Class to set.public BuilderTools getBuilderTools()
public void setBuilderTools(BuilderTools delegate)
delegate - PredicateBuilderStrategy.Copyright © 2015–2017. All rights reserved.