net.sourceforge.sqlunit.types
Class JavaObjectType

java.lang.Object
  extended by net.sourceforge.sqlunit.types.UnsupportedType
      extended by net.sourceforge.sqlunit.types.JavaObjectType
All Implemented Interfaces:
java.lang.Comparable, IType

public class JavaObjectType
extends UnsupportedType

Models a JAVA_OBJECT type.

Version:
$Revision: 1.10 $
Author:
Ralph Brendler (rbrendler@users.sourceforge.net), Sujit Pal (spal@users.sourceforge.net)

Constructor Summary
JavaObjectType()
           
 
Method Summary
protected  java.lang.String format(java.lang.Object obj)
          Formats a JAVA_OBJECT into a String representation of the BLOB.
 
Methods inherited from class net.sourceforge.sqlunit.types.UnsupportedType
compareTo, equals, formatString, getId, getName, getValue, hashCode, parse, setId, setName, setValue, toObject, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaObjectType

public JavaObjectType()
Method Detail

format

protected java.lang.String format(java.lang.Object obj)
                           throws SQLUnitException
Formats a JAVA_OBJECT into a String representation of the BLOB.

Overrides:
format in class UnsupportedType
Parameters:
obj - an Object to be converted to the IType interface.
Returns:
the String representation of the object.
Throws:
SQLUnitException - if the formatting failed.