リスト7 LanguageBean.java

 1 package com.netpotlet.cove.bean;
 2
 3 import java.io.Serializable;
 4
 5 public class LanguageBean implements Serializable {
 6     private String title;
 7     private String caption;
 8     private String en;
 9     private String ja;
10
11     public LanguageBean() {
12         title = "Xul Sample";
13         caption = "Choose your language";
14         en = "English";
15         ja = "日本語";
16     }
17
18     public String getTitle() {
19         return title;
20     }
21
22     public String getCaption() {
23         return caption;
24     }
25
26     public String getEn() {
27         return en;
28     }
29
30     public String getJa() {
31         return ja;
32     }
33
34     public void setCaption(String string) {
35         caption = string;
36     }
37
38     public void setEn(String string) {
39         en = string;
40     }
41
42     public void setJa(String string) {
43         ja = string;
44     }
45 }