org.melati.poem.dbms
Class SQLServer.SQLServerBooleanPoemType

Package class diagram package SQLServer.SQLServerBooleanPoemType
java.lang.Object
  extended by org.melati.poem.BasePoemType<T>
      extended by org.melati.poem.AtomPoemType
          extended by org.melati.poem.BooleanPoemType
              extended by org.melati.poem.dbms.SQLServer.SQLServerBooleanPoemType
All Implemented Interfaces:
Cloneable, PoemType, SQLPoemType, SQLType
Enclosing class:
SQLServer

public static class SQLServer.SQLServerBooleanPoemType
extends BooleanPoemType

Translates an SQLServer Boolean into a Poem BooleanPoemType.


Field Summary
 
Fields inherited from class org.melati.poem.AtomPoemType
sqlTypeName
 
Fields inherited from class org.melati.poem.BasePoemType
nullable
 
Constructor Summary
SQLServer.SQLServerBooleanPoemType(boolean nullable)
          Constructor.
 
Method Summary
protected  Object _getRaw(ResultSet rs, int col)
           
protected  void _setRaw(PreparedStatement ps, int col, Object bool)
           
 
Methods inherited from class org.melati.poem.BooleanPoemType
_assertValidRaw, _canRepresent, _possibleRaws, _rawOfString, _saveColumnInfo, toDsdType
 
Methods inherited from class org.melati.poem.AtomPoemType
_assertValidCooked, _cookedOfRaw, _quotedRaw, _rawOfCooked, _sqlDefinition, _stringOfCooked, _stringOfRaw, _toString, sqlDefaultValue
 
Methods inherited from class org.melati.poem.BasePoemType
assertValidCooked, assertValidRaw, canRepresent, clone, cookedOfRaw, getLimitRaw, getLowRaw, getNullable, getRaw, possibleRaws, quotedRaw, rawOfCooked, rawOfString, saveColumnInfo, setRaw, setRawRange, sqlDefinition, sqlTypeCode, sqlTypeDefinition, stringOfCooked, stringOfRaw, toString, withNullable
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SQLServer.SQLServerBooleanPoemType

public SQLServer.SQLServerBooleanPoemType(boolean nullable)
Constructor.

Parameters:
nullable - nullability
Method Detail

_getRaw

protected Object _getRaw(ResultSet rs,
                         int col)
                  throws SQLException
Overrides:
_getRaw in class BooleanPoemType
Throws:
SQLException

_setRaw

protected void _setRaw(PreparedStatement ps,
                       int col,
                       Object bool)
                throws SQLException
Overrides:
_setRaw in class BooleanPoemType
Throws:
SQLException


Copyright © 2000-2010 PanEris. All Rights Reserved.