Sunday, October 2, 2011

User


package com.evs.objava33.class19;

public class User {

private Long userid;
private String username;
private String userpass;

public User() {

}

public User(Long userid, String username, String userpass) {
this.userid = userid;
this.username = username;
this.userpass = userpass;
}

/**
* @return the userid
*/
public Long getUserid() {
return userid;
}

/**
* @param userid
*            the userid to set
*/
public void setUserid(Long userid) {
this.userid = userid;
}

/**
* @return the username
*/
public String getUsername() {
return username;
}

/**
* @param username
*            the username to set
*/
public void setUsername(String username) {
this.username = username;
}

/**
* @return the userpass
*/
public String getUserpass() {
return userpass;
}

/**
* @param userpass
*            the userpass to set
*/
public void setUserpass(String userpass) {
this.userpass = userpass;
}

/*
* (non-Javadoc)
*
* @see java.lang.Object#toString()
*/
@Override
public String toString() {
return "User [userid=" + userid + ", username=" + username
+ ", userpass=" + userpass + "]";
}
}

No comments:

Post a Comment