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

Code documentation.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 10 Sep 2013 15:55:54 +0200
parents b196ef9d8645
children 183f8116d9a6
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/model/query/ResultConfig.java	Tue Sep 10 10:17:32 2013 +0200
+++ b/src/main/java/de/intevation/lada/model/query/ResultConfig.java	Tue Sep 10 15:55:54 2013 +0200
@@ -1,6 +1,11 @@
 package de.intevation.lada.model.query;
 
-
+/**
+ * Container for result configurations.
+ * Provides config for the client like column header, column with and data index.
+ *
+ * @author <a href="mailto:rrenkert@intevation.de">Raimund Renkert</a>
+ */
 public class ResultConfig
 {
     String dataIndex;
@@ -8,9 +13,18 @@
     Integer flex;
     Integer width;
 
+    /**
+     * Default constructor.
+     */
     public ResultConfig() {
     }
 
+    /**
+     * @param dataIndex The dataIndex
+     * @param header    The column header
+     * @param flex      Flexible with
+     * @param width     Width in px.
+     */
     public ResultConfig(String dataIndex, String header, Integer flex, Integer width) {
         this.dataIndex= dataIndex;
         this.header= header;
@@ -18,6 +32,11 @@
         this.width = width;
     }
 
+    /**
+     * @param dataIndex The dataIndex
+     * @param header    The column header
+     * @param flex      Flexible with
+     */
     public ResultConfig(String dataIndex, String header, Integer flex) {
         this.dataIndex= dataIndex;
         this.header= header;
@@ -25,6 +44,10 @@
         this.width = null;
     }
 
+    /**
+     * @param dataIndex The dataIndex
+     * @param header    The column header
+     */
     public ResultConfig(String dataIndex, String header) {
         this.dataIndex= dataIndex;
         this.header= header;
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)