Mercurial > dive4elements > gnv-client
comparison geo-backend/src/main/java/de/intevation/gnv/geobackend/base/ResultDescriptor.java @ 132:5a583cff97ea
Implementation of the Datainfrastructure for fetching Data from different DataStores.
geo-backend/trunk@12 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Fri, 04 Sep 2009 08:11:30 +0000 |
parents | |
children | b02310d7ffee |
comparison
equal
deleted
inserted
replaced
131:d8ff739b9f3b | 132:5a583cff97ea |
---|---|
1 /** | |
2 * | |
3 */ | |
4 package de.intevation.gnv.geobackend.base; | |
5 /** | |
6 * Interface which provides the Methods for Accessing | |
7 * the MetaData of an ResultEntry | |
8 * @author Tim Englich <tim.englich@intevation.de> | |
9 */ | |
10 public interface ResultDescriptor { | |
11 | |
12 /** | |
13 * Returns the Classname of the Column | |
14 * @param column the id of the Column which is requested | |
15 * @return the Classname of the Column | |
16 */ | |
17 public String getColumnClassName(int column); | |
18 | |
19 /** | |
20 * Returns the Number of Columns | |
21 * @return the Number of Columns | |
22 */ | |
23 public int getColumnCount(); | |
24 | |
25 /** | |
26 * Returns the Name of the Column which belongs to the given Columnindex | |
27 * @param column the Index of the Column | |
28 * @return the Name of the Column | |
29 */ | |
30 public String getColumnName(int column); | |
31 | |
32 /** | |
33 * Adds a new ColumnDescription into the Descriptor | |
34 * @param name the Name of the Column (unique) | |
35 * @param className the Name of the Class (e.g. Double, Integer | |
36 */ | |
37 public void addColumn(String name, String className); | |
38 } |