KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > myfaces > el > E


1 /*
2  * Copyright 2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package org.apache.myfaces.el;
17
18 import java.util.HashMap JavaDoc;
19
20 /**
21  * @author <a HREF="mailto:matzew@apache.org">Matthias Weßendorf</a>
22  */

23 public class E {
24     
25     private String JavaDoc a = "foo";
26     private String JavaDoc b = "bar";
27     private HashMap JavaDoc c = null;
28     private Integer JavaDoc d = null;
29     
30     /**
31      * @return Returns the d.
32      */

33     public Integer JavaDoc getD() {
34         return d;
35     }
36     /**
37      * @param d The d to set.
38      */

39     public void setD(Integer JavaDoc d) {
40         this.d = d;
41     }
42     public E(){
43         c = new HashMap JavaDoc();
44         c.put("foo","bar");
45         
46     }
47     
48     public String JavaDoc getA() {
49         return a;
50     }
51
52     public void setA(String JavaDoc a) {
53         this.a = a;
54     }
55
56     public String JavaDoc getB() {
57         return b;
58     }
59
60     public void setB(String JavaDoc b) {
61         this.b = b;
62     }
63     public HashMap JavaDoc getC() {
64         return c;
65     }
66    public void setC(HashMap JavaDoc c) {
67         this.c = c;
68     }
69 }
70
Popular Tags