|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.sqlunit.types.UnsupportedType net.sourceforge.sqlunit.types.BigDecimalType
public class BigDecimalType
Models a BigDecimal data type.
Constructor Summary | |
---|---|
BigDecimalType()
|
Method Summary | |
---|---|
int |
compareTo(java.lang.Object obj)
Returns a negative, zero or positive number according to whether this object is smaller, equal or larger than the passed in object. |
protected java.lang.String |
format(java.lang.Object obj)
Formats a BigDecimal type. |
protected java.lang.Object |
parse(java.lang.String str)
Parses a BigDecimal type. |
Methods inherited from class net.sourceforge.sqlunit.types.UnsupportedType |
---|
equals, formatString, getId, getName, getValue, hashCode, setId, setName, setValue, toObject, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BigDecimalType()
Method Detail |
---|
protected java.lang.String format(java.lang.Object obj) throws SQLUnitException
format
in class UnsupportedType
obj
- an Object to be converted to the IType interface.
SQLUnitException
- if the formatting failed.protected java.lang.Object parse(java.lang.String str) throws SQLUnitException
parse
in class UnsupportedType
str
- the String representation of the object.
SQLUnitException
- if the parsing failed.public final int compareTo(java.lang.Object obj)
compareTo
in interface java.lang.Comparable
compareTo
in class UnsupportedType
obj
- an Object of type DateType.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |