@Embeddable public class BookmarkEntityPK extends Object implements Serializable
| Constructor and Description |
|---|
BookmarkEntityPK()
Creates a new instance of BookmarkEntityPK
|
BookmarkEntityPK(String bmid,
String userid)
Creates a new instance of BookmarkEntityPK with the specified values.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public BookmarkEntityPK()
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()
public 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.Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.