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

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

public class ColumnStrategyFactory
extends java.lang.Object

A factory that maps tuple types to column strategies to convert them from strings to the corresponding objects.

Author:
The OGSA-DAI Project Team

Method Summary
static ColumnStrategy getColumnStrategy(ColumnMetadata metadata)
          Maps a column type to the corresponding column strategy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getColumnStrategy

public static ColumnStrategy getColumnStrategy(ColumnMetadata metadata)
Maps a column type to the corresponding column strategy.

Parameters:
metadata - column metadata
Returns:
a column strategy that converts the a string into an object of the column type