KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sf > cglib > beans > MA


1 package net.sf.cglib.beans;
2
3 import java.io.ObjectStreamException JavaDoc;
4
5 class MA {
6     private Long JavaDoc id;
7     private String JavaDoc name;
8     private String JavaDoc privateName;
9     private int intP;
10     private long longP;
11     private boolean booleanP;
12     private char charP;
13     private byte byteP;
14     private short shortP;
15     private float floatP;
16     private double doubleP;
17     private String JavaDoc stringP;
18     public String JavaDoc publicField;
19
20     public Long JavaDoc getId() {
21         return id;
22     }
23
24     public String JavaDoc getName() {
25         return name;
26     }
27
28     public void setId(Long JavaDoc id) {
29         this.id = id;
30     }
31
32     public void setName(String JavaDoc name) {
33         this.name = name;
34     }
35
36     protected Object JavaDoc writeReplace() throws ObjectStreamException JavaDoc {
37         return null;
38     }
39
40     /* package */ String JavaDoc getPrivateName() {
41         return privateName;
42     }
43
44     /* package */ void setPrivateName(String JavaDoc name) {
45         this.privateName = name;
46     }
47
48     public int getIntP() {
49         return this.intP;
50     }
51
52     public void setIntP(int intP) {
53         this.intP = intP;
54     }
55
56     public long getLongP() {
57         return this.longP;
58     }
59
60     public void setLongP(long longP) {
61         this.longP = longP;
62     }
63
64     public boolean isBooleanP() {
65         return this.booleanP;
66     }
67
68     public void setBooleanP(boolean booleanP) {
69         this.booleanP = booleanP;
70     }
71
72     public char getCharP() {
73         return this.charP;
74     }
75
76     public void setCharP(char charP) {
77         this.charP = charP;
78     }
79
80     public byte getByteP() {
81         return this.byteP;
82     }
83
84     public void setByteP(byte byteP) {
85         this.byteP = byteP;
86     }
87
88     public short getShortP() {
89         return this.shortP;
90     }
91
92     public void setShortP(short shortP) {
93         this.shortP = shortP;
94     }
95
96     public float getFloatP() {
97         return this.floatP;
98     }
99
100     public void setFloatP(float floatP) {
101         this.floatP = floatP;
102     }
103
104     public double getDoubleP() {
105         return this.doubleP;
106     }
107
108     public void setDoubleP(double doubleP) {
109         this.doubleP = doubleP;
110     }
111
112     public String JavaDoc getStringP() {
113         return this.stringP;
114     }
115
116     public void setStringP(String JavaDoc stringP) {
117         this.stringP = stringP;
118     }
119 }
120
121
Popular Tags