public static class OnmsCriteria.OnmsDetachedCriteria
This is a subclass of Hibernate's DetachedCriteria, providing a few
more of the Criteria methods than are available in DetachedCriteria.
We create our own CriteriaImpl and pass it to the constructor for our
superclass, keeping a reference to the CriteriaImpl for ourselves so
we can use it for feature that DetachedCriteria doesn't support.