tim@132: /** tim@132: * tim@132: */ tim@132: package de.intevation.gnv.geobackend.base; tim@141: tim@141: import java.io.Serializable; tim@141: tim@132: /** tim@132: * Interface which provides the Methods for Accessing tim@132: * the MetaData of an ResultEntry tim@132: * @author Tim Englich tim@132: */ tim@141: public interface ResultDescriptor extends Serializable{ tim@132: tim@132: /** tim@132: * Returns the Classname of the Column tim@132: * @param column the id of the Column which is requested tim@132: * @return the Classname of the Column tim@132: */ tim@132: public String getColumnClassName(int column); tim@132: tim@132: /** tim@132: * Returns the Number of Columns tim@132: * @return the Number of Columns tim@132: */ tim@132: public int getColumnCount(); tim@132: tim@132: /** tim@132: * Returns the Name of the Column which belongs to the given Columnindex tim@132: * @param column the Index of the Column tim@132: * @return the Name of the Column tim@132: */ tim@132: public String getColumnName(int column); tim@132: tim@132: /** tim@132: * Adds a new ColumnDescription into the Descriptor tim@132: * @param name the Name of the Column (unique) tim@132: * @param className the Name of the Class (e.g. Double, Integer tim@132: */ tim@132: public void addColumn(String name, String className); tim@132: }