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