|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.samskivert.depot.impl.QueryResult
com.samskivert.depot.PersistentRecord
com.threerings.parlor.rating.server.persist.RatingRecord
public class RatingRecord
| Field Summary | |
|---|---|
static Class<RatingRecord> |
_R
|
int |
experience
The number of times the player has played this game. |
static com.samskivert.depot.expression.ColumnExp<Integer> |
EXPERIENCE
|
static com.samskivert.depot.expression.ColumnExp<Integer> |
GAME_ID
|
int |
gameId
The identifier of the game we're rating for. |
static com.samskivert.depot.expression.ColumnExp<Timestamp> |
LAST_UPDATED
|
Timestamp |
lastUpdated
The last time this rating was updated. |
static com.samskivert.depot.expression.ColumnExp<Integer> |
PLAYER_ID
|
int |
playerId
The identifier of the player we're rating. |
int |
rating
The player's current rating. |
static com.samskivert.depot.expression.ColumnExp<Integer> |
RATING
|
static int |
SCHEMA_VERSION
|
| Constructor Summary | |
|---|---|
RatingRecord()
An empty constructor for unmarshalling. |
|
RatingRecord(int gameId,
int playerId,
int rating,
int experience)
A constructor that populates all our fields. |
|
| Method Summary | |
|---|---|
static com.samskivert.depot.Key<RatingRecord> |
getKey(int gameId,
int playerId)
Create and return a primary Key to identify a RatingRecord
with the supplied key values. |
String |
toString()
|
| Methods inherited from class com.samskivert.depot.PersistentRecord |
|---|
colexp, newKey, registerKeyFields |
| Methods inherited from class com.samskivert.depot.impl.QueryResult |
|---|
clone |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Class<RatingRecord> _R
public static final com.samskivert.depot.expression.ColumnExp<Integer> GAME_ID
public static final com.samskivert.depot.expression.ColumnExp<Integer> PLAYER_ID
public static final com.samskivert.depot.expression.ColumnExp<Integer> RATING
public static final com.samskivert.depot.expression.ColumnExp<Integer> EXPERIENCE
public static final com.samskivert.depot.expression.ColumnExp<Timestamp> LAST_UPDATED
public static final int SCHEMA_VERSION
public int gameId
public int playerId
public int rating
public int experience
public Timestamp lastUpdated
| Constructor Detail |
|---|
public RatingRecord()
public RatingRecord(int gameId,
int playerId,
int rating,
int experience)
| Method Detail |
|---|
public String toString()
toString in class Object
public static com.samskivert.depot.Key<RatingRecord> getKey(int gameId,
int playerId)
Key to identify a RatingRecord
with the supplied key values.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||