public Search addField(Field field) { SearchUtil.addField(this, field); return this; }
/** * If this field is used with <code>resultMode == RESULT_MAP</code>, the * <code>property</code> will also be used as the key for this value in the * map. */ public Search addField(String property) { SearchUtil.addField(this, property); return this; }
/** * If this field is used with <code>resultMode == RESULT_MAP</code>, the * <code>property</code> will also be used as the key for this value in the * map. */ public Search addField(String property, int operator) { SearchUtil.addField(this, property, operator); return this; }
/** * If this field is used with <code>resultMode == RESULT_MAP</code>, the * <code>key</code> will be used as the key for this value in the map. */ public Search addField(String property, int operator, String key) { SearchUtil.addField(this, property, operator, key); return this; }
/** * If this field is used with <code>resultMode == RESULT_MAP</code>, the * <code>key</code> will be used as the key for this value in the map. */ public Search addField(String property, String key) { SearchUtil.addField(this, property, key); return this; }
public static void addFields(IMutableSearch search, Field... fields) { if (fields != null) { for (Field field : fields) { addField(search, field); } } }
/** * If this field is used with <code>resultMode == RESULT_MAP</code>, the * <code>property</code> will also be used as the key for this value in the * map. */ public static void addField(IMutableSearch search, String property, int operator) { if (property == null) return; // null properties do nothing, don't bother to add them. addField(search, new Field(property, operator)); }
/** * If this field is used with <code>resultMode == RESULT_MAP</code>, the * <code>property</code> will also be used as the key for this value in the * map. */ public static void addField(IMutableSearch search, String property) { if (property == null) return; // null properties do nothing, don't bother to add them. addField(search, new Field(property)); }
/** * If this field is used with <code>resultMode == RESULT_MAP</code>, the * <code>key</code> will be used as the key for this value in the map. */ public static void addField(IMutableSearch search, String property, int operator, String key) { if (property == null || key == null) return; // null properties do nothing, don't bother to add them. addField(search, new Field(property, operator, key)); }
/** * If this field is used with <code>resultMode == RESULT_MAP</code>, the * <code>key</code> will be used as the key for this value in the map. */ public static void addField(IMutableSearch search, String property, String key) { if (property == null || key == null) return; // null properties do nothing, don't bother to add them. addField(search, new Field(property, key)); }