net.sourceforge.sqlunit.types
Class OtherType

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

public class OtherType
extends UnsupportedType

Models the OTHER type.

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

Constructor Summary
OtherType()
           
 
Method Summary
protected  java.lang.String format(java.lang.Object obj)
          Provides a toString wrapper for the Generic type.
 
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

OtherType

public OtherType()
Method Detail

format

protected java.lang.String format(java.lang.Object obj)
                           throws SQLUnitException
Provides a toString wrapper for the Generic type.

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.