| |
|
| java.lang.Object com.triactive.jdo.test.TestObject com.triactive.jdo.test.KeywordConflict com.triactive.jdo.test.AReallyObnoxiouslyLongWindedNamedObject
AReallyObnoxiouslyLongWindedNamedObject | class AReallyObnoxiouslyLongWindedNamedObject extends KeywordConflict (Code) | | A test object using Java identifiers intentionally chosen to overflow
Oracle's identifier limits.
author: Mike Martin version: $Revision: 1.3 $ |
Method Summary | |
public boolean | compareTo(Object obj) Indicates whether some other object is "equal to" this one. | public void | fillRandom() Fills all of the object's fields with random data values. | public String | toString() Returns a string representation for this object. |
AReallyObnoxiouslyLongWindedNamedObject | public AReallyObnoxiouslyLongWindedNamedObject()(Code) | | |
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.
|
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. |
|
|
|