did u get reply to this topic....
i am also getting the same problem...plz help me out
noem wrote:
User class
import java.util.Date;
public class User {
/**public void setName(String name) {
/** identifier field */
private String userId;
/** persistent field */
private String userName;
/** persistent field */
private String userPassword;
/** persistent field */
private String userFirstName;
/** persistent field */
private String userLastName;
/** persistent field */
private String userAddress;
/** persistent field */
private String city;
/** persistent field */
private String zipCode;
/** persistent field */
private String contactNo;
/** persistent field */
private String userEmail;
/** persistent field */
private Date userCreationDate;
/** persistent field */
private String userRole;
/** persistent field */
public User(String userId, String userName, String userPassword, String userFirstName,
String userLastName, String userAddress, String city, String zipCode,
String contactNo, String userEmail, Date userCreationDate, String userRole){
this.userId = userId;
this.userName = userName;
this.userPassword = userPassword;
this.userFirstName = userFirstName;
this.userLastName = userLastName;
this.userAddress = userAddress;
this.city = city;
this.zipCode = zipCode;
this.contactNo = contactNo;
this.userEmail = userEmail;
this.userCreationDate = userCreationDate;
this.userRole = userRole;
}
/** default constructor */
public User() {
}
public String getUserId() {
return this.userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getUserName() {
return this.userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public String getUserPassword() {
return this.userPassword;
}
public void setUserPassword(String userPassword) {
this.userPassword = userPassword;
}
public String getUserFirstName() {
return this.userFirstName;
}
public void setUserFirstName(String userFirstName) {
this.userFirstName = userFirstName;
}
public String getUserLastName() {
return this.userLastName;
}
public void setUserLastName(String userLastName) {
this.userLastName = userLastName;
}
public String getUserAddress(){
return this.userAddress;
}
public void setUserAddress(String userAddress){
this.userAddress = userAddress;
}
public String getCity(){
return this.city;
}
public void setCity(String city){
this.city = city;
}
public String getZipCode(){
return this.zipCode;
}
public void setZipCode(String zipCode){
this.zipCode = zipCode;
}
public String getContactNo(){
return this.contactNo;
}
public void setContactNo(String contactNo){
this.contactNo = contactNo;
}
public String getUserEmail() {
return this.userEmail;
}
public void setUserEmail(String userEmail) {
this.userEmail = userEmail;
}
public Date getUserCreationDate() {
return this.userCreationDate;
}
public void setUserCreationDate(Date userCreationDate) {
this.userCreationDate = userCreationDate;
}
public String getUserRole(){
return this.userRole;
}
public void setUserRole(String userRole){
this.userRole = userRole;
}
}
// End of class /**