uk.org.ogsadai.converters.webrowset.resultset.types
Class FloatStrategy

java.lang.Object
  extended byuk.org.ogsadai.converters.webrowset.resultset.types.TypeStrategy
      extended byuk.org.ogsadai.converters.webrowset.resultset.types.NumberStrategy
          extended byuk.org.ogsadai.converters.webrowset.resultset.types.FloatStrategy

public class FloatStrategy
extends NumberStrategy

Converts an element of column type float.

Author:
The OGSA-DAI Team.

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
           
 
Constructor Summary
FloatStrategy()
           
 
Method Summary
 java.lang.Object getObject(java.lang.String value)
          Returns the input string as an object.
 
Methods inherited from class uk.org.ogsadai.converters.webrowset.resultset.types.NumberStrategy
getBigDecimal, getBigInteger, getBoolean, getByte, getDouble, getFloat, getInt, getLong, getShort, getString
 
Methods inherited from class uk.org.ogsadai.converters.webrowset.resultset.types.TypeStrategy
getArray, getAsciiStream, getBigDecimal, getBinaryStream, getBlob, getBytes, getCharacterStream, getClob, getDate, getDate, getRef, getTime, getTime, getTimestamp, getTimestamp, getUnicodeStream, getURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT_NOTICE

private static final java.lang.String COPYRIGHT_NOTICE
See Also:
Constant Field Values
Constructor Detail

FloatStrategy

public FloatStrategy()
Method Detail

getObject

public java.lang.Object getObject(java.lang.String value)
                           throws java.sql.SQLException
Description copied from class: TypeStrategy
Returns the input string as an object.

Overrides:
getObject in class TypeStrategy
Parameters:
value - Input data.
Returns:
converted input.
Throws:
java.sql.SQLException - if there was a problem with the conversion.