uk.org.ogsadai.converters.webrowset.tuple
Class StringColumnsToTuple

java.lang.Object
  extended by uk.org.ogsadai.converters.webrowset.tuple.StringColumnsToTuple

public class StringColumnsToTuple
extends java.lang.Object

Converts a row with string column values into a tuple. The conversion of string values into the required types is done when the get method is called (which may result in a runtime error).

Author:
The OGSA-DAI Project Team

Constructor Summary
StringColumnsToTuple(TupleMetadata metadata)
          Constructs a new tuple with the given elements which are all Strings.
 
Method Summary
 Tuple convertColumns(java.util.Vector row)
          Converts a row of string values into an OGSA-DAI tuple.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringColumnsToTuple

public StringColumnsToTuple(TupleMetadata metadata)
Constructs a new tuple with the given elements which are all Strings.

Parameters:
metadata - tuple metadata
Method Detail

convertColumns

public Tuple convertColumns(java.util.Vector row)
Converts a row of string values into an OGSA-DAI tuple.

Parameters:
row - the row to convert
Returns:
a tuple