@@ -114,185 +114,331 @@ public Repository(@NonNull Long id, @NonNull String name, @NonNull String url) {
114
114
this .setUrl (url );
115
115
}
116
116
117
- /* Setters */
117
+ /**
118
+ * Setter for id.
119
+ * @param value the id of the repository.
120
+ */
118
121
public void setId (@ NonNull Long value ) {
119
122
this .id = value ;
120
123
}
121
124
125
+ /**
126
+ * Setter for nodeId.
127
+ * @param value the nodeId of the repository.
128
+ */
122
129
public void setNodeId (@ NonNull String value ) {
123
130
this .nodeId = value ;
124
131
}
125
132
133
+ /**
134
+ * Setter for name.
135
+ * @param value the name of the repository.
136
+ */
126
137
public void setName (@ NonNull String value ) {
127
138
this .name = value ;
128
139
}
129
140
141
+ /**
142
+ * Setter for fullName.
143
+ * @param value the fullName of the repository.
144
+ */
130
145
public void setFullName (@ NonNull String value ) {
131
146
this .fullName = value ;
132
147
}
133
148
149
+ /**
150
+ * Setter for fileName.
151
+ * @param value the file-name of the repository.
152
+ */
134
153
public void setFileName (@ NonNull String value ) {
135
154
this .fileName = value ;
136
155
}
137
156
157
+ /**
158
+ * Setter for url.
159
+ * @param value the url of the repository.
160
+ */
138
161
public void setUrl (@ NonNull String value ) {
139
162
this .url = value ;
140
163
}
141
164
165
+ /**
166
+ * Setter for htmlUrl.
167
+ * @param value the htmlUrl of the repository.
168
+ */
142
169
public void setHtmlUrl (@ NonNull String value ) {
143
170
this .htmlUrl = value ;
144
171
}
145
172
173
+ /**
174
+ * Setter for owner.
175
+ * @param value the owner of the repository.
176
+ */
146
177
public void setOwner (@ NonNull Owner value ) {
147
178
this .owner = value ;
148
179
}
149
180
181
+ /**
182
+ * Setter for ownerId.
183
+ * @param value the ownerId of the repository.
184
+ */
150
185
public void setOwnerId (@ NonNull Long value ) {
151
186
this .ownerId = value ;
152
187
}
153
188
189
+ /**
190
+ * Setter for license.
191
+ * @param value the license of the repository.
192
+ */
154
193
public void setLicense (@ NonNull License value ) {
155
194
this .license = value ;
156
195
}
157
196
197
+ /**
198
+ * Setter for licenseId.
199
+ * @param value the licenseId of the repository.
200
+ */
158
201
public void setLicenseId (@ NonNull Long value ) {
159
202
this .licenseId = value ;
160
203
}
161
204
205
+ /**
206
+ * Setter for forkCount.
207
+ * @param value the fork-count of the repository.
208
+ */
162
209
public void setForkCount (@ NonNull Long value ) {
163
210
this .forkCount = value ;
164
211
}
165
212
213
+ /**
214
+ * Setter for stargazerCount.
215
+ * @param value the stargazer-count of the repository.
216
+ */
166
217
public void setStargazerCount (@ NonNull Long value ) {
167
218
this .stargazerCount = value ;
168
219
}
169
220
221
+ /**
222
+ * Setter for watcherCount.
223
+ * @param value the watcher-count of the repository.
224
+ */
170
225
public void setWatcherCount (@ NonNull Long value ) {
171
226
this .watcherCount = value ;
172
227
}
173
228
229
+ /**
230
+ * Setter for subscriberCount.
231
+ * @param value the subscriber-count of the repository.
232
+ */
174
233
public void setSubscriberCount (@ NonNull Long value ) {
175
234
this .subscriberCount = value ;
176
235
}
177
236
237
+ /**
238
+ * Setter for networkCount.
239
+ * @param value the network-count of the repository.
240
+ */
178
241
public void setNetworkCount (@ NonNull Long value ) {
179
242
this .networkCount = value ;
180
243
}
181
244
245
+ /**
246
+ * Setter for topics.
247
+ * @param value the topics of the repository.
248
+ */
182
249
public void setTopics (@ NonNull String [] value ) {
183
250
this .topics = value ;
184
251
}
185
252
253
+ /**
254
+ * Setter for workflows.
255
+ * @param value the workflows of the repository.
256
+ */
186
257
public void setWorkflows (@ NonNull ArrayList <Workflow > value ) {
187
258
this .workflows = value ;
188
259
}
189
260
190
- /* Getters */
261
+ /**
262
+ * Getter for id.
263
+ * @return the ID of the repository.
264
+ */
191
265
@ NonNull
192
266
@ Bindable
193
267
public Long getId () {
194
268
return this .id ;
195
269
}
196
270
271
+ /**
272
+ * Getter for nodeId.
273
+ * @return the nodeId of the repository.
274
+ */
197
275
@ NonNull
198
276
@ Bindable
199
277
public String getNodeId () {
200
278
return this .nodeId ;
201
279
}
202
280
281
+ /**
282
+ * Getter for name.
283
+ * @return the name of the repository.
284
+ */
203
285
@ NonNull
204
286
@ Bindable
205
287
public String getName () {
206
288
return this .name ;
207
289
}
208
290
291
+ /**
292
+ * Getter for fileName.
293
+ * @return the file-name of the repository.
294
+ */
209
295
@ NonNull
210
296
@ Bindable
211
297
public String getFileName () {
212
298
return this .fileName ;
213
299
}
214
300
301
+ /**
302
+ * Getter for fullName.
303
+ * @return the full name of the repository.
304
+ */
215
305
@ NonNull
216
306
@ Bindable
217
307
public String getFullName () {
218
308
return this .fullName ;
219
309
}
220
310
311
+ /**
312
+ * Getter for url.
313
+ * @return the url of the repository.
314
+ */
221
315
@ NonNull
222
316
@ Bindable
223
317
public String getUrl () {
224
318
return this .url ;
225
319
}
226
320
321
+ /**
322
+ * Getter for htmlUrl.
323
+ * @return the htmlUrl of the repository.
324
+ */
227
325
@ NonNull
228
326
@ Bindable
229
327
public String getHtmlUrl () {
230
328
return this .htmlUrl ;
231
329
}
232
330
331
+ /**
332
+ * Getter for owner.
333
+ * @return the owner of the repository.
334
+ */
233
335
@ NonNull
234
336
@ Bindable
235
337
public Owner getOwner () {
236
338
return this .owner ;
237
339
}
238
340
341
+ /**
342
+ * Getter for ownerId.
343
+ * @return the ownerId of the repository.
344
+ */
239
345
@ NonNull
240
346
public Long getOwnerId () {
241
347
return this .ownerId ;
242
348
}
243
349
350
+ /**
351
+ * Getter for license.
352
+ * @return the license of the repository.
353
+ */
244
354
@ NonNull
245
355
@ Bindable
246
356
public License getLicense () {
247
357
return this .license ;
248
358
}
249
359
360
+ /**
361
+ * Getter for licenseId.
362
+ * @return the licenseId of the repository.
363
+ */
250
364
@ NonNull
251
365
public Long getLicenseId () {
252
366
return this .licenseId ;
253
367
}
254
368
369
+ /**
370
+ * Getter for forkCount.
371
+ * @return the fork-count of the repository.
372
+ */
255
373
@ NonNull
256
374
@ Bindable
257
375
public Long getForkCount () {
258
376
return this .forkCount ;
259
377
}
260
378
379
+ /**
380
+ * Getter for forkCount.
381
+ * @return the fork-count of the repository.
382
+ */
261
383
@ NonNull
262
384
@ Bindable
263
385
public Long getStargazerCount () {
264
386
return this .stargazerCount ;
265
387
}
266
388
389
+ /**
390
+ * Getter for forkCount.
391
+ * @return the fork-count of the repository.
392
+ */
267
393
@ NonNull
268
394
@ Bindable
269
395
public Long getWatcherCount () {
270
396
return this .watcherCount ;
271
397
}
272
398
399
+ /**
400
+ * Getter for forkCount.
401
+ * @return the fork-count of the repository.
402
+ */
273
403
@ NonNull
274
404
@ Bindable
275
405
public Long getSubscriberCount () {
276
406
return this .subscriberCount ;
277
407
}
278
408
409
+ /**
410
+ * Getter for forkCount.
411
+ * @return the fork-count of the repository.
412
+ */
279
413
@ NonNull
280
414
@ Bindable
281
415
public Long getNetworkCount () {
282
416
return this .networkCount ;
283
417
}
284
418
419
+ /**
420
+ * Getter for topics.
421
+ * @return the topics of the repository.
422
+ */
285
423
@ NonNull
286
424
@ Bindable
287
425
public String [] getTopics () {
288
426
return this .topics ;
289
427
}
290
428
429
+ /**
430
+ * Getter for workflows.
431
+ * @return the workflows of the repository.
432
+ */
291
433
@ NonNull
292
434
public ArrayList <Workflow > getWorkflows () {
293
435
return this .workflows ;
294
436
}
295
437
438
+ /**
439
+ * Getter for workflowCount.
440
+ * @return the total count of workflows in the repository.
441
+ */
296
442
@ Bindable
297
443
public int getWorkflowCount () {
298
444
return this .workflows .size ();
0 commit comments