KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > tapestry > pets > domain > model > pojo > Profile


1 package org.apache.tapestry.pets.domain.model.pojo;
2
3 import java.io.Serializable JavaDoc;
4
5 import org.apache.tapestry.pets.domain.model.IProfile;
6
7 public class Profile implements IProfile,Serializable JavaDoc
8 {
9     private String JavaDoc langpref;
10     private String JavaDoc favcategory;
11     private boolean mylistopt;
12     private boolean banneropt;
13
14     public boolean getBannerOpt()
15     {
16         return banneropt;
17     }
18
19     public String JavaDoc getFavCategory()
20     {
21         return favcategory;
22     }
23
24     public String JavaDoc getLangPref()
25     {
26         return langpref;
27     }
28
29     public boolean getMyListOpt()
30     {
31         return mylistopt;
32     }
33
34     public void setBannerOpt(boolean banneropt)
35     {
36         this.banneropt = banneropt;
37     }
38
39     public void setFavCategory(String JavaDoc favcategory)
40     {
41         this.favcategory = favcategory;
42     }
43
44     public void setLangPref(String JavaDoc langpref)
45     {
46         this.langpref = langpref;
47     }
48
49     public void setMyListOpt(boolean mylistopt)
50     {
51         this.mylistopt = mylistopt;
52     }
53 }
54
Popular Tags