|
CLRA 0.1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.clra.rowing.ParticipantSnapshot
Read-only information about a member's participation in rowing session.
Constructor Summary | |
ParticipantSnapshot(Integer memberId,
Integer rowingId,
Integer participantId,
SeatPreference preference,
Integer replacesId,
Integer initialSeatId,
Integer finalSeatId,
Attendance attendance)
|
Method Summary | |
Attendance |
getAttendance()
Returns the attendance of a participant at a rowing session, or null if a participant has not been assigned an attendance. |
Integer |
getFinalSeatId()
Returns the final seat assigned to a participant, or null if a participant has not been assigned to a final boating. |
Integer |
getInitialSeatId()
Returns the initial seat assigned to a participant, or null if a participant hasn't been assigned an initial boating. |
Integer |
getMemberId()
Return the primary key of the member associated with this participant. |
Integer |
getParticipantId()
Returns the primary key of a participant instance |
Integer |
getReplacesId()
Returns the participant id of the signed-up, but absent, participant for whom this member is substituting, or null if this member is not a substitute. |
Integer |
getRowingId()
Returns the primary key of the rowing session a participant has joined. |
SeatPreference |
getSeatPreference()
Returns the requested seating position of a signed-up participant, or null if a participant is a substitute or an extra. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ParticipantSnapshot(Integer memberId, Integer rowingId, Integer participantId, SeatPreference preference, Integer replacesId, Integer initialSeatId, Integer finalSeatId, Attendance attendance)
Method Detail |
public Integer getMemberId()
public Integer getRowingId()
public Integer getParticipantId()
public SeatPreference getSeatPreference()
public Integer getReplacesId()
public Integer getInitialSeatId()
Note that seat id is not the same as seat number. A seat id is a primary key for a triplet value composed of a rowing_id (identifies a rowing session), a boat_id (identifies a particular sweep or scull), and a seat number (identifies a position within a sweep or scull).
public Integer getFinalSeatId()
See getInitialSeatId() for a note on the distinction between seat id and seat number.
public Attendance getAttendance()
|
CLRA 0.1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |