org.melati.poem.dbms
Class MySQL.MySQLStringPoemType
java.lang.Object
org.melati.poem.BasePoemType<T>
org.melati.poem.AtomPoemType
org.melati.poem.SizedAtomPoemType
org.melati.poem.StringPoemType
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
.
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 |
MySQL.MySQLStringPoemType
public MySQL.MySQLStringPoemType(boolean nullable,
int size)
- Constructor.
- Parameters:
nullable
- whether nullablesize
- size
_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.