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 OrderDataBean { 020 private java.lang.Integer orderID; 021 private java.lang.String orderType; 022 private java.lang.String orderStatus; 023 private java.util.Calendar openDate; 024 private java.util.Calendar completionDate; 025 private double quantity; 026 private java.math.BigDecimal price; 027 private java.math.BigDecimal orderFee; 028 private java.lang.String symbol; 029 030 public OrderDataBean() { 031 } 032 033 public String toString() { 034 return "Order " + getOrderID() 035 + "\n\t orderType: " + getOrderType() 036 + "\n\t orderStatus: " + getOrderStatus() 037 + "\n\t openDate: " + getOpenDate() 038 + "\n\t completionDate: " + getCompletionDate() 039 + "\n\t quantity: " + getQuantity() 040 + "\n\t price: " + getPrice() 041 + "\n\t orderFee: " + getOrderFee() 042 + "\n\t symbol: " + getSymbol() 043 ; 044 } 045 046 public java.lang.Integer getOrderID() { 047 return orderID; 048 } 049 050 public void setOrderID(java.lang.Integer orderID) { 051 this.orderID = orderID; 052 } 053 054 public java.lang.String getOrderType() { 055 return orderType; 056 } 057 058 public void setOrderType(java.lang.String orderType) { 059 this.orderType = orderType; 060 } 061 062 public java.lang.String getOrderStatus() { 063 return orderStatus; 064 } 065 066 public void setOrderStatus(java.lang.String orderStatus) { 067 this.orderStatus = orderStatus; 068 } 069 070 public java.util.Calendar getOpenDate() { 071 return openDate; 072 } 073 074 public void setOpenDate(java.util.Calendar openDate) { 075 this.openDate = openDate; 076 } 077 078 public java.util.Calendar getCompletionDate() { 079 return completionDate; 080 } 081 082 public void setCompletionDate(java.util.Calendar completionDate) { 083 this.completionDate = completionDate; 084 } 085 086 public double getQuantity() { 087 return quantity; 088 } 089 090 public void setQuantity(double quantity) { 091 this.quantity = quantity; 092 } 093 094 public java.math.BigDecimal getPrice() { 095 return price; 096 } 097 098 public void setPrice(java.math.BigDecimal price) { 099 this.price = price; 100 } 101 102 public java.math.BigDecimal getOrderFee() { 103 return orderFee; 104 } 105 106 public void setOrderFee(java.math.BigDecimal orderFee) { 107 this.orderFee = orderFee; 108 } 109 110 public java.lang.String getSymbol() { 111 return symbol; 112 } 113 114 public void setSymbol(java.lang.String symbol) { 115 this.symbol = symbol; 116 } 117 118 }