Mercurial > lada > lada-server
view src/main/java/de/intevation/lada/model/query/QueryFilter.java @ 409:183f8116d9a6
Added license header to source files.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Mon, 20 Jan 2014 12:27:00 +0100 |
parents | 5c4010659967 |
children |
line wrap: on
line source
/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz * Software engineering by Intevation GmbH * * This file is Free Software under the GNU GPL (v>=3) * and comes with ABSOLUTELY NO WARRANTY! Check out * the documentation coming with IMIS-Labordaten-Application for details. */ package de.intevation.lada.model.query; /** * Container for data filter. * Stores filter defined in the SQL query configuration. * * @author <a href="mailto:rrenkert@intevation.de">Raimund Renkert</a> */ public class QueryFilter { private String dataIndex; private String type; private String label; private boolean multiSelect; /** * Default constructor. */ public QueryFilter() { } /** * Constructor to create a filled filter. * * @param dataIndex The dataIndex. * @param type The filter type. * @param label The label. */ public QueryFilter(String dataIndex, String type, String label) { this.dataIndex = dataIndex; this.type = type; this.label = label; } /** * @return The dataIndex */ public String getDataIndex() { return dataIndex; } /** * @param dataIndex THe dataIndex to set. */ public void setDataIndex(String dataIndex) { this.dataIndex = dataIndex; } /** * @return The filter type. */ public String getType() { return type; } /** * @param type The filter type to set. */ public void setType(String type) { this.type = type; } /** * @return The label. */ public String getLabel() { return label; } /** * @param label The label to set. */ public void setLabel(String label) { this.label = label; } /** * @return the multiSelect */ public boolean isMultiSelect() { return multiSelect; } /** * @param multiSelect the multiSelect to set */ public void setMultiSelect(boolean multiSelect) { this.multiSelect = multiSelect; } }