KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > jodd > util > TFooBean


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

3 package jodd.util;
4
5 import java.io.Serializable JavaDoc;
6
7 public class TFooBean implements Serializable JavaDoc, TFooIndyEx {
8
9     private static final long serialVersionUID = 3689908457570776112L;
10
11     public String JavaDoc getPublic() {
12         return "public";
13     }
14     
15     String JavaDoc getDefault() {
16         return "default";
17     }
18     
19     protected String JavaDoc getProtected() {
20         return "protected";
21     }
22     
23     private String JavaDoc getPrivate() {
24         return "private";
25     }
26     
27     public String JavaDoc getMore(String JavaDoc s, Integer JavaDoc i) {
28         return s + i;
29     }
30 }
31
Popular Tags