Package org.localify.user.support
Class UserFavoriteVenue.Key
java.lang.Object
org.localify.user.support.UserFavoriteVenue.Key
- All Implemented Interfaces:
Serializable
- Enclosing class:
- UserFavoriteVenue
Represents the composite key for a user favorite venue.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Key
protected Key()Default constructor. -
Key
Creates a new key.- Parameters:
userId- The user ID.venueId- The venue ID.
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getUserId
Gets the user ID.- Returns:
- The user ID.
-
setUserId
Sets the user ID.- Parameters:
userId- The user ID.
-
getVenueId
Gets the venue ID.- Returns:
- The venue ID.
-
setVenueId
Sets the venue ID.- Parameters:
venueId- The venue ID.
-