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