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