Package org.localify.user.support
Class UserFavoriteArtist
java.lang.Object
org.localify.user.support.UserFavoriteArtist
Represents a user's favorite artist.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents the composite key for a user favorite artist. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor.UserFavoriteArtist(User user, Artist artist) Creates a new user favorite artist. -
Method Summary
-
Constructor Details
-
UserFavoriteArtist
protected UserFavoriteArtist()Default constructor. -
UserFavoriteArtist
Creates a new user favorite artist.- Parameters:
user- The user.artist- The artist.
-
-
Method Details
-
getUser
Gets the user.- Returns:
- The user.
-
setUser
Sets the user.- Parameters:
user- The user.
-
getArtist
Gets the artist.- Returns:
- The artist.
-
setArtist
Sets the artist.- Parameters:
artist- The artist.
-
getCreatedAt
Gets the creation timestamp.- Returns:
- The creation timestamp.
-