1
2
3
4
5 package org.directdemocracyportal.democracy.service.command;
6
7 /***
8 * The Class RegisterCommand.
9 */
10 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 return name;
35 }
36
37 /***
38 * Sets the name.
39 *
40 * @param name the new name
41 */
42 public void setName(String name) {
43 this.name = name;
44 }
45
46 /***
47 * Gets the username.
48 *
49 * @return the username
50 */
51 public String getUsername() {
52 return username;
53 }
54
55 /***
56 * Sets the username.
57 *
58 * @param username the new username
59 */
60 public void setUsername(String username) {
61 this.username = username;
62 }
63
64 /***
65 * Gets the password.
66 *
67 * @return the password
68 */
69 public String getPassword() {
70 return password;
71 }
72
73 /***
74 * Sets the password.
75 *
76 * @param password the new password
77 */
78 public void setPassword(String password) {
79 this.password = password;
80 }
81
82 /***
83 * Gets the portal id.
84 *
85 * @return the portal id
86 */
87 public Long getPortalId() {
88 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 this.portalId = portalId;
98 }
99
100 /***
101 * Gets the email.
102 *
103 * @return the email
104 */
105 public String getEmail() {
106 return email;
107 }
108
109 /***
110 * Sets the email.
111 *
112 * @param email the new email
113 */
114 public void setEmail(String email) {
115 this.email = email;
116 }
117 }