|
|||||||||
| Home >> All >> com >> clra >> [ rowing overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.clra.rowing
Class ParticipantSnapshot

java.lang.Objectcom.clra.rowing.ParticipantSnapshot
- Direct Known Subclasses:
- Participant2Snapshot
- public class ParticipantSnapshot
- extends java.lang.Object
Read-only information about a member's participation in rowing session.
- Version:
- $Revision: 1.3 $ $Date: 2003/02/26 03:38:45 $
| Field Summary | |
private Attendance |
attendance
|
private java.lang.Integer |
finalSeatId
|
private java.lang.Integer |
initialSeatId
|
private java.lang.Integer |
memberId
|
private java.lang.Integer |
participantId
|
private SeatPreference |
preference
|
private java.lang.Integer |
replacesId
|
private java.lang.Integer |
rowingId
|
| Constructor Summary | |
ParticipantSnapshot(java.lang.Integer memberId,
java.lang.Integer rowingId,
java.lang.Integer participantId,
SeatPreference preference,
java.lang.Integer replacesId,
java.lang.Integer initialSeatId,
java.lang.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. |
java.lang.Integer |
getFinalSeatId()
Returns the final seat assigned to a participant, or null if a participant has not been assigned to a final boating. |
java.lang.Integer |
getInitialSeatId()
Returns the initial seat assigned to a participant, or null if a participant hasn't been assigned an initial boating. |
java.lang.Integer |
getMemberId()
Return the primary key of the member associated with this participant. |
java.lang.Integer |
getParticipantId()
Returns the primary key of a participant instance |
java.lang.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. |
java.lang.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 |
| Field Detail |
rowingId
private final java.lang.Integer rowingId
memberId
private final java.lang.Integer memberId
participantId
private final java.lang.Integer participantId
preference
private final SeatPreference preference
replacesId
private final java.lang.Integer replacesId
initialSeatId
private final java.lang.Integer initialSeatId
finalSeatId
private final java.lang.Integer finalSeatId
attendance
private final Attendance attendance
| Constructor Detail |
ParticipantSnapshot
public ParticipantSnapshot(java.lang.Integer memberId, java.lang.Integer rowingId, java.lang.Integer participantId, SeatPreference preference, java.lang.Integer replacesId, java.lang.Integer initialSeatId, java.lang.Integer finalSeatId, Attendance attendance)
| Method Detail |
getMemberId
public java.lang.Integer getMemberId()
- Return the primary key of the member associated with this participant.
getRowingId
public java.lang.Integer getRowingId()
- Returns the primary key of the rowing session a participant has joined.
getParticipantId
public java.lang.Integer getParticipantId()
- Returns the primary key of a participant instance
getSeatPreference
public SeatPreference getSeatPreference()
- Returns the requested seating position of a signed-up participant,
or null if a participant is a substitute or an extra.
getReplacesId
public java.lang.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.
getInitialSeatId
public java.lang.Integer getInitialSeatId()
- Returns the initial seat assigned to a participant, or null if
a participant hasn't been assigned an initial boating.
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).
getFinalSeatId
public java.lang.Integer getFinalSeatId()
- Returns the final seat assigned to a participant, or null if
a participant has not been assigned to a final boating.
See getInitialSeatId() for a note on the distinction between seat id and seat number.
getAttendance
public Attendance getAttendance()
- Returns the attendance of a participant at a rowing session,
or null if a participant has not been assigned an attendance.
|
|||||||||
| Home >> All >> com >> clra >> [ rowing overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.clra.rowing.ParticipantSnapshot