/** * Checks if any of the underlying restriction is an IN. * @return <code>true</code> if any of the underlying restriction is an IN, <code>false</code> otherwise */ public final boolean hasIN() { for (SingleRestriction restriction : this) { if (restriction.isIN()) return true; } return false; }
/** * Checks if any of the underlying restriction is an IN. * @return <code>true</code> if any of the underlying restriction is an IN, <code>false</code> otherwise */ public final boolean hasIN() { for (SingleRestriction restriction : this) { if (restriction.isIN()) return true; } return false; }
/** * Checks if any of the underlying restriction is an IN. * @return <code>true</code> if any of the underlying restriction is an IN, <code>false</code> otherwise */ public final boolean hasIN() { for (SingleRestriction restriction : this) { if (restriction.isIN()) return true; } return false; }
/** * Checks if all of the underlying restrictions are EQ or IN restrictions. * * @return <code>true</code> if all of the underlying restrictions are EQ or IN restrictions, * <code>false</code> otherwise */ public final boolean hasOnlyEqualityRestrictions() { for (SingleRestriction restriction : this) { if (!restriction.isEQ() && !restriction.isIN()) return false; } return true; }
/** * Checks if all of the underlying restrictions are EQ or IN restrictions. * * @return <code>true</code> if all of the underlying restrictions are EQ or IN restrictions, * <code>false</code> otherwise */ public final boolean hasOnlyEqualityRestrictions() { for (SingleRestriction restriction : this) { if (!restriction.isEQ() && !restriction.isIN()) return false; } return true; }
/** * Checks if all of the underlying restrictions are EQ or IN restrictions. * * @return <code>true</code> if all of the underlying restrictions are EQ or IN restrictions, * <code>false</code> otherwise */ public final boolean hasOnlyEqualityRestrictions() { for (SingleRestriction restriction : this) { if (!restriction.isEQ() && !restriction.isIN()) return false; } return true; }