KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > jodd > db > orm > test > Girl


1 // Copyright (c) 2003-2007, Jodd Team (jodd.sf.net). All Rights Reserved.
2

3 package jodd.db.orm.test;
4
5 public class Girl {
6
7     public Girl() {
8     }
9
10     public Girl(int id, String JavaDoc name, String JavaDoc speciality) {
11         this.id = id;
12         this.name = name;
13         this.speciality = speciality;
14     }
15
16     public String JavaDoc speciality;
17     public int id;
18     public String JavaDoc name;
19
20     // ---------------------------------------------------------------- toString
21

22     public String JavaDoc toString() {
23         return "Girl{" +
24                 "id=" + id +
25                 ", name='" + name + '\'' +
26                 ", speciality='" + speciality + '\'' +
27                 '}';
28     }
29 }
30
Popular Tags