org.melati.poem.dbms
Class MySQL.BlobPoemType

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

public static class MySQL.BlobPoemType
extends BinaryPoemType

Translates a MySQL Blob into a Poem IntegerPoemType.


Field Summary
 
Fields inherited from class org.melati.poem.AtomPoemType
sqlTypeName
 
Fields inherited from class org.melati.poem.BasePoemType
nullable
 
Constructor Summary
MySQL.BlobPoemType(boolean nullable, int size)
          Constructor.
 
Method Summary
protected  boolean _canRepresent(SQLPoemType other)
           
 PoemType<?> canRepresent(PoemType other)
          Return a PoemType which can can represent another, or null.
 
Methods inherited from class org.melati.poem.BinaryPoemType
_assertValidRaw, _getRaw, _quotedRaw, _rawOfString, _saveColumnInfo, _setRaw, _sqlDefinition, _stringOfRaw, toDsdType, toString
 
Methods inherited from class org.melati.poem.SizedAtomPoemType
getSize, sizeGreaterEqual, withSize
 
Methods inherited from class org.melati.poem.AtomPoemType
_assertValidCooked, _cookedOfRaw, _rawOfCooked, _stringOfCooked, _toString, sqlDefaultValue
 
Methods inherited from class org.melati.poem.BasePoemType
_possibleRaws, assertValidCooked, assertValidRaw, clone, cookedOfRaw, getLimitRaw, getLowRaw, getNullable, getRaw, possibleRaws, quotedRaw, rawOfCooked, rawOfString, saveColumnInfo, setRaw, setRawRange, sqlDefinition, sqlTypeCode, sqlTypeDefinition, stringOfCooked, stringOfRaw, withNullable
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MySQL.BlobPoemType

public MySQL.BlobPoemType(boolean nullable,
                          int size)
Constructor.

Parameters:
nullable - whether nullable
size - size
Method Detail

_canRepresent

protected boolean _canRepresent(SQLPoemType other)
Overrides:
_canRepresent in class BinaryPoemType

canRepresent

public PoemType<?> canRepresent(PoemType other)
Return a PoemType which can can represent another, or null.

Specified by:
canRepresent in interface PoemType
Overrides:
canRepresent in class BasePoemType
Parameters:
other - the other type to check
Returns:
the other or null
See Also:
BasePoemType.canRepresent(PoemType)


Copyright © 2000-2010 PanEris. All Rights Reserved.