Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'registration-resource'
- Loading branch information
Showing
5 changed files
with
209 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 53 additions & 0 deletions
53
...es/registration/src/java/org/wyona/yanel/resources/registration/UserRegistrationBean.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
/* | ||
* Copyright 2012 Wyona | ||
*/ | ||
package org.wyona.yanel.resources.registration; | ||
|
||
/** | ||
* | ||
*/ | ||
public class UserRegistrationBean { | ||
|
||
private String firstname; | ||
private String lastname; | ||
private String email; | ||
private String password; | ||
|
||
/** | ||
* | ||
*/ | ||
public UserRegistrationBean(String firstname, String lastname, String email, String password) { | ||
this.firstname = firstname; | ||
this.lastname = lastname; | ||
this.email = email; | ||
this.password = password; | ||
} | ||
|
||
/** | ||
* | ||
*/ | ||
public String getFirstname() { | ||
return firstname; | ||
} | ||
|
||
/** | ||
* | ||
*/ | ||
public String getLastname() { | ||
return lastname; | ||
} | ||
|
||
/** | ||
* | ||
*/ | ||
public String getEmail() { | ||
return email; | ||
} | ||
|
||
/** | ||
* | ||
*/ | ||
public String getPassword() { | ||
return password; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters