KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > league > util > Player


1 /*
2  * Player.java
3  *
4  * Created on March 9, 2005, 10:38 AM
5  */

6
7 package league.util;
8
9 /**
10  *
11  * @author honza
12  */

13 public class Player extends Object JavaDoc implements java.io.Serializable JavaDoc{
14     private String JavaDoc name=null;
15     private String JavaDoc note=null;
16     private String JavaDoc uid=null;
17     private Integer JavaDoc id=null;
18
19     public Player() {
20     }
21     
22     /** Creates a new instance of Player */
23     public Player(Integer JavaDoc id, String JavaDoc name, String JavaDoc uid, String JavaDoc note) {
24         this.name=name;
25         this.note=note;
26         this.uid=uid;
27         this.id=id;
28     }
29     
30     public Integer JavaDoc getId() {
31         return id;
32     }
33     
34     public String JavaDoc getName() {
35         return name;
36     }
37     
38     public String JavaDoc getNote() {
39         return note;
40     }
41     
42     public String JavaDoc getUid() {
43         return uid;
44     }
45     
46 }
47
Popular Tags