001: /**
002: * Copyright (c) 2004 Red Hat, Inc. All rights reserved.
003: *
004: * This library is free software; you can redistribute it and/or
005: * modify it under the terms of the GNU Lesser General Public
006: * License as published by the Free Software Foundation; either
007: * version 2.1 of the License, or any later version.
008: *
009: * This library is distributed in the hope that it will be useful,
010: * but WITHOUT ANY WARRANTY; without even the implied warranty of
011: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
012: * Lesser General Public License for more details.
013: *
014: * You should have received a copy of the GNU Lesser General Public
015: * License along with this library; if not, write to the Free Software
016: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
017: * USA
018: *
019: * Component of: Red Hat Application Server
020: *
021: * Initial Developers: Aizaz Ahmed
022: * Vivek Lakshmanan
023: * Andrew Overholt
024: * Matthew Wringe
025: *
026: */package olstore.dto;
027:
028: import olstore.entity.AddressLocal;
029:
030: /**
031: *This DTO is used to store the user's information whenever a new
032: *user is being created.
033: */
034: public class CreateUserValue {
035:
036: private String username = null;
037: private String fname = null;
038: private String lname = null;
039: private String emailAdd = null;
040: private String phoneNum = null;
041: private String passwd1 = null;
042: private AddressLocal address = null;
043:
044: public String getUsername() {
045: return username;
046: }
047:
048: public void setUsername(String username) {
049: this .username = username;
050: }
051:
052: public String getFname() {
053: return fname;
054: }
055:
056: public void setFname(String fname) {
057: this .fname = fname;
058: }
059:
060: public String getLname() {
061: return lname;
062: }
063:
064: public void setLname(String lname) {
065: this .lname = lname;
066: }
067:
068: public String getEmailAdd() {
069: return emailAdd;
070: }
071:
072: public void setEmailAdd(String emailAdd) {
073: this .emailAdd = emailAdd;
074: }
075:
076: public String getPhoneNum() {
077: return phoneNum;
078: }
079:
080: public void setPhoneNum(String phoneNum) {
081: this .phoneNum = phoneNum;
082: }
083:
084: public String getPasswd1() {
085: return passwd1;
086: }
087:
088: public void setPasswd1(String passwd1) {
089: this .passwd1 = passwd1;
090: }
091:
092: public AddressLocal getAddress() {
093: return address;
094: }
095:
096: public void setAddress(AddressLocal address) {
097: this.address = address;
098: }
099:
100: }
|