Package org.localify.artist.jpa
Class ArtistSimilarity.Key
java.lang.Object
org.localify.artist.jpa.ArtistSimilarity.Key
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ArtistSimilarity
Represents the composite key for the ArtistSimilarity entity.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the seed artist ID.Gets the similar artist ID.inthashCode()voidsetSeedArtistId(UUID seedArtistId) Sets the seed artist ID.voidsetSimilarArtistId(UUID similarArtistId) Sets the similar artist ID.
-
Constructor Details
-
Key
protected Key()Default constructor for JPA. -
Key
Constructs a new Key.- Parameters:
seedArtistId- The ID of the seed artist.similarArtistId- The ID of the similar artist.
-
-
Method Details
-
getSeedArtistId
Gets the seed artist ID.- Returns:
- The seed artist ID.
-
setSeedArtistId
Sets the seed artist ID.- Parameters:
seedArtistId- The seed artist ID.
-
getSimilarArtistId
Gets the similar artist ID.- Returns:
- The similar artist ID.
-
setSimilarArtistId
Sets the similar artist ID.- Parameters:
similarArtistId- The similar artist ID.
-
equals
-
hashCode
public int hashCode()
-