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 HoldingDataBean  {
020        private java.lang.Integer holdingID;
021        private double quantity;
022        private java.math.BigDecimal purchasePrice;
023        private java.util.Calendar purchaseDate;
024        private java.lang.String quoteID;
025    
026        public HoldingDataBean() {
027        }
028    
029            public String toString() {
030                    return "\n\tHolding Data for holding: " + getHoldingID() 
031                            + "\n\t\t      quantity:" + getQuantity()
032                            + "\n\t\t purchasePrice:" + getPurchasePrice()
033                            + "\n\t\t  purchaseDate:" + getPurchaseDate()
034                            + "\n\t\t       quoteID:" + getQuoteID()
035                            ;
036            }
037    
038        public java.lang.Integer getHoldingID() {
039            return holdingID;
040        }
041    
042        public void setHoldingID(java.lang.Integer holdingID) {
043            this.holdingID = holdingID;
044        }
045    
046        public double getQuantity() {
047            return quantity;
048        }
049    
050        public void setQuantity(double quantity) {
051            this.quantity = quantity;
052        }
053    
054        public java.math.BigDecimal getPurchasePrice() {
055            return purchasePrice;
056        }
057    
058        public void setPurchasePrice(java.math.BigDecimal purchasePrice) {
059            this.purchasePrice = purchasePrice;
060        }
061    
062        public java.util.Calendar getPurchaseDate() {
063            return purchaseDate;
064        }
065    
066        public void setPurchaseDate(java.util.Calendar purchaseDate) {
067            this.purchaseDate = purchaseDate;
068        }
069    
070        public java.lang.String getQuoteID() {
071            return quoteID;
072        }
073    
074        public void setQuoteID(java.lang.String quoteID) {
075            this.quoteID = quoteID;
076        }
077    
078    }