1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
package net.sourceforge.subsonic.androidapp.domain; |
20 |
|
|
21 |
|
|
22 |
|
|
23 |
|
|
24 |
|
@author |
25 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (13) |
Complexity: 5 |
Complexity Density: 0,62 |
|
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 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (4) |
Complexity: 1 |
Complexity Density: 0,25 |
|
33 |
1
|
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 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
40 |
1
|
public String getQuery() {... |
41 |
1
|
return query; |
42 |
|
} |
43 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
44 |
1
|
public int getArtistCount() {... |
45 |
1
|
return artistCount; |
46 |
|
} |
47 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
48 |
1
|
public int getAlbumCount() {... |
49 |
1
|
return albumCount; |
50 |
|
} |
51 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
52 |
1
|
public int getSongCount() {... |
53 |
1
|
return songCount; |
54 |
|
} |
55 |
|
} |