|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.examples.bookmark_em.entity.UserEntity
public class UserEntity
Entity class UserEntity.
| Constructor Summary | |
|---|---|
UserEntity()
Creates a new instance of UserEntity |
|
UserEntity(java.lang.String userid)
Creates a new instance of UserEntity with the specified values. |
|
UserEntity(java.lang.String userid,
java.lang.String password)
Creates a new instance of UserEntity with the specified values. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object object)
Determines whether another object is equal to this UserEntity. |
java.util.Collection<BookmarkEntity> |
getBookmarkEntityCollection()
Gets the bookmarkEntityCollection of this UserEntity. |
java.lang.String |
getEmail()
Gets the email of this UserEntity. |
java.lang.String |
getPassword()
Gets the password of this UserEntity. |
java.lang.String |
getUserid()
Gets the userid of this UserEntity. |
java.lang.String |
getUsername()
Gets the username of this UserEntity. |
int |
hashCode()
Returns a hash code value for the object. |
void |
setBookmarkEntityCollection(java.util.Collection<BookmarkEntity> bookmarkEntityCollection)
Sets the bookmarkEntityCollection of this UserEntity to the specified value. |
void |
setEmail(java.lang.String email)
Sets the email of this UserEntity to the specified value. |
void |
setPassword(java.lang.String password)
Sets the password of this UserEntity to the specified value. |
void |
setUserid(java.lang.String userid)
Sets the userid of this UserEntity to the specified value. |
void |
setUsername(java.lang.String username)
Sets the username of this UserEntity to the specified value. |
java.lang.String |
toString()
Returns a string representation of the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UserEntity()
public UserEntity(java.lang.String userid)
userid - the userid of the UserEntity
public UserEntity(java.lang.String userid,
java.lang.String password)
userid - the userid of the UserEntitypassword - the password of the UserEntity| Method Detail |
|---|
public java.lang.String getUserid()
public void setUserid(java.lang.String userid)
userid - the new useridpublic java.lang.String getPassword()
public void setPassword(java.lang.String password)
password - the new passwordpublic java.lang.String getUsername()
public void setUsername(java.lang.String username)
username - the new usernamepublic java.lang.String getEmail()
public void setEmail(java.lang.String email)
email - the new emailpublic java.util.Collection<BookmarkEntity> getBookmarkEntityCollection()
public void setBookmarkEntityCollection(java.util.Collection<BookmarkEntity> bookmarkEntityCollection)
bookmarkEntityCollection - the new bookmarkEntityCollectionpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object object)
true if and only if the argument is not null and is a UserEntity object that
has the same id field values as this object.
equals in class java.lang.Objectobject - the reference object with which to compare
true if this object is the same as the argument;
false otherwise.public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||