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