org.melati.poem.dbms
Class MSAccess.MSAccessStringPoemType

Package class diagram package MSAccess.MSAccessStringPoemType
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.MSAccess.MSAccessStringPoemType
All Implemented Interfaces:
Cloneable, PoemType, SQLPoemType, SQLType
Enclosing class:
MSAccess

public static class MSAccess.MSAccessStringPoemType
extends StringPoemType

Translates a MSSQL 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
MSAccess.MSAccessStringPoemType(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.StringPoemType
_assertValidRaw, _getRaw, _quotedRaw, _rawOfString, _saveColumnInfo, _setRaw, _sqlDefinition, 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, _stringOfRaw, _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

MSAccess.MSAccessStringPoemType

public MSAccess.MSAccessStringPoemType(boolean nullable,
                                       int size)
Constructor.

Parameters:
nullable - nullability
size - length normally
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)

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.