comparison geo-backend/src/main/java/de/intevation/gnv/geobackend/base/Result.java @ 271:8aad9d098b08

Integrated Patch of issue57 to get some Memoryusage-improvements geo-backend/trunk@248 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Tue, 20 Oct 2009 09:57:52 +0000
parents b02310d7ffee
children 12f88239fb33
comparison
equal deleted inserted replaced
270:1fe93e3c80c0 271:8aad9d098b08
26 * Returns the Columnvalue as a String 26 * Returns the Columnvalue as a String
27 * @param columnName the Name of the column 27 * @param columnName the Name of the column
28 * @return the Columnvalue as a String 28 * @return the Columnvalue as a String
29 */ 29 */
30 public String getString(String columnName); 30 public String getString(String columnName);
31
32
33 public String getString(int column);
31 34
32 /** 35 /**
33 * Returns the Columnvalue as a Date 36 * Returns the Columnvalue as a Date
34 * @param columnName the Name of the column 37 * @param columnName the Name of the column
35 * @return the Columnvalue as a Date 38 * @return the Columnvalue as a Date
36 */ 39 */
37 public Date getDate(String columnName); 40 public Date getDate(String columnName);
41
42 public Date getDate(int column);
38 43
39 /** 44 /**
40 * Returns the Columnvalue as a Integer 45 * Returns the Columnvalue as a Integer
41 * @param columnName the Name of the column 46 * @param columnName the Name of the column
42 * @return the Columnvalue as a Integer 47 * @return the Columnvalue as a Integer
43 */ 48 */
44 public Integer getInteger(String columnName); 49 public Integer getInteger(String columnName);
45 50
51 public Integer getInteger(int column);
52
46 /** 53 /**
47 * Returns the Columnvalue as a Float 54 * Returns the Columnvalue as a Float
48 * @param columnName the Name of the column 55 * @param columnName the Name of the column
49 * @return the Columnvalue as a Float 56 * @return the Columnvalue as a Float
50 */ 57 */
51 public Float getFloat(String columnName); 58 public Float getFloat(String columnName);
59
60 public Float getFloat(int column);
52 61
53 /** 62 /**
54 * Returns the Columnvalue as a Double 63 * Returns the Columnvalue as a Double
55 * @param columnName the Name of the column 64 * @param columnName the Name of the column
56 * @return the Columnvalue as a Double 65 * @return the Columnvalue as a Double
57 */ 66 */
58 public Double getDouble(String columnName); 67 public Double getDouble(String columnName);
68
69 public Double getDouble(int column);
59 70
60 /** 71 /**
61 * Returns the Columnvalue as a Object 72 * Returns the Columnvalue as a Object
62 * @param columnName the Name of the column 73 * @param columnName the Name of the column
63 * @return the Columnvalue as a Object 74 * @return the Columnvalue as a Object
64 */ 75 */
65 public Object getObject(String columnName); 76 public Object getObject(String columnName);
77
78 public Object getObject(int column);
66 79
67 /** 80 /**
68 * Adds an new Coumnvalue to the Result. 81 * Adds an new Coumnvalue to the Result.
69 * @param columnName the Name of the Column 82 * @param columnName the Name of the Column
70 * @param value the Value of the Column 83 * @param value the Value of the Column
71 */ 84 */
72 public void addColumnValue(String columnName, Object value); 85 public void addColumnValue(int column, Object value);
73 } 86 }

http://dive4elements.wald.intevation.org