rs.sol.soloist.server.builtindomains.builtindatatypes
Class Time.AsTime

java.lang.Object
  extended by rs.sol.soloist.server.javaimpl.db.mapping.handlers.AbstractDataTypeHandler<Time>
      extended by rs.sol.soloist.server.builtindomains.builtindatatypes.Time.AsTime
All Implemented Interfaces:
rs.sol.soloist.server.javaimpl.db.mapping.IDataTypeHandler<Time>
Enclosing class:
Time

public static class Time.AsTime
extends rs.sol.soloist.server.javaimpl.db.mapping.handlers.AbstractDataTypeHandler<Time>

Time stored as SQL TIME

Author:
marko.ninkovic

Constructor Summary
Time.AsTime()
           
 
Method Summary
 rs.sol.soloist.server.javaimpl.db.model.Column.Type getColumnType()
           
 Time readValue(IDataType type, java.sql.ResultSet sqlResultSet, int columnIndex)
           
 java.lang.String toSQLString(Time value)
           
 void writeValue(java.sql.PreparedStatement sqlPStmt, int parameterIndex, Time value)
           
 
Methods inherited from class rs.sol.soloist.server.javaimpl.db.mapping.handlers.AbstractDataTypeHandler
getSQLType, getSQLType, getSQLType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Time.AsTime

public Time.AsTime()
Method Detail

getColumnType

public rs.sol.soloist.server.javaimpl.db.model.Column.Type getColumnType()

readValue

public Time readValue(IDataType type,
                      java.sql.ResultSet sqlResultSet,
                      int columnIndex)
               throws java.sql.SQLException
Throws:
java.sql.SQLException

toSQLString

public java.lang.String toSQLString(Time value)

writeValue

public void writeValue(java.sql.PreparedStatement sqlPStmt,
                       int parameterIndex,
                       Time value)
                throws java.sql.SQLException
Throws:
java.sql.SQLException