org.hibernate.search.engine.spi
Class DepthValidator
java.lang.Object
org.hibernate.search.engine.spi.DepthValidator
public class DepthValidator
- extends Object
Used to check the constraints of depth when using IndexedEmbedded
or ContainedIn
annotations.
- Author:
- Davide D'Alto
DepthValidator
public DepthValidator(int maxDepth)
getDepth
public int getDepth()
increaseDepth
public void increaseDepth()
isMaxDepthReached
public boolean isMaxDepthReached()
isMaxDepthInfinite
public boolean isMaxDepthInfinite()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2006-2012 Red Hat Middleware, LLC. All Rights Reserved