Class User
- java.lang.Object
- 
- org.activecomponents.shortmessages.User
 
- 
 public class User extends java.lang.ObjectThe user struct.
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Test if equal.java.lang.StringgetEmail()Get the email.java.lang.StringgetName()Get the name.java.lang.StringgetPassword()Get the password.inthashCode()Get the hashcode.booleanisOnline()Get the online.voidsetEmail(java.lang.String email)Set the email.voidsetName(java.lang.String name)Set the name.voidsetOnline(boolean online)Set the online.voidsetPassword(java.lang.String password)Set the password.java.lang.StringtoString()Get the string representation.
 
- 
- 
- 
Constructor Detail- 
Userpublic User() Create a new user.- Parameters:
- name- The name.
- email- The email.
- password- The pass.
 
 - 
Userpublic User(java.lang.String name, java.lang.String email, java.lang.String password)Create a new user.- Parameters:
- name- The name.
- email- The email.
- password- The pass.
 
 
- 
 - 
Method Detail- 
getNamepublic java.lang.String getName() Get the name.- Returns:
- The name
 
 - 
setNamepublic void setName(java.lang.String name) Set the name.- Parameters:
- name- The name to set
 
 - 
getEmailpublic java.lang.String getEmail() Get the email.- Returns:
- The email
 
 - 
setEmailpublic void setEmail(java.lang.String email) Set the email.- Parameters:
- email- The email to set
 
 - 
getPasswordpublic java.lang.String getPassword() Get the password.- Returns:
- The password
 
 - 
setPasswordpublic void setPassword(java.lang.String password) Set the password.- Parameters:
- password- The password to set
 
 - 
isOnlinepublic boolean isOnline() Get the online.- Returns:
- The online
 
 - 
setOnlinepublic void setOnline(boolean online) Set the online.- Parameters:
- online- The online to set
 
 - 
hashCodepublic int hashCode() Get the hashcode.- Overrides:
- hashCodein class- java.lang.Object
- Returns:
- The hash code.
 
 - 
equalspublic boolean equals(java.lang.Object obj) Test if equal.- Overrides:
- equalsin class- java.lang.Object
- Parameters:
- obj- The The other object.
 
 - 
toStringpublic java.lang.String toString() Get the string representation.- Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-