public static class Query.IsNotNull extends PropertyNameCriterion
Restricts a property to be not null
IsNotNull (java.lang.String name)
Groovy Documentation