KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > olstore > dto > CreateUserValue


1 /**
2  * Copyright (c) 2004 Red Hat, Inc. All rights reserved.
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
17  * USA
18  *
19  * Component of: Red Hat Application Server
20  *
21  * Initial Developers: Aizaz Ahmed
22  * Vivek Lakshmanan
23  * Andrew Overholt
24  * Matthew Wringe
25  *
26  */

27 package olstore.dto;
28
29 import olstore.entity.AddressLocal;
30
31 /**
32  *This DTO is used to store the user's information whenever a new
33  *user is being created.
34  */

35 public class CreateUserValue {
36     
37     private String username = null;
38     private String fname = null;
39     private String lname = null;
40     private String emailAdd = null;
41     private String phoneNum = null;
42     private String passwd1 = null;
43     private AddressLocal address = null;
44     
45     
46     public String getUsername()
47     {
48         return username;
49     }
50     
51     public void setUsername(String username)
52     {
53         this.username=username;
54     }
55     
56     public String getFname()
57     {
58         return fname;
59     }
60     
61     public void setFname(String fname)
62     {
63         this.fname=fname;
64     }
65     
66     public String getLname()
67     {
68         return lname;
69     }
70     
71     public void setLname(String lname)
72     {
73         this.lname=lname;
74     }
75     
76     public String getEmailAdd()
77     {
78         return emailAdd;
79     }
80     
81     public void setEmailAdd(String emailAdd)
82     {
83         this.emailAdd=emailAdd;
84     }
85     
86     public String getPhoneNum()
87     {
88         return phoneNum;
89     }
90     
91     public void setPhoneNum(String phoneNum)
92     {
93         this.phoneNum=phoneNum;
94     }
95     
96     public String getPasswd1()
97     {
98         return passwd1;
99     }
100     
101     public void setPasswd1(String passwd1)
102     {
103         this.passwd1=passwd1;
104     }
105     
106     public AddressLocal getAddress()
107     {
108         return address;
109     }
110     
111     public void setAddress(AddressLocal address)
112     {
113         this.address=address;
114     }
115     
116 }
117
Popular Tags