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 018 package org.apache.geronimo.samples.daytrader.client.ws; 019 020 public class AccountDataBean { 021 private java.lang.Integer accountID; 022 private int loginCount; 023 private int logoutCount; 024 private java.util.Calendar lastLogin; 025 private java.util.Calendar creationDate; 026 private java.math.BigDecimal balance; 027 private java.math.BigDecimal openBalance; 028 private java.lang.String profileID; 029 030 public AccountDataBean() { 031 } 032 033 public String toString() { 034 return "\n\tAccount Data for account: " + getAccountID() 035 + "\n\t\t loginCount:" + getLoginCount() 036 + "\n\t\t logoutCount:" + getLogoutCount() 037 + "\n\t\t lastLogin:" + getLastLogin() 038 + "\n\t\t creationDate:" + getCreationDate() 039 + "\n\t\t balance:" + getBalance() 040 + "\n\t\t openBalance:" + getOpenBalance() 041 + "\n\t\t profileID:" + getProfileID() 042 ; 043 } 044 045 public java.lang.Integer getAccountID() { 046 return accountID; 047 } 048 049 public void setAccountID(java.lang.Integer accountID) { 050 this.accountID = accountID; 051 } 052 053 public int getLoginCount() { 054 return loginCount; 055 } 056 057 public void setLoginCount(int loginCount) { 058 this.loginCount = loginCount; 059 } 060 061 public int getLogoutCount() { 062 return logoutCount; 063 } 064 065 public void setLogoutCount(int logoutCount) { 066 this.logoutCount = logoutCount; 067 } 068 069 public java.util.Calendar getLastLogin() { 070 return lastLogin; 071 } 072 073 public void setLastLogin(java.util.Calendar lastLogin) { 074 this.lastLogin = lastLogin; 075 } 076 077 public java.util.Calendar getCreationDate() { 078 return creationDate; 079 } 080 081 public void setCreationDate(java.util.Calendar creationDate) { 082 this.creationDate = creationDate; 083 } 084 085 public java.math.BigDecimal getBalance() { 086 return balance; 087 } 088 089 public void setBalance(java.math.BigDecimal balance) { 090 this.balance = balance; 091 } 092 093 public java.math.BigDecimal getOpenBalance() { 094 return openBalance; 095 } 096 097 public void setOpenBalance(java.math.BigDecimal openBalance) { 098 this.openBalance = openBalance; 099 } 100 101 public java.lang.String getProfileID() { 102 return profileID; 103 } 104 105 public void setProfileID(java.lang.String profileID) { 106 this.profileID = profileID; 107 } 108 109 }