1   package org.apache.turbine.util.parser;
2   
3   /*
4    * Copyright 2001-2005 The Apache Software Foundation.
5    *
6    * Licensed under the Apache License, Version 2.0 (the "License")
7    * you may not use this file except in compliance with the License.
8    * You may obtain a copy of the License at
9    *
10   *     http://www.apache.org/licenses/LICENSE-2.0
11   *
12   * Unless required by applicable law or agreed to in writing, software
13   * distributed under the License is distributed on an "AS IS" BASIS,
14   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15   * See the License for the specific language governing permissions and
16   * limitations under the License.
17   */
18  
19  public class PropertyBean
20  {
21      private int intValue;
22  
23      private long longValue;
24  
25      private double doubleValue;
26  
27      private String stringValue;
28  
29      private Boolean booleanValue;
30  
31      private String doNotTouchValue;
32  
33      /***
34       * Get the LongValue value.
35       * @return the LongValue value.
36       */
37      public long getLongValue()
38      {
39          return longValue;
40      }
41  
42      /***
43       * Set the LongValue value.
44       * @param newLongValue The new LongValue value.
45       */
46      public void setLongValue(long newLongValue)
47      {
48          this.longValue = newLongValue;
49      }
50      /***
51       * Get the DoubleValue value.
52       * @return the DoubleValue value.
53       */
54      public double getDoubleValue()
55      {
56          return doubleValue;
57      }
58  
59      /***
60       * Set the DoubleValue value.
61       * @param newDoubleValue The new DoubleValue value.
62       */
63      public void setDoubleValue(double newDoubleValue)
64      {
65          this.doubleValue = newDoubleValue;
66      }
67  
68      /***
69       * Get the StringValue value.
70       * @return the StringValue value.
71       */
72      public String getStringValue()
73      {
74          return stringValue;
75      }
76  
77      /***
78       * Set the StringValue value.
79       * @param newStringValue The new StringValue value.
80       */
81      public void setStringValue(String newStringValue)
82      {
83          this.stringValue = newStringValue;
84      }
85  
86      /***
87       * Get the IntValue value.
88       * @return the IntValue value.
89       */
90      public int getIntValue()
91      {
92          return intValue;
93      }
94  
95      /***
96       * Set the BooleanValue value.
97       * @param newBooleanValue The new BooleanValue value.
98       */
99      public void setBooleanValue(Boolean newBooleanValue)
100     {
101         this.booleanValue = newBooleanValue;
102     }
103 
104     /***
105      * Get the BooleanValue value.
106      * @return the BooleanValue value.
107      */
108     public Boolean getBooleanValue()
109     {
110         return booleanValue;
111     }
112 
113     /***
114      * Set the IntValue value.
115      * @param newIntValue The new IntValue value.
116      */
117     public void setIntValue(int newIntValue)
118     {
119         this.intValue = newIntValue;
120     }
121 
122     /***
123      * Get the DoNotTouchValue value.
124      * @return the DoNotTouchValue value.
125      */
126     public String getDoNotTouchValue()
127     {
128         return doNotTouchValue;
129     }
130 
131     /***
132      * Set the DoNotTouchValue value.
133      * @param newDoNotTouchValue The new DoNotTouchValue value.
134      */
135     public void setDoNotTouchValue(String newDoNotTouchValue)
136     {
137         this.doNotTouchValue = newDoNotTouchValue;
138     }
139 
140 }