Class UserRecentArtistView

java.lang.Object
org.localify.user.support.UserRecentArtistView

@Entity public class UserRecentArtistView extends Object
Represents a recent artist view by a user.
  • Constructor Details

    • UserRecentArtistView

      protected UserRecentArtistView()
      Default constructor.
    • UserRecentArtistView

      public UserRecentArtistView(User user, Artist artist)
      Creates a new user recent artist view.
      Parameters:
      user - The user.
      artist - The artist.
  • Method Details

    • getKey

      public UserRecentArtistView.Key getKey()
      Gets the key.
      Returns:
      The key.
    • setKey

      public void setKey(UserRecentArtistView.Key key)
      Sets the key.
      Parameters:
      key - The key.
    • getUser

      public User getUser()
      Gets the user.
      Returns:
      The user.
    • setUser

      public void setUser(User user)
      Sets the user.
      Parameters:
      user - The user.
    • getCreatedAt

      public Instant getCreatedAt()
      Gets the creation timestamp.
      Returns:
      The creation timestamp.
    • setCreatedAt

      public void setCreatedAt(Instant createdAt)
      Sets the creation timestamp.
      Parameters:
      createdAt - The creation timestamp.
    • getArtist

      public Artist getArtist()
      Gets the artist.
      Returns:
      The artist.
    • setArtist

      public void setArtist(Artist artist)
      Sets the artist.
      Parameters:
      artist - The artist.
    • getUpdatedAt

      public Instant getUpdatedAt()
      Gets the last update timestamp.
      Returns:
      The last update timestamp.
    • setUpdatedAt

      public void setUpdatedAt(Instant updatedAt)
      Sets the last update timestamp.
      Parameters:
      updatedAt - The last update timestamp.