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