|
||||||||||
| 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.BookmarkEntity
public class BookmarkEntity
Entity class BookmarkEntity.
| Field Summary | |
|---|---|
protected BookmarkEntityPK |
bookmarkEntityPK
EmbeddedId primary key field |
| Constructor Summary | |
|---|---|
BookmarkEntity()
Creates a new instance of BookmarkEntity |
|
BookmarkEntity(BookmarkEntityPK bookmarkEntityPK)
Creates a new instance of BookmarkEntity with the specified values. |
|
BookmarkEntity(BookmarkEntityPK bookmarkEntityPK,
String uri)
Creates a new instance of BookmarkEntity with the specified values. |
|
BookmarkEntity(String bmid,
String userid)
Creates a new instance of BookmarkEntityPK with the specified values. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
Determines whether another object is equal to this BookmarkEntity. |
BookmarkEntityPK |
getBookmarkEntityPK()
Gets the bookmarkEntityPK of this BookmarkEntity. |
String |
getLdesc()
Gets the ldesc of this BookmarkEntity. |
String |
getSdesc()
Gets the sdesc of this BookmarkEntity. |
Date |
getUpdated()
Gets the updated of this BookmarkEntity. |
String |
getUri()
Gets the uri of this BookmarkEntity. |
UserEntity |
getUserEntity()
Gets the userEntity of this BookmarkEntity. |
int |
hashCode()
Returns a hash code value for the object. |
void |
setBookmarkEntityPK(BookmarkEntityPK bookmarkEntityPK)
Sets the bookmarkEntityPK of this BookmarkEntity to the specified value. |
void |
setLdesc(String ldesc)
Sets the ldesc of this BookmarkEntity to the specified value. |
void |
setSdesc(String sdesc)
Sets the sdesc of this BookmarkEntity to the specified value. |
void |
setUpdated(Date updated)
Sets the updated of this BookmarkEntity to the specified value. |
void |
setUri(String uri)
Sets the uri of this BookmarkEntity to the specified value. |
void |
setUserEntity(UserEntity userEntity)
Sets the userEntity of this BookmarkEntity to the specified value. |
String |
toString()
Returns a string representation of the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected BookmarkEntityPK bookmarkEntityPK
| Constructor Detail |
|---|
public BookmarkEntity()
public BookmarkEntity(BookmarkEntityPK bookmarkEntityPK)
bookmarkEntityPK - the bookmarkEntityPK of the BookmarkEntity
public BookmarkEntity(BookmarkEntityPK bookmarkEntityPK,
String uri)
bookmarkEntityPK - the bookmarkEntityPK of the BookmarkEntityuri - the uri of the BookmarkEntity
public BookmarkEntity(String bmid,
String userid)
bmid - the bmid of the BookmarkEntityPKuserid - the userid of the BookmarkEntityPK| Method Detail |
|---|
public BookmarkEntityPK getBookmarkEntityPK()
public void setBookmarkEntityPK(BookmarkEntityPK bookmarkEntityPK)
bookmarkEntityPK - the new bookmarkEntityPKpublic String getUri()
public void setUri(String uri)
uri - the new uripublic Date getUpdated()
public void setUpdated(Date updated)
updated - the new updatedpublic String getLdesc()
public void setLdesc(String ldesc)
ldesc - the new ldescpublic String getSdesc()
public void setSdesc(String sdesc)
sdesc - the new sdescpublic UserEntity getUserEntity()
public void setUserEntity(UserEntity userEntity)
userEntity - the new userEntitypublic int hashCode()
hashCode in class Objectpublic boolean equals(Object object)
true if and only if the argument is not null and is a BookmarkEntity object that
has the same id field values as this object.
equals in class Objectobject - the reference object with which to compare
true if this object is the same as the argument;
false otherwise.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||