KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sf > cglib > proxy > EA


1 package net.sf.cglib.proxy;
2
3 import java.io.ObjectStreamException JavaDoc;
4
5 public class EA {
6     private Long JavaDoc id;
7     private String JavaDoc name;
8
9     public Long JavaDoc getId() {
10         return id;
11     }
12
13     public String JavaDoc getName() {
14         return name;
15     }
16
17     public void setId(Long JavaDoc id) {
18         this.id = id;
19     }
20
21     public void setName(String JavaDoc name) {
22         this.name = name;
23     }
24
25     protected Object JavaDoc writeReplace() throws ObjectStreamException JavaDoc {
26         return null;
27     }
28     
29     protected void finalTest(){}
30     
31     public int compareTo(Object JavaDoc obj) {
32         return -1;
33     }
34     
35 }
36
37
Popular Tags