src/main/java/org/criteria4jpa/criterion/Restrictions.java
public static Criterion notMemberOf(String relativePath, Object value) {
    return new MemberOfExpression(relativePath, value, true);
  }
public static Criterion notMemberOf(String relativePath, Object value) {
    return new MemberOfExpression(relativePath, value, true);
  }
public static Criterion notMemberOf ( String relativePath , Object value ) { return new MemberOfExpression ( relativePath , value , true ) ; }
Creates a "not member of" restriction.

@param relativePath relative path of a collection
@param value The value to check membership for
@return new {@link Criterion} instance
Creates a not member of restriction .