Package com.tagtraum.beatunes.genre
Class OntologyGenreIRILookupService
- java.lang.Object
-
- com.tagtraum.beatunes.genre.OntologyGenreIRILookupService
-
- All Implemented Interfaces:
GenreIRILookupService
public class OntologyGenreIRILookupService extends Object implements GenreIRILookupService
OntologyGenreIRILookupService.- Author:
- Hendrik Schreiber
-
-
Constructor Summary
Constructors Constructor Description OntologyGenreIRILookupService(BeaTunes application)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
lookup(String genre)
Returns a genre IRI for a given name.void
setApplication(BeaTunes application)
-
-
-
Constructor Detail
-
OntologyGenreIRILookupService
public OntologyGenreIRILookupService(BeaTunes application)
-
-
Method Detail
-
setApplication
public void setApplication(BeaTunes application)
-
lookup
public String lookup(String genre)
Description copied from interface:GenreIRILookupService
Returns a genre IRI for a given name.- Specified by:
lookup
in interfaceGenreIRILookupService
- Parameters:
genre
- name- Returns:
- IRI or
null
, if not found.
-
-