| java.lang.Object com.triactive.jdo.test.TestObject com.triactive.jdo.test.Widget
All known Subclasses: com.triactive.jdo.test.npt.NptWidget, com.triactive.jdo.test.CollectionWidget, com.triactive.jdo.test.StringWidget, com.triactive.jdo.test.SetWidget, com.triactive.jdo.test.ValueWidget, com.triactive.jdo.test.FloatWidget, com.triactive.jdo.test.ElementWidget, com.triactive.jdo.test.BinaryWidget, com.triactive.jdo.test.MapWidget, com.triactive.jdo.test.HashtableWidget, com.triactive.jdo.test.DecimalWidget, com.triactive.jdo.test.DateWidget,
Constructor Summary | |
public | Widget() |
compareTo | public boolean compareTo(Object obj)(Code) | | Indicates whether some other object is "equal to" this one. By comparing
against an original copy of the object, compareTo() can be
used to verify that the object has been written to a database and read
back correctly.
Parameters: obj - the reference object with which to compare true if this object is equal to the obj argument;false otherwise. |
fillRandom | public void fillRandom()(Code) | | Fills all of the object's fields with random data values. Any non-
primitive fields (with the exception of id ) will also be
assigned null on a random basis.
|
getBooleanField | public boolean getBooleanField()(Code) | | |
getByteField | public byte getByteField()(Code) | | |
getByteObjField | public Byte getByteObjField()(Code) | | |
getCharField | public char getCharField()(Code) | | |
getIntField | public int getIntField()(Code) | | |
getLongField | public long getLongField()(Code) | | |
getLongObjField | public Long getLongObjField()(Code) | | |
getShortField | public short getShortField()(Code) | | |
jdoPostLoad | public void jdoPostLoad()(Code) | | |
jdoPreClear | public void jdoPreClear()(Code) | | |
jdoPreDelete | public void jdoPreDelete()(Code) | | |
jdoPreStore | public void jdoPreStore()(Code) | | |
setByteField | public void setByteField(byte byteField)(Code) | | |
setByteFieldRandom | public byte setByteFieldRandom()(Code) | | |
setIntField | public void setIntField(int intField)(Code) | | |
setShortField | public void setShortField(short shortField)(Code) | | |
toString | public String toString()(Code) | | Returns a string representation for this object. All of the field
values are included in the string for debugging purposes.
a string representation for this object. |
|
|