Added toString().

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@434 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Michael Bayne
2007-09-12 02:16:19 +00:00
parent 8e52521b20
commit 6194948d56
@@ -28,6 +28,8 @@ import com.samskivert.jdbc.depot.annotation.Id;
import com.samskivert.jdbc.depot.annotation.Index; import com.samskivert.jdbc.depot.annotation.Index;
import com.samskivert.jdbc.depot.expression.ColumnExp; import com.samskivert.jdbc.depot.expression.ColumnExp;
import com.samskivert.util.StringUtil;
@Entity(indices={ @Entity(indices={
@Index(name="ixPlayerId", fields={ RatingRecord.PLAYER_ID }) @Index(name="ixPlayerId", fields={ RatingRecord.PLAYER_ID })
}) })
@@ -100,6 +102,12 @@ public class RatingRecord extends PersistentRecord
this.experience = experience; this.experience = experience;
} }
@Override // from Object
public String toString ()
{
return StringUtil.fieldsToString(this);
}
// AUTO-GENERATED: METHODS START // AUTO-GENERATED: METHODS START
/** /**
* Create and return a primary {@link Key} to identify a {@link #RatingRecord} * Create and return a primary {@link Key} to identify a {@link #RatingRecord}