|
||||||||||
| 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.BookmarkEntityPK
public class BookmarkEntityPK
Primary Key class BookmarkEntityPK for entity class BookmarkEntity.
| Constructor Summary | |
|---|---|
BookmarkEntityPK()
Creates a new instance of BookmarkEntityPK |
|
BookmarkEntityPK(java.lang.String bmid,
java.lang.String userid)
Creates a new instance of BookmarkEntityPK with the specified values. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object object)
Determines whether another object is equal to this BookmarkEntityPK. |
java.lang.String |
getBmid()
Gets the bmid of this BookmarkEntityPK. |
java.lang.String |
getUserid()
Gets the userid of this BookmarkEntityPK. |
int |
hashCode()
Returns a hash code value for the object. |
void |
setBmid(java.lang.String bmid)
Sets the bmid of this BookmarkEntityPK to the specified value. |
void |
setUserid(java.lang.String userid)
Sets the userid of this BookmarkEntityPK 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 BookmarkEntityPK()
public BookmarkEntityPK(java.lang.String bmid,
java.lang.String userid)
bmid - the bmid of the BookmarkEntityPKuserid - the userid of the BookmarkEntityPK| Method Detail |
|---|
public java.lang.String getUserid()
public void setUserid(java.lang.String userid)
userid - the new useridpublic java.lang.String getBmid()
public void setBmid(java.lang.String bmid)
bmid - the new bmidpublic 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 BookmarkEntityPK 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 | |||||||||