Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import javax.jdo.annotations.IdentityType;
- import javax.jdo.annotations.PersistenceCapable;
- import javax.jdo.annotations.Persistent;
- import javax.jdo.annotations.PrimaryKey;
- @PersistenceCapable(identityType=IdentityType.APPLICATION)
- public class UserInfo {
- @Persistent
- @PrimaryKey
- private String username ;
- @Persistent
- private String password ;
- @Persistent
- private String emailAddress ;
- public String getUsername() {
- return username;
- }
- public void setUsername(String username) {
- this.username = username;
- }
- public String getPassword() {
- return password;
- }
- public void setPassword(String password) {
- this.password = password;
- }
- public String getEmailAddress() {
- return emailAddress;
- }
- public void setEmailAddress(String emailAddress) {
- this.emailAddress = emailAddress;
- }
- public UserInfo(String username, String password, String emailAddress) {
- super();
- this.username = username;
- this.password = password;
- this.emailAddress = emailAddress;
- }
- public UserInfo() {
- super();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment