/** * Checks if the restrictions contain any non-primary key restrictions * @return <code>true</code> if the restrictions contain any non-primary key restrictions, <code>false</code> otherwise. */ public boolean hasNonPrimaryKeyRestrictions() { return !nonPrimaryKeyRestrictions.isEmpty(); }
/** * Checks if the restrictions contain any non-primary key restrictions * @return <code>true</code> if the restrictions contain any non-primary key restrictions, <code>false</code> otherwise. */ public boolean hasNonPrimaryKeyRestrictions() { return !nonPrimaryKeyRestrictions.isEmpty(); }
/** * Checks if the restrictions contain any non-primary key restrictions * @return <code>true</code> if the restrictions contain any non-primary key restrictions, <code>false</code> otherwise. */ public boolean hasNonPrimaryKeyRestrictions() { return !nonPrimaryKeyRestrictions.isEmpty(); }
public boolean isEmpty() { return restrictions.isEmpty(); }
public boolean isEmpty() { return restrictions.isEmpty(); }
public boolean isEmpty() { return restrictions.isEmpty(); }
@Override public ColumnDefinition getLastColumn() { return isEmpty() ? null : this.restrictions.lastKey(); }
@Override public ColumnDefinition getLastColumn() { return isEmpty() ? null : this.restrictions.lastKey(); }
@Override public ColumnDefinition getFirstColumn() { return isEmpty() ? null : this.restrictions.firstKey(); }
@Override public ColumnDefinition getLastColumn() { return isEmpty() ? null : this.restrictions.lastKey(); }
@Override public ColumnDefinition getFirstColumn() { return isEmpty() ? null : this.restrictions.firstKey(); }
@Override public ColumnDefinition getFirstColumn() { return isEmpty() ? null : this.restrictions.firstKey(); }
/** * Returns the last restriction. * * @return the last restriction. */ SingleRestriction lastRestriction() { return isEmpty() ? null : this.restrictions.lastEntry().getValue(); }
/** * Returns the last restriction. * * @return the last restriction. */ SingleRestriction lastRestriction() { return isEmpty() ? null : this.restrictions.lastEntry().getValue(); }
/** * Returns the last restriction. * * @return the last restriction. */ SingleRestriction lastRestriction() { return isEmpty() ? null : this.restrictions.lastEntry().getValue(); }
if (!nonPrimaryKeyRestrictions.isEmpty())
if (!nonPrimaryKeyRestrictions.isEmpty())
if (!nonPrimaryKeyRestrictions.isEmpty())