Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
RegisterCommand |
|
| 1.0;1 |
1 | /* | |
2 | Copyright 2010 James Pether Sörling Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. | |
3 | $Id | |
4 | */ | |
5 | package org.directdemocracyportal.democracy.service.command; | |
6 | ||
7 | /** | |
8 | * The Class RegisterCommand. | |
9 | */ | |
10 | 1 | public class RegisterCommand |
11 | { | |
12 | ||
13 | /** The name. */ | |
14 | private String name; | |
15 | ||
16 | /** The username. */ | |
17 | private String username; | |
18 | ||
19 | /** The password. */ | |
20 | private String password; | |
21 | ||
22 | /** The email. */ | |
23 | private String email; | |
24 | ||
25 | /** The portal id. */ | |
26 | private Long portalId; | |
27 | ||
28 | /** | |
29 | * Gets the name. | |
30 | * | |
31 | * @return the name | |
32 | */ | |
33 | public String getName() { | |
34 | 0 | return name; |
35 | } | |
36 | ||
37 | /** | |
38 | * Sets the name. | |
39 | * | |
40 | * @param name the new name | |
41 | */ | |
42 | public void setName(String name) { | |
43 | 0 | this.name = name; |
44 | 0 | } |
45 | ||
46 | /** | |
47 | * Gets the username. | |
48 | * | |
49 | * @return the username | |
50 | */ | |
51 | public String getUsername() { | |
52 | 2 | return username; |
53 | } | |
54 | ||
55 | /** | |
56 | * Sets the username. | |
57 | * | |
58 | * @param username the new username | |
59 | */ | |
60 | public void setUsername(String username) { | |
61 | 1 | this.username = username; |
62 | 1 | } |
63 | ||
64 | /** | |
65 | * Gets the password. | |
66 | * | |
67 | * @return the password | |
68 | */ | |
69 | public String getPassword() { | |
70 | 0 | return password; |
71 | } | |
72 | ||
73 | /** | |
74 | * Sets the password. | |
75 | * | |
76 | * @param password the new password | |
77 | */ | |
78 | public void setPassword(String password) { | |
79 | 1 | this.password = password; |
80 | 1 | } |
81 | ||
82 | /** | |
83 | * Gets the portal id. | |
84 | * | |
85 | * @return the portal id | |
86 | */ | |
87 | public Long getPortalId() { | |
88 | 0 | return portalId; |
89 | } | |
90 | ||
91 | /** | |
92 | * Sets the portal id. | |
93 | * | |
94 | * @param portalId the new portal id | |
95 | */ | |
96 | public void setPortalId(Long portalId) { | |
97 | 0 | this.portalId = portalId; |
98 | 0 | } |
99 | ||
100 | /** | |
101 | * Gets the email. | |
102 | * | |
103 | * @return the email | |
104 | */ | |
105 | public String getEmail() { | |
106 | 0 | return email; |
107 | } | |
108 | ||
109 | /** | |
110 | * Sets the email. | |
111 | * | |
112 | * @param email the new email | |
113 | */ | |
114 | public void setEmail(String email) { | |
115 | 0 | this.email = email; |
116 | 0 | } |
117 | } |