@Entity public class UserEntity extends Object implements Serializable
| Constructor and Description |
|---|
UserEntity()
Creates a new instance of UserEntity
|
UserEntity(String userid)
Creates a new instance of UserEntity with the specified values.
|
UserEntity(String userid,
String password)
Creates a new instance of UserEntity with the specified values.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
Determines whether another object is equal to this UserEntity.
|
Collection<BookmarkEntity> |
getBookmarkEntityCollection()
Gets the bookmarkEntityCollection of this UserEntity.
|
String |
getEmail()
Gets the email of this UserEntity.
|
String |
getPassword()
Gets the password of this UserEntity.
|
String |
getUserid()
Gets the userid of this UserEntity.
|
String |
getUsername()
Gets the username of this UserEntity.
|
int |
hashCode()
Returns a hash code value for the object.
|
void |
setBookmarkEntityCollection(Collection<BookmarkEntity> bookmarkEntityCollection)
Sets the bookmarkEntityCollection of this UserEntity to the specified value.
|
void |
setEmail(String email)
Sets the email of this UserEntity to the specified value.
|
void |
setPassword(String password)
Sets the password of this UserEntity to the specified value.
|
void |
setUserid(String userid)
Sets the userid of this UserEntity to the specified value.
|
void |
setUsername(String username)
Sets the username of this UserEntity to the specified value.
|
String |
toString()
Returns a string representation of the object.
|
public UserEntity()
public UserEntity(String userid)
userid - the userid of the UserEntitypublic String getUserid()
public void setUserid(String userid)
userid - the new useridpublic String getPassword()
public void setPassword(String password)
password - the new passwordpublic String getUsername()
public void setUsername(String username)
username - the new usernamepublic String getEmail()
public void setEmail(String email)
email - the new emailpublic Collection<BookmarkEntity> getBookmarkEntityCollection()
public void setBookmarkEntityCollection(Collection<BookmarkEntity> bookmarkEntityCollection)
bookmarkEntityCollection - the new bookmarkEntityCollectionpublic int hashCode()
public boolean equals(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.Copyright © 2007-2019, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.