@Override public Id getId() { return musicArtist.getId(); }
/******************************************************************************************************************* * * Constrains the search to records made by the given artist. * * @param artist the artist * @return the {@code Finder}, in fluent fashion * ******************************************************************************************************************/ @Nonnull public default RecordFinder madeBy (final @Nonnull MusicArtist artist) { return madeBy(artist.getId()); }
/******************************************************************************************************************* * * Constrains the search to tracks made by the given artist. * * @param artist the artist * @return the {@code Finder}, in fluent fashion * ******************************************************************************************************************/ @Nonnull public default TrackFinder madeBy (final @Nonnull MusicArtist artist) { return madeBy(artist.getId()); }
/******************************************************************************************************************* * * Constrains the search to performances of the given performer. * * @param performer the id of the performer * @return the {@code Finder}, in fluent fashion * ******************************************************************************************************************/ @Nonnull public default PerformanceFinder performedBy (final @Nonnull MusicArtist performer) { return performedBy(performer.getId()); } }