Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.clra.rowing
Interface IParticipant  view IParticipant download IParticipant.java

All Superinterfaces:
javax.ejb.EJBObject, java.rmi.Remote

public interface IParticipant
extends javax.ejb.EJBObject

Defines operations that modify a member's participation in rowing session.

Version:
$Id: IParticipant.java,v 1.4 2003/02/26 03:38:45 rphall Exp $

Method Summary
 Attendance getAttendance()
          Returns the attendance of a participant at a rowing session, or null if attendance has not been marked.
 ParticipantSnapshot getData()
          Returns a snapshot of a participant
 SeatSnapshot getFinalSeat()
          Returns the final seat assignment of this participant, or null if a final seating was not made.
 SeatSnapshot getInitialSeat()
          Returns the initial seat assignment of this participant, or null if an initial seating was not made.
 java.lang.Integer getMemberId()
          Returns the primary key of the member that the participant represents
 java.lang.Integer getParticipantId()
          Returns the primary key of a participant
 java.lang.Integer getRowingId()
          Returns the primary key of the rowing session to which the participant belongs.
 SeatPreference getSeatPreference()
          Returns the seat preference of a participant.
 IParticipant getSubstitutedParticipant()
          Returns the participant for whom this participant is substituting.
 void setAttendance(Attendance attendance, IRowingSession session)
          Marks the attendance of a participant at a rowing session.
 void setFinalSeat(SeatSnapshot seat, IBoating boating)
          Assigns a final seating to a participant at the start of a rowing session, after attendance has been taken.
 void setInitialSeat(SeatSnapshot seat, IBoating boating)
          Assigns a preliminary seating to a participant before a rowing session starts.
 void setSeatPreference(SeatPreference seatPreference)
          Sets the seat preference of a participant.
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

getData

public ParticipantSnapshot getData()
                            throws java.rmi.RemoteException
Returns a snapshot of a participant


getParticipantId

public java.lang.Integer getParticipantId()
                                   throws java.rmi.RemoteException
Returns the primary key of a participant


getRowingId

public java.lang.Integer getRowingId()
                              throws java.rmi.RemoteException
Returns the primary key of the rowing session to which the participant belongs.


getMemberId

public java.lang.Integer getMemberId()
                              throws java.rmi.RemoteException
Returns the primary key of the member that the participant represents


getSeatPreference

public SeatPreference getSeatPreference()
                                 throws java.rmi.RemoteException
Returns the seat preference of a participant.


setSeatPreference

public void setSeatPreference(SeatPreference seatPreference)
                       throws java.rmi.RemoteException,
                              ParticipantStateException,
                              RowingException
Sets the seat preference of a participant.


getSubstitutedParticipant

public IParticipant getSubstitutedParticipant()
                                       throws java.rmi.RemoteException
Returns the participant for whom this participant is substituting.


setInitialSeat

public void setInitialSeat(SeatSnapshot seat,
                           IBoating boating)
                    throws java.rmi.RemoteException,
                           ParticipantStateException,
                           RowingException
Assigns a preliminary seating to a participant before a rowing session starts.


getInitialSeat

public SeatSnapshot getInitialSeat()
                            throws java.rmi.RemoteException
Returns the initial seat assignment of this participant, or null if an initial seating was not made.


setFinalSeat

public void setFinalSeat(SeatSnapshot seat,
                         IBoating boating)
                  throws java.rmi.RemoteException,
                         ParticipantStateException,
                         RowingException
Assigns a final seating to a participant at the start of a rowing session, after attendance has been taken.


getFinalSeat

public SeatSnapshot getFinalSeat()
                          throws java.rmi.RemoteException
Returns the final seat assignment of this participant, or null if a final seating was not made.


setAttendance

public void setAttendance(Attendance attendance,
                          IRowingSession session)
                   throws java.rmi.RemoteException,
                          ParticipantStateException,
                          RowingException
Marks the attendance of a participant at a rowing session.


getAttendance

public Attendance getAttendance()
                         throws java.rmi.RemoteException
Returns the attendance of a participant at a rowing session, or null if attendance has not been marked.