Revision 62938
Added by Michele Artini 5 months ago
SearchApisEntry.java | ||
---|---|---|
15 | 15 |
private String repoOrganization = "unknown"; |
16 | 16 |
private String repoCountry = "-"; |
17 | 17 |
private String repoPrefix = ""; |
18 |
|
|
18 | 19 |
private String aggrDate = ""; |
19 | 20 |
private int aggrTotal = 0; |
21 |
private String aggrBackend = ""; |
|
20 | 22 |
|
21 |
public SearchApisEntry() {} |
|
23 |
private String collDate = ""; |
|
24 |
private int collTotal = 0; |
|
25 |
private String collBackend = ""; |
|
22 | 26 |
|
23 |
public SearchApisEntry(final String id, final String compliance, final String protocol, final boolean active, final String repoId, |
|
24 |
final String repoName, final String repoCountry, |
|
25 |
final String repoPrefix, final String aggrDate, final int aggrTotal) { |
|
26 |
this.id = id; |
|
27 |
this.compliance = compliance; |
|
28 |
this.protocol = protocol; |
|
29 |
this.active = active; |
|
30 |
this.repoId = repoId; |
|
31 |
this.repoName = repoName; |
|
32 |
this.repoCountry = repoCountry; |
|
33 |
this.repoPrefix = repoPrefix; |
|
34 |
this.aggrDate = aggrDate; |
|
35 |
this.aggrTotal = aggrTotal; |
|
36 |
} |
|
37 |
|
|
38 | 27 |
public String getId() { |
39 | 28 |
return id; |
40 | 29 |
} |
... | ... | |
112 | 101 |
this.aggrTotal = aggrTotal; |
113 | 102 |
} |
114 | 103 |
|
104 |
public String getAggrBackend() { |
|
105 |
return aggrBackend; |
|
106 |
} |
|
107 |
|
|
108 |
public void setAggrBackend(final String aggrBackend) { |
|
109 |
this.aggrBackend = aggrBackend; |
|
110 |
} |
|
111 |
|
|
112 |
public String getCollDate() { |
|
113 |
return collDate; |
|
114 |
} |
|
115 |
|
|
116 |
public void setCollDate(final String collDate) { |
|
117 |
this.collDate = collDate; |
|
118 |
} |
|
119 |
|
|
120 |
public int getCollTotal() { |
|
121 |
return collTotal; |
|
122 |
} |
|
123 |
|
|
124 |
public void setCollTotal(final int collTotal) { |
|
125 |
this.collTotal = collTotal; |
|
126 |
} |
|
127 |
|
|
128 |
public String getCollBackend() { |
|
129 |
return collBackend; |
|
130 |
} |
|
131 |
|
|
132 |
public void setCollBackend(final String collBackend) { |
|
133 |
this.collBackend = collBackend; |
|
134 |
} |
|
135 |
|
|
115 | 136 |
public String getProtocol() { |
116 | 137 |
return protocol; |
117 | 138 |
} |
... | ... | |
124 | 145 |
return alternativeName; |
125 | 146 |
} |
126 | 147 |
|
127 |
public void setAlternativeName(String alternativeName) { |
|
148 |
public void setAlternativeName(final String alternativeName) {
|
|
128 | 149 |
this.alternativeName = alternativeName; |
129 | 150 |
} |
130 | 151 |
|
... | ... | |
132 | 153 |
return repoOrganization; |
133 | 154 |
} |
134 | 155 |
|
135 |
public void setRepoOrganization(String repoOrganization) { |
|
156 |
public void setRepoOrganization(final String repoOrganization) {
|
|
136 | 157 |
this.repoOrganization = repoOrganization; |
137 | 158 |
} |
138 | 159 |
|
Also available in: Unified diff
added new fields in search response