001    /**
002     *  Licensed to the Apache Software Foundation (ASF) under one or more
003     *  contributor license agreements.  See the NOTICE file distributed with
004     *  this work for additional information regarding copyright ownership.
005     *  The ASF licenses this file to You under the Apache License, Version 2.0
006     *  (the "License"); you may not use this file except in compliance with
007     *  the License.  You may obtain a copy of the License at
008     *
009     *     http://www.apache.org/licenses/LICENSE-2.0
010     *
011     *  Unless required by applicable law or agreed to in writing, software
012     *  distributed under the License is distributed on an "AS IS" BASIS,
013     *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014     *  See the License for the specific language governing permissions and
015     *  limitations under the License.
016     */
017    package org.apache.geronimo.samples.daytrader.client.ws;
018    
019    public class QuoteDataBean  {
020        private java.lang.String symbol;
021        private java.lang.String companyName;
022        private java.math.BigDecimal price;
023        private java.math.BigDecimal open;
024        private java.math.BigDecimal low;
025        private java.math.BigDecimal high;
026        private double change;
027        private double volume;
028    
029        public QuoteDataBean() {
030        }
031    
032            public String toString() {
033                    return "\n\tQuote Data for: " + getSymbol()
034                            + "\n\t\t companyName: " + getCompanyName()
035                            + "\n\t\t      volume: " + getVolume()
036                            + "\n\t\t       price: " + getPrice()
037                            + "\n\t\t        open: " + getOpen()
038                            + "\n\t\t         low: " + getLow()
039                            + "\n\t\t        high: " + getHigh()
040                            + "\n\t\t      change: " + getChange()
041                            ;
042            }
043    
044        public java.lang.String getSymbol() {
045            return symbol;
046        }
047    
048        public void setSymbol(java.lang.String symbol) {
049            this.symbol = symbol;
050        }
051    
052        public java.lang.String getCompanyName() {
053            return companyName;
054        }
055    
056        public void setCompanyName(java.lang.String companyName) {
057            this.companyName = companyName;
058        }
059    
060        public java.math.BigDecimal getPrice() {
061            return price;
062        }
063    
064        public void setPrice(java.math.BigDecimal price) {
065            this.price = price;
066        }
067    
068        public java.math.BigDecimal getOpen() {
069            return open;
070        }
071    
072        public void setOpen(java.math.BigDecimal open) {
073            this.open = open;
074        }
075    
076        public java.math.BigDecimal getLow() {
077            return low;
078        }
079    
080        public void setLow(java.math.BigDecimal low) {
081            this.low = low;
082        }
083    
084        public java.math.BigDecimal getHigh() {
085            return high;
086        }
087    
088        public void setHigh(java.math.BigDecimal high) {
089            this.high = high;
090        }
091    
092        public double getChange() {
093            return change;
094        }
095    
096        public void setChange(double change) {
097            this.change = change;
098        }
099    
100        public double getVolume() {
101            return volume;
102        }
103    
104        public void setVolume(double volume) {
105            this.volume = volume;
106        }
107    
108    }