diff src/main/java/de/intevation/lada/model/query/QueryFilter.java @ 366:567ce7697fc7 0.5

Code documentation.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 10 Sep 2013 15:55:54 +0200
parents 71284b42ba39
children 5c4010659967
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/model/query/QueryFilter.java	Tue Sep 10 10:17:32 2013 +0200
+++ b/src/main/java/de/intevation/lada/model/query/QueryFilter.java	Tue Sep 10 15:55:54 2013 +0200
@@ -1,41 +1,74 @@
 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;
 
+    /**
+     * 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;
     }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)