Codota Logo
MusicArtist
Code IndexAdd Codota to your IDE (free)

How to use
MusicArtist
in
it.tidalwave.bluemarine2.model

Best Java code snippets using it.tidalwave.bluemarine2.model.MusicArtist (Showing top 10 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Point p =
  • Codota Iconnew Point(x, y)
  • Codota Iconnew Point()
  • Codota IconMouseEvent e;e.getPoint()
  • Smart code suggestions by Codota
}
origin: it.tidalwave.bluemarine2/it-tidalwave-bluemarine2-catalog

 @Override @Nonnull
 public RecordFinder findChildren() 
  {
   return artist.findRecords();
  }
}
origin: it.tidalwave.bluemarine2/it-tidalwave-bluemarine2-catalog

 @Override @Nonnull
 public TrackFinder findChildren()
  {
   return artist.findTracks();
  }
}
origin: it.tidalwave.bluemarine2/it-tidalwave-bluemarine2-catalog

@Override
public Id getId()
 {
  return musicArtist.getId();
 }
origin: it.tidalwave.bluemarine2/it-tidalwave-bluemarine2-catalog

artists.forEach(artist -> pw.printf("  %s - %s%n", displayNameOf(artist), artist.getSource().orElse(new Id("unknown"))));
pw.printf("  COUNT OF ALL ARTISTS RETRIEVED BY %d QUERIES%n", artistCountQueryCount);
pw.printf("  ALL ARTISTS RETRIEVED BY %d QUERIES%n", artistsQueryCount);
  final TrackFinder artistTracksFinder = artist.findTracks();
  pw.printf("%nTRACKS OF %s (%d):%n", displayNameOf(artist), artistTracksFinder.count());
  artistTracksFinder.stream().forEach(track ->
    assertEquals(track.getSource(), artist.getSource());
   });
  final RecordFinder recordFinder = artist.findRecords();
  pw.printf("%nRECORDS OF %s (%d):%n", displayNameOf(artist), recordFinder.count());
  recordFinder.stream().forEach(record -> pw.printf("  %s%n", displayNameOf(record)));
  recordFinder.stream().forEach(record -> assertEquals(record.getSource(), artist.getSource()));
  pw.printf("  RETRIEVED BY %d QUERIES%n", getLatestQueryCount());
 });
  final PerformanceFinder performanceFinder = artist.findPerformances();
  pw.printf("%nPERFORMANCES OF %s (%d):%n", displayNameOf(artist), performanceFinder.count());
  performanceFinder.stream().forEach(performance -> pw.printf("  %s%n", performance.toDumpString()));
  performanceFinder.stream().forEach(performance -> assertEquals(performance.getSource(), artist.getSource()));
  pw.printf("  RETRIEVED BY %d QUERIES%n", getLatestQueryCount());
 });
origin: it.tidalwave.bluemarine2/it-tidalwave-bluemarine2-catalog

@Override
public <T> T as(Class<T> type)
 {
  return musicArtist.as(type);
 }
origin: it.tidalwave.bluemarine2/it-tidalwave-bluemarine2-catalog

 @Override
 public <T> Collection<T> asMany(Class<T> type)
  {
   return musicArtist.asMany(type);
  }
}
origin: it.tidalwave.bluemarine2/it-tidalwave-bluemarine2-catalog

@Override
public <T> T as(Class<T> type, NotFoundBehaviour<T> notFoundBehaviour)
 {
  return musicArtist.as(type, notFoundBehaviour);
 }
origin: it.tidalwave.bluemarine2/it-tidalwave-bluemarine2-model

/*******************************************************************************************************************
 *
 * 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());
 }
origin: it.tidalwave.bluemarine2/it-tidalwave-bluemarine2-model

/*******************************************************************************************************************
 *
 * 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());
 }
origin: it.tidalwave.bluemarine2/it-tidalwave-bluemarine2-model

 /*******************************************************************************************************************
  *
  * 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());
  }
}
it.tidalwave.bluemarine2.modelMusicArtist

Javadoc

Represents a music artist. Maps the homonymous concept from the Music Ontology.

Most used methods

  • findRecords
    Finds the records made by this artist.
  • findTracks
    Finds the tracks made by this artist.
  • getId
  • as
  • asMany
  • findPerformances
    Finds the performances made by this artist.
  • getSource
    Returns the data source of this datum (typically embedded, musicbrainz or such).

Popular in Java

  • Reading from database using SQL prepared statement
  • runOnUiThread (Activity)
  • putExtra (Intent)
  • getSystemService (Context)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • String (java.lang)
  • ArrayList (java.util)
    Resizable-array implementation of the List interface. Implements all optional list operations, and p
  • JCheckBox (javax.swing)
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registery of org.quartz
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now