KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > tapestry > junit > spec > PropertyBean


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

15 package org.apache.tapestry.junit.spec;
16
17 /**
18  * Bean used to test extensions.
19  *
20  * @author Howard Lewis Ship
21  */

22
23 public class PropertyBean
24 {
25     private boolean _booleanProperty;
26
27     private int _intProperty;
28
29     private long _longProperty;
30
31     private String JavaDoc _stringProperty;
32
33     private double _doubleProperty;
34
35     public boolean getBooleanProperty()
36     {
37         return _booleanProperty;
38     }
39
40     public double getDoubleProperty()
41     {
42         return _doubleProperty;
43     }
44
45     public int getIntProperty()
46     {
47         return _intProperty;
48     }
49
50     public long getLongProperty()
51     {
52         return _longProperty;
53     }
54
55     public String JavaDoc getStringProperty()
56     {
57         return _stringProperty;
58     }
59
60     public void setBooleanProperty(boolean booleanProperty)
61     {
62         _booleanProperty = booleanProperty;
63     }
64
65     public void setDoubleProperty(double doubleProperty)
66     {
67         _doubleProperty = doubleProperty;
68     }
69
70     public void setIntProperty(int intProperty)
71     {
72         _intProperty = intProperty;
73     }
74
75     public void setLongProperty(long longProperty)
76     {
77         _longProperty = longProperty;
78     }
79
80     public void setStringProperty(String JavaDoc stringProperty)
81     {
82         _stringProperty = stringProperty;
83     }
84
85 }
86
Popular Tags