Project:dool
Class List Class Hierarchy
Summary: Ctors Methods

Module dool.util.MetaTupleIF

Interface MetaTupleIF

Extend interfaces:

interface MetaTupleIF

This was created to support SQL DB queries hence the reference to ResultSet - todo review

Methods Summary
MetaTupleIF addColumn(String name, SQLType type, int size, int subSize)
          
int columnCount()
          Gets the number of columns of this meta tuple
SQLType getTypes()
          Gets all the types for this MetaTuple
String getNames()
          Gets the column names as a String array
int getColumn(char column)
          gets the column index by the name
int getColumn(String column)
          
SQLType getType(int column)
          get the type of a specific column
TupleIF getTuple()
          Gets a new Tuple from this MetaTuple
void setSeparator(char separator)
          Sets the separator for simple output or print
void setSeparator(String separator)
          Sets the separator for simple output or print
String getSeparator()
          gets the current separator for output or print
char toString()
          Force implementors to create a toString method


MetaTupleIF addColumn(String name, SQLType type, int size, int subSize)

int columnCount()
/** * Gets the number of columns of this meta tuple */
SQLType [] getTypes()
/** * Gets all the types for this MetaTuple */
String [] getNames()
/** * Gets the column names as a String array */
int getColumn(char[] column)
/** * gets the column index by the name */
int getColumn(String column)

SQLType getType(int column)
/** * get the type of a specific column */
TupleIF getTuple()
/** * Gets a new Tuple from this MetaTuple */
void setSeparator(char[] separator)
/** * Sets the separator for simple output or print */
void setSeparator(String separator)
/** * Sets the separator for simple output or print */
String getSeparator()
/** * gets the current separator for output or print */
char [] toString()
/** * Force implementors to create a toString method */