1 | |
package org.apache.archiva.indexer.search; |
2 | |
|
3 | |
import java.util.ArrayList; |
4 | |
import java.util.List; |
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
|
18 | |
|
19 | |
|
20 | |
|
21 | |
|
22 | |
|
23 | |
|
24 | |
|
25 | |
public class SearchFields |
26 | |
{ |
27 | |
|
28 | |
|
29 | |
|
30 | |
private String groupId; |
31 | |
|
32 | |
|
33 | |
|
34 | |
|
35 | |
private String artifactId; |
36 | |
|
37 | |
|
38 | |
|
39 | |
|
40 | |
private String version; |
41 | |
|
42 | |
|
43 | |
|
44 | |
|
45 | |
private String packaging; |
46 | |
|
47 | |
|
48 | |
|
49 | |
|
50 | |
private String className; |
51 | |
|
52 | |
|
53 | |
|
54 | |
|
55 | 0 | private List<String> repositories = new ArrayList<String>(); |
56 | |
|
57 | |
public SearchFields() |
58 | 0 | { |
59 | |
|
60 | 0 | } |
61 | |
|
62 | |
public SearchFields( String groupId, String artifactId, String version, String packaging, String className, |
63 | |
List<String> repositories ) |
64 | 0 | { |
65 | 0 | this.groupId = groupId; |
66 | 0 | this.artifactId = artifactId; |
67 | 0 | this.version = version; |
68 | 0 | this.packaging = packaging; |
69 | 0 | this.className = className; |
70 | 0 | this.repositories = repositories; |
71 | 0 | } |
72 | |
|
73 | |
public String getGroupId() |
74 | |
{ |
75 | 0 | return groupId; |
76 | |
} |
77 | |
|
78 | |
public void setGroupId( String groupId ) |
79 | |
{ |
80 | 0 | this.groupId = groupId; |
81 | 0 | } |
82 | |
|
83 | |
public String getArtifactId() |
84 | |
{ |
85 | 0 | return artifactId; |
86 | |
} |
87 | |
|
88 | |
public void setArtifactId( String artifactId ) |
89 | |
{ |
90 | 0 | this.artifactId = artifactId; |
91 | 0 | } |
92 | |
|
93 | |
public String getVersion() |
94 | |
{ |
95 | 0 | return version; |
96 | |
} |
97 | |
|
98 | |
public void setVersion( String version ) |
99 | |
{ |
100 | 0 | this.version = version; |
101 | 0 | } |
102 | |
|
103 | |
public String getPackaging() |
104 | |
{ |
105 | 0 | return packaging; |
106 | |
} |
107 | |
|
108 | |
public void setPackaging( String packaging ) |
109 | |
{ |
110 | 0 | this.packaging = packaging; |
111 | 0 | } |
112 | |
|
113 | |
public String getClassName() |
114 | |
{ |
115 | 0 | return className; |
116 | |
} |
117 | |
|
118 | |
public void setClassName( String className ) |
119 | |
{ |
120 | 0 | this.className = className; |
121 | 0 | } |
122 | |
|
123 | |
public List<String> getRepositories() |
124 | |
{ |
125 | 0 | return repositories; |
126 | |
} |
127 | |
|
128 | |
public void setRepositories( List<String> repositories ) |
129 | |
{ |
130 | 0 | this.repositories = repositories; |
131 | 0 | } |
132 | |
} |