Package org.localify.user.support
Class UserRecentArtistView
java.lang.Object
org.localify.user.support.UserRecentArtistView
Represents a recent artist view by a user.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents the composite key for a user recent artist view. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor.UserRecentArtistView(User user, Artist artist) Creates a new user recent artist view. -
Method Summary
Modifier and TypeMethodDescriptionGets the artist.Gets the creation timestamp.getKey()Gets the key.Gets the last update timestamp.getUser()Gets the user.voidSets the artist.voidsetCreatedAt(Instant createdAt) Sets the creation timestamp.voidSets the key.voidsetUpdatedAt(Instant updatedAt) Sets the last update timestamp.voidSets the user.
-
Constructor Details
-
UserRecentArtistView
protected UserRecentArtistView()Default constructor. -
UserRecentArtistView
Creates a new user recent artist view.- Parameters:
user- The user.artist- The artist.
-
-
Method Details
-
getKey
Gets the key.- Returns:
- The key.
-
setKey
Sets the key.- Parameters:
key- The key.
-
getUser
Gets the user.- Returns:
- The user.
-
setUser
Sets the user.- Parameters:
user- The user.
-
getCreatedAt
Gets the creation timestamp.- Returns:
- The creation timestamp.
-
setCreatedAt
Sets the creation timestamp.- Parameters:
createdAt- The creation timestamp.
-
getArtist
Gets the artist.- Returns:
- The artist.
-
setArtist
Sets the artist.- Parameters:
artist- The artist.
-
getUpdatedAt
Gets the last update timestamp.- Returns:
- The last update timestamp.
-
setUpdatedAt
Sets the last update timestamp.- Parameters:
updatedAt- The last update timestamp.
-