|
||||||||||
| 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(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 BookmarkEntityPK. |
String |
getBmid()
Gets the bmid of this BookmarkEntityPK. |
String |
getUserid()
Gets the userid of this BookmarkEntityPK. |
int |
hashCode()
Returns a hash code value for the object. |
void |
setBmid(String bmid)
Sets the bmid of this BookmarkEntityPK to the specified value. |
void |
setUserid(String userid)
Sets the userid of this BookmarkEntityPK 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 |
| Constructor Detail |
|---|
public BookmarkEntityPK()
public BookmarkEntityPK(String bmid,
String userid)
bmid - the bmid of the BookmarkEntityPKuserid - the userid of the BookmarkEntityPK| Method Detail |
|---|
public String getUserid()
public void setUserid(String userid)
userid - the new useridpublic String getBmid()
public void setBmid(String bmid)
bmid - the new bmidpublic int hashCode()
hashCode in class Objectpublic boolean equals(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 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 | |||||||||