Package org.localify.festival.jpa
Class FestivalPerformanceArtist.Key
java.lang.Object
org.localify.festival.jpa.FestivalPerformanceArtist.Key
- All Implemented Interfaces:
Serializable
- Enclosing class:
- FestivalPerformanceArtist
@Embeddable
public static class FestivalPerformanceArtist.Key
extends Object
implements Serializable
Represents the composite key for the FestivalPerformanceArtist entity.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the artist ID.Gets the festival performance ID.inthashCode()voidsetArtistId(UUID artistId) Sets the artist ID.voidsetFestivalPerformanceId(UUID festivalPerformanceId) Sets the festival performance ID.
-
Constructor Details
-
Key
protected Key()Protected no-arg constructor for JPA. -
Key
Constructs a new Key.- Parameters:
artistId- The artist ID.festivalPerformanceId- The festival performance ID.
-
-
Method Details
-
getArtistId
Gets the artist ID.- Returns:
- The artist ID.
-
setArtistId
Sets the artist ID.- Parameters:
artistId- The artist ID.
-
getFestivalPerformanceId
Gets the festival performance ID.- Returns:
- The festival performance ID.
-
setFestivalPerformanceId
Sets the festival performance ID.- Parameters:
festivalPerformanceId- The festival performance ID.
-
equals
-
hashCode
public int hashCode()
-