org.melati.poem.dbms
Class MySQL.MySQLStringPoemType

Package class diagram package MySQL.MySQLStringPoemType
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.StringPoemType
                  extended by org.melati.poem.dbms.MySQL.MySQLStringPoemType
All Implemented Interfaces:
Cloneable, PoemType, SQLPoemType, SQLType
Enclosing class:
MySQL

public static class MySQL.MySQLStringPoemType
extends StringPoemType

Translates a MySQL String into a Poem StringPoemType.


Field Summary
 
Fields inherited from class org.melati.poem.StringPoemType
nullableInstance
 
Fields inherited from class org.melati.poem.AtomPoemType
sqlTypeName
 
Fields inherited from class org.melati.poem.BasePoemType
nullable
 
Constructor Summary
MySQL.MySQLStringPoemType(boolean nullable, int size)
          Constructor.
 
Method Summary
protected  boolean _canRepresent(SQLPoemType other)
          
 SizedAtomPoemType withSize(int newSize)
          
 
Methods inherited from class org.melati.poem.StringPoemType
_assertValidRaw, _getRaw, _quotedRaw, _rawOfString, _saveColumnInfo, _setRaw, _sqlDefinition, toDsdType, toString
 
Methods inherited from class org.melati.poem.SizedAtomPoemType
getSize, sizeGreaterEqual
 
Methods inherited from class org.melati.poem.AtomPoemType
_assertValidCooked, _cookedOfRaw, _rawOfCooked, _stringOfCooked, _stringOfRaw, _toString, sqlDefaultValue
 
Methods inherited from class org.melati.poem.BasePoemType
_possibleRaws, assertValidCooked, assertValidRaw, canRepresent, 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.MySQLStringPoemType

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

Parameters:
nullable - whether nullable
size - size
Method Detail

_canRepresent

protected boolean _canRepresent(SQLPoemType other)
Description copied from class: StringPoemType

Overrides:
_canRepresent in class StringPoemType
See Also:
BasePoemType._canRepresent(org.melati.poem.SQLPoemType)

withSize

public SizedAtomPoemType withSize(int newSize)

Overrides:
withSize in class SizedAtomPoemType
Parameters:
newSize - size of returned field
Returns:
this or clone with new size
See Also:
SizedAtomPoemType.withSize(int)


Copyright © 2000-2010 PanEris. All Rights Reserved.