1   /*
2    * Copyright 2001-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  
17  package org.apache.commons.beanutils;
18  
19  /**
20   * Bean that has primitive properties
21   */
22  public class PrimitiveBean {
23  
24      private float _float;
25      private double _double;
26      private boolean _boolean;
27      private long _long;
28      private int _int;
29      
30      public float getFloat() {
31          return _float;
32      }
33      
34      public void setFloat(float _float) {
35          this._float = _float;
36      }
37      
38      public double getDouble() {
39          return _double;
40      }
41      
42      public void setDouble(double _double) {
43          this._double = _double;
44      }
45      
46      public boolean getBoolean() {
47          return _boolean;
48      }
49      
50      public void setBoolean(boolean _boolean) {
51          this._boolean = _boolean;
52      }
53      
54      public long getLong() {
55          return _long;
56      }
57      
58      public void setLong(long _long) {
59          this._long = _long;
60      }
61      
62      public int getInt() {
63          return _int;
64      }
65      
66      public void setInt(int _int) {
67          this._int = _int;
68      }
69  }