public void setRestriction(Restriction restriction) { this.restriction = (restriction != null && !Restrictions.none().equals(restriction)) ? restriction : null; }
public void setRestriction(Restriction restriction) { this.restriction = (restriction != null && !Restrictions.none().equals(restriction)) ? restriction : null; }