KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > league > util > Result


1 /*
2  * Result.java
3  *
4  * Created on March 31, 2005, 1:39 PM
5  *
6  * To change this template, choose Tools | Options and locate the template under
7  * the Source Creation and Management node. Right-click the template and choose
8  * Open. You can then make changes to the template in the Source Editor.
9  */

10
11 package league.util;
12
13 /**
14  *
15  * @author honza
16  */

17 public class Result extends Object JavaDoc implements java.io.Serializable JavaDoc {
18     Integer JavaDoc teamId=null;
19     Integer JavaDoc score=null;
20     Integer JavaDoc points=null;
21     Integer JavaDoc matchId=null;
22     
23     public Result() {
24     }
25     
26     /** Creates a new instance of Result */
27     public Result(Integer JavaDoc matchId, Integer JavaDoc teamId, Integer JavaDoc score, Integer JavaDoc points) {
28         this.teamId=teamId;
29         this.score=score;
30         this.points=points;
31         this.matchId=matchId;
32     }
33     
34     public Integer JavaDoc getTeamId() {
35         return teamId;
36     }
37     public Integer JavaDoc getMatchId() {
38         return matchId;
39     }
40     public Integer JavaDoc getScore() {
41         return score;
42     }
43     public Integer JavaDoc getPoints() {
44         return points;
45     }
46     
47 }
48
Popular Tags