Source code: com/clra/rowing/SeatSnapshot.java
1 /*
2 * Copyright (c) Carnegie Lake Rowing Association 2002. All rights reserved.
3 * Distributed under the GPL license. See doc/COPYING.
4 * $RCSfile: SeatSnapshot.java,v $
5 * $Date: 2003/02/26 03:38:45 $
6 * $Revision: 1.4 $
7 */
8
9 package com.clra.rowing;
10
11 /**
12 * Information about a seat assignment in a boating for a rowing session.
13 *
14 * @version $Id: SeatSnapshot.java,v 1.4 2003/02/26 03:38:45 rphall Exp $
15 * @author <a href="mailto:rphall@pluto.njcc.com">Rick Hall</a>
16 */
17 public class SeatSnapshot {
18
19 private final int seatId;
20 private final BoatingView boating;
21 private final int seatNumber;
22
23 public SeatSnapshot( int seatId, BoatingView boating, int seatNumber ) {
24 this.seatId = seatId;
25 this.boating = boating;
26 this.seatNumber = seatNumber;
27 }
28
29 public int getSeatId() {
30 return this.seatId;
31 }
32
33 public BoatingView getBoating() {
34 return this.boating;
35 }
36
37 public int getSeatNumber() {
38 return this.seatNumber;
39 }
40
41 } // SeatSnapshot
42
43 /*
44 * $Log: SeatSnapshot.java,v $
45 * Revision 1.4 2003/02/26 03:38:45 rphall
46 * Added copyright and GPL license
47 *
48 * Revision 1.3 2003/02/19 22:09:16 rphall
49 * Removed gratuitous use of CLRA acronym
50 *
51 * Revision 1.2 2002/02/18 18:05:11 rphall
52 * Ran dos2unix to remove ^M (carriage return) from end of lines
53 */
54