001    // Copyright 2004, 2005 The Apache Software Foundation
002    //
003    // Licensed under the Apache License, Version 2.0 (the "License");
004    // you may not use this file except in compliance with the License.
005    // You may obtain a copy of the License at
006    //
007    //     http://www.apache.org/licenses/LICENSE-2.0
008    //
009    // Unless required by applicable law or agreed to in writing, software
010    // distributed under the License is distributed on an "AS IS" BASIS,
011    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
012    // See the License for the specific language governing permissions and
013    // limitations under the License.
014    
015    package org.apache.tapestry.junit.spec;
016    
017    /**
018     * Bean used to test extensions.
019     * 
020     * @author Howard Lewis Ship
021     */
022    
023    public class PropertyBean
024    {
025        private boolean _booleanProperty;
026    
027        private int _intProperty;
028    
029        private long _longProperty;
030    
031        private String _stringProperty;
032    
033        private double _doubleProperty;
034    
035        public boolean getBooleanProperty()
036        {
037            return _booleanProperty;
038        }
039    
040        public double getDoubleProperty()
041        {
042            return _doubleProperty;
043        }
044    
045        public int getIntProperty()
046        {
047            return _intProperty;
048        }
049    
050        public long getLongProperty()
051        {
052            return _longProperty;
053        }
054    
055        public String getStringProperty()
056        {
057            return _stringProperty;
058        }
059    
060        public void setBooleanProperty(boolean booleanProperty)
061        {
062            _booleanProperty = booleanProperty;
063        }
064    
065        public void setDoubleProperty(double doubleProperty)
066        {
067            _doubleProperty = doubleProperty;
068        }
069    
070        public void setIntProperty(int intProperty)
071        {
072            _intProperty = intProperty;
073        }
074    
075        public void setLongProperty(long longProperty)
076        {
077            _longProperty = longProperty;
078        }
079    
080        public void setStringProperty(String stringProperty)
081        {
082            _stringProperty = stringProperty;
083        }
084    
085    }