Clover Coverage Report - Subsonic-Android Coverage Report
Coverage timestamp: ven dic 19 2014 17:57:13 EST
../../../../../img/srcFileCovDistChart10.png 0% of files have more coverage
8   55   5   1,6
0   24   0,62   5
5     1  
1    
This report was generated with an evaluation server license. Purchase Clover or configure your license.
 
  SearchCritera       Line # 26 8 5 100% 1.0
 
No Tests
 
1    /*
2    This file is part of Subsonic.
3   
4    Subsonic is free software: you can redistribute it and/or modify
5    it under the terms of the GNU General Public License as published by
6    the Free Software Foundation, either version 3 of the License, or
7    (at your option) any later version.
8   
9    Subsonic is distributed in the hope that it will be useful,
10    but WITHOUT ANY WARRANTY; without even the implied warranty of
11    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12    GNU General Public License for more details.
13   
14    You should have received a copy of the GNU General Public License
15    along with Subsonic. If not, see <http://www.gnu.org/licenses/>.
16   
17    Copyright 2009 (C) Sindre Mehus
18    */
19    package net.sourceforge.subsonic.androidapp.domain;
20   
21    /**
22    * The criteria for a music search.
23    *
24    * @author Sindre Mehus
25    */
 
26    public class SearchCritera {
27   
28    private final String query;
29    private final int artistCount;
30    private final int albumCount;
31    private final int songCount;
32   
 
33  1 toggle public SearchCritera(String query, int artistCount, int albumCount, int songCount) {
34  1 this.query = query;
35  1 this.artistCount = artistCount;
36  1 this.albumCount = albumCount;
37  1 this.songCount = songCount;
38    }
39   
 
40  1 toggle public String getQuery() {
41  1 return query;
42    }
43   
 
44  1 toggle public int getArtistCount() {
45  1 return artistCount;
46    }
47   
 
48  1 toggle public int getAlbumCount() {
49  1 return albumCount;
50    }
51   
 
52  1 toggle public int getSongCount() {
53  1 return songCount;
54    }
55    }