public TaxFilter add(TaxFilterItem filter) { if (filter != null) { items.Add(filter); } return(this); }
// ukloni jednu filter-definiciju (ako se sadrzi u skupu) public void remove(TaxFilterItem filterItem) { if (filterItem == null) { return; } for (int i = 0; i < items.Count; i++) { if (filterItem.Equals(items[i])) { items.RemoveAt(i); return; } } }
public TaxFilterItem(TaxFilterItem other) : this(other.Name, other.Relation, other.Value) { }
// --------------------------------------------------------------------------------- // Metode za postavljanje novog filtera // --------------------------------------------------------------------------------- public void Set(TaxFilterItem filter) { Clear(); add(filter); }