Class UserRecentArtistView.Key

java.lang.Object
org.localify.user.support.UserRecentArtistView.Key
All Implemented Interfaces:
Serializable
Enclosing class:
UserRecentArtistView

@Embeddable public static class UserRecentArtistView.Key extends Object implements Serializable
Represents the composite key for a user recent artist view.
See Also:
  • Constructor Details

    • Key

      protected Key()
      Default constructor.
    • Key

      public Key(UUID userId, UUID artistId)
      Creates a new key.
      Parameters:
      userId - The user ID.
      artistId - The artist ID.
  • Method Details

    • getUserId

      public UUID getUserId()
      Gets the user ID.
      Returns:
      The user ID.
    • setUserId

      public void setUserId(UUID userId)
      Sets the user ID.
      Parameters:
      userId - The user ID.
    • getArtistId

      public UUID getArtistId()
      Gets the artist ID.
      Returns:
      The artist ID.
    • setArtistId

      public void setArtistId(UUID artistId)
      Sets the artist ID.
      Parameters:
      artistId - The artist ID.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object