1 /*
2  * aTunes
3  * Copyright (C) Alex Aranda, Sylvain Gaudard and contributors
4  *
5  * See http://www.atunes.org/wiki/index.php?title=Contributing for information about contributors
6  *
7  * http://www.atunes.org
8  * http://sourceforge.net/projects/atunes
9  *
10  * This program is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU General Public License
12  * as published by the Free Software Foundation; either version 2
13  * of the License, or (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU General Public License for more details.
19  */
20 
21 package net.sourceforge.atunes.model;
22 
23 /**
24  * Has methods to check for unknown objects
25  *
26  * @author alex
27  *
28  */
29 public interface IUnknownObjectChecker {
30 
31     /**
32      * Return <code>true</code> if this artist is unknown
33      *
34      * @param artist
35      * @return
36      */
isUnknownArtist(IArtist artist)37     public boolean isUnknownArtist(IArtist artist);
38 
39     /**
40      * Return <code>true</code> if this artist is unknown
41      *
42      * @param artist
43      * @return
44      */
isUnknownArtist(String artist)45     public boolean isUnknownArtist(String artist);
46 
47     /**
48      * Return <code>true</code> if this album is unknown
49      *
50      * @param album
51      * @return
52      */
isUnknownAlbum(String album)53     public boolean isUnknownAlbum(String album);
54 
55     /**
56      * Return <code>true</code> if this genre is unknown
57      *
58      * @param genre
59      * @return
60      */
isUnknownGenre(String genre)61     public boolean isUnknownGenre(String genre);
62 
63     /**
64      * Return <code>true</code> if year is unknown
65      *
66      * @param year
67      * @return
68      */
isUnknownYear(String year)69     public boolean isUnknownYear(String year);
70 
71     /**
72      * @return unknown year text
73      */
getUnknownYear()74     public String getUnknownYear();
75 
76     /**
77      * @return unknown genre text
78      */
getUnknownGenre()79     public String getUnknownGenre();
80 
81     /**
82      * @return unknown album text
83      */
getUnknownAlbum()84     public String getUnknownAlbum();
85 
86     /**
87      * @return unknown artist text
88      */
getUnknownArtist()89     public String getUnknownArtist();
90 }