|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.sqlunit.types.UnsupportedType
net.sourceforge.sqlunit.types.StringType
public class StringType
Models a String type.
| Constructor Summary | |
|---|---|
StringType()
|
|
| 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 String type. |
protected java.lang.Object |
parse(java.lang.String str)
Parses a String 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 StringType()
| Method Detail |
|---|
protected java.lang.String format(java.lang.Object obj)
throws SQLUnitException
format in class UnsupportedTypeobj - 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 UnsupportedTypestr - the String representation of the DATE.
SQLUnitException - if the parsing failed.public final int compareTo(java.lang.Object obj)
compareTo in interface java.lang.ComparablecompareTo in class UnsupportedTypeobj - an Object of type DateType.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||