Package org.localify.artist.join
Class ArtistEvent
java.lang.Object
org.localify.artist.join.ArtistEvent
Represents the join table between artists and events.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents the composite key for the ArtistEvent entity. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for JPA.ArtistEvent(Artist artist, Event event) Constructs a new ArtistEvent with the given artist and event. -
Method Summary
-
Constructor Details
-
ArtistEvent
protected ArtistEvent()Default constructor for JPA. -
ArtistEvent
Constructs a new ArtistEvent with the given artist and event.- Parameters:
artist- The artist.event- The event.
-
-
Method Details
-
getArtist
Gets the artist.- Returns:
- The artist.
-
getEvent
Gets the event.- Returns:
- The event.
-