org.objectweb.telosys.dal.sql
Class Cast

java.lang.Object
  extended byorg.objectweb.telosys.dal.sql.Cast

public class Cast
extends java.lang.Object

Utility class


Constructor Summary
Cast()
           
 
Method Summary
static java.lang.Object toObject(java.lang.String s, int iType)
          Transforms the given string value to its corresponding value in the expected type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cast

public Cast()
Method Detail

toObject

public static java.lang.Object toObject(java.lang.String s,
                                        int iType)
                                 throws TelosysException
Transforms the given string value to its corresponding value in the expected type

Parameters:
s -
iType - ParamType.X constants
Returns:
Throws:
TelosysException