Package org.opennms.netmgt.dao.mock
Class BeanWrapperCriteriaVisitor
- java.lang.Object
-
- org.opennms.netmgt.dao.mock.BeanWrapperCriteriaVisitor
-
- All Implemented Interfaces:
Criteria.CriteriaVisitor
public class BeanWrapperCriteriaVisitor extends Object implements Criteria.CriteriaVisitor
-
-
Constructor Summary
Constructors Constructor Description BeanWrapperCriteriaVisitor(Object... obj)
BeanWrapperCriteriaVisitor(List<?> obj)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<?>
getMatches()
void
reset()
void
visitAlias(Alias alias)
void
visitAliasesFinished()
void
visitClassAndRootAlias(Class<?> clazz, String rootAlias)
void
visitDistinct(boolean distinct)
void
visitFetch(Fetch fetch)
void
visitFetchesFinished()
void
visitLimit(Integer limit)
void
visitLockType(Criteria.LockType lock)
void
visitOffset(Integer offset)
void
visitOrder(Order order)
void
visitOrdersFinished()
void
visitRestriction(Restriction restriction)
void
visitRestrictionsFinished()
-
-
-
Method Detail
-
reset
public void reset()
-
visitClassAndRootAlias
public void visitClassAndRootAlias(Class<?> clazz, String rootAlias)
- Specified by:
visitClassAndRootAlias
in interfaceCriteria.CriteriaVisitor
-
visitOrder
public void visitOrder(Order order)
- Specified by:
visitOrder
in interfaceCriteria.CriteriaVisitor
-
visitOrdersFinished
public void visitOrdersFinished()
- Specified by:
visitOrdersFinished
in interfaceCriteria.CriteriaVisitor
-
visitAlias
public void visitAlias(Alias alias)
- Specified by:
visitAlias
in interfaceCriteria.CriteriaVisitor
-
visitAliasesFinished
public void visitAliasesFinished()
- Specified by:
visitAliasesFinished
in interfaceCriteria.CriteriaVisitor
-
visitLockType
public void visitLockType(Criteria.LockType lock)
- Specified by:
visitLockType
in interfaceCriteria.CriteriaVisitor
-
visitFetch
public void visitFetch(Fetch fetch)
- Specified by:
visitFetch
in interfaceCriteria.CriteriaVisitor
-
visitFetchesFinished
public void visitFetchesFinished()
- Specified by:
visitFetchesFinished
in interfaceCriteria.CriteriaVisitor
-
visitRestriction
public void visitRestriction(Restriction restriction)
- Specified by:
visitRestriction
in interfaceCriteria.CriteriaVisitor
-
visitRestrictionsFinished
public void visitRestrictionsFinished()
- Specified by:
visitRestrictionsFinished
in interfaceCriteria.CriteriaVisitor
-
visitDistinct
public void visitDistinct(boolean distinct)
- Specified by:
visitDistinct
in interfaceCriteria.CriteriaVisitor
-
visitLimit
public void visitLimit(Integer limit)
- Specified by:
visitLimit
in interfaceCriteria.CriteriaVisitor
-
visitOffset
public void visitOffset(Integer offset)
- Specified by:
visitOffset
in interfaceCriteria.CriteriaVisitor
-
getMatches
public Collection<?> getMatches()
-
-