• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

openmrs / openmrs-core / 41717837886

03 Nov 2026 08:59PM UTC coverage: 68.971% (+0.05%) from 68.922%
41717837886

push

github

ibacher
TRUNK-6863: Remove the generation token before clearing a node's cache locally (#6791)

1 of 1 new or added line in 1 file covered. (100.0%)

413 existing lines in 30 files now uncovered.

26445 of 38342 relevant lines covered (68.97%)

0.69 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

70.19
/api/src/main/java/org/openmrs/Location.java
1
/**
2
 * This Source Code Form is subject to the terms of the Mozilla Public License,
3
 * v. 2.0. If a copy of the MPL was not distributed with this file, You can
4
 * obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under
5
 * the terms of the Healthcare Disclaimer located at http://openmrs.org/license.
6
 *
7
 * Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
8
 * graphic logo is a trademark of OpenMRS Inc.
9
 */
10
package org.openmrs;
11

12
import org.hibernate.annotations.BatchSize;
13
import org.hibernate.annotations.Cache;
14
import org.hibernate.annotations.CacheConcurrencyStrategy;
15
import org.hibernate.envers.Audited;
16
import org.openmrs.annotation.Independent;
17
import org.openmrs.api.APIException;
18
import org.openmrs.api.LocationService;
19
import org.openmrs.api.context.Context;
20
import org.openmrs.util.CollectionUtil;
21
import javax.persistence.AttributeOverride;
22
import javax.persistence.Cacheable;
23
import javax.persistence.CascadeType;
24
import javax.persistence.Column;
25
import javax.persistence.Entity;
26
import javax.persistence.FetchType;
27
import javax.persistence.GeneratedValue;
28
import javax.persistence.GenerationType;
29
import javax.persistence.Id;
30
import javax.persistence.JoinColumn;
31
import javax.persistence.JoinTable;
32
import javax.persistence.ManyToMany;
33
import javax.persistence.ManyToOne;
34
import javax.persistence.OneToMany;
35
import javax.persistence.OrderBy;
36
import javax.persistence.Table;
37
import java.util.Collections;
38
import java.util.HashSet;
39
import java.util.List;
40
import java.util.Set;
41

42
/**
43
 * A Location is a physical place, such as a hospital, a room, a clinic, or a district. Locations
44
 * support a single hierarchy, such that each location may have one parent location. A
45
 * non-geographical grouping of locations, such as "All Community Health Centers" is not a location,
46
 * and should be modeled using {@link LocationTag}s.
47
 * Note: Prior to version 1.9 this class extended BaseMetadata
48
 */
49
@Entity
50
@Table(name = "location")
51
@Cacheable
52
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
53
@AttributeOverride(name = "attributes", column = @Column(name = "location_id"))
54
@Audited
55
public class Location extends BaseCustomizableMetadata<LocationAttribute> implements java.io.Serializable, Attributable<Location>, Address {
56
        
57
        public static final long serialVersionUID = 455634L;
58
        
59
        public static final int LOCATION_UNKNOWN = 1;
60
        
61
        // Fields
62
        @Id
63
        @Column(name = "location_id")
64
        @GeneratedValue(strategy = GenerationType.IDENTITY)
65
        private Integer locationId;
66
        
67
        @ManyToOne(fetch = FetchType.LAZY)
68
        @JoinColumn(name = "location_type_concept_id")
69
        private Concept type;
70
        
71
        @Column(name = "address1")
72
        private String address1;
73
        
74
        @Column(name = "address2")
75
        private String address2;
76
        
77
        @Column(name = "city_village")
78
        private String cityVillage;
79
        
80
        @Column(name = "state_province")
81
        private String stateProvince;
82
        
83
        @Column(name = "country", length = 50)
84
        private String country;
85
        
86
        @Column(name = "postal_code", length = 50)
87
        private String postalCode;
88
        
89
        @Column(name = "latitude", length = 50)
90
        private String latitude;
91
        
92
        @Column(name = "longitude", length = 50)
93
        private String longitude;
94
        
95
        @Column(name = "county_district")
96
        private String countyDistrict;
97
        
98
        @Column(name = "address3")
99
        private String address3;
100
        
101
        @Column(name = "address4")
102
        private String address4;
103
        
104
        @Column(name = "address6")
105
        private String address6;
106
        
107
        @Column(name = "address5")
108
        private String address5;
109
        
110
        @Column(name = "address7")
111
        private String address7;
112
        
113
        @Column(name = "address8")
114
        private String address8;
115
        
116
        @Column(name = "address9")
117
        private String address9;
118
        
119
        @Column(name = "address10")
120
        private String address10;
121
        
122
        @Column(name = "address11")
123
        private String address11;
124
        
125
        @Column(name = "address12")
126
        private String address12;
127
        
128
        @Column(name = "address13")
129
        private String address13;
130
        
131
        @Column(name = "address14")
132
        private String address14;
133
        
134
        @Column(name = "address15")
135
        private String address15;
136

137
        @ManyToOne(fetch = FetchType.LAZY)
138
        @JoinColumn(name = "parent_location")
139
        private Location parentLocation;
140
        
141
        @OneToMany(mappedBy = "parentLocation", cascade = CascadeType.ALL)
142
        @BatchSize(size = 100)
143
        @OrderBy("name")
144
        private Set<Location> childLocations;
145
        
146
        @ManyToMany(fetch = FetchType.LAZY)
147
        @JoinTable(
148
                name = "location_tag_map",
149
                joinColumns = @JoinColumn(name = "location_id"),
150
                inverseJoinColumns = @JoinColumn(name = "location_tag_id"))
151
        @BatchSize(size = 100)
152
        @Independent
153
        private Set<LocationTag> tags;
154
        
155
        // Constructors
156
        
157
        /** default constructor */
158
        public Location() {
1 ✔
159
        }
1 ✔
160
        
161
        /** constructor with id */
162
        public Location(Integer locationId) {
1 ✔
163
                this.locationId = locationId;
1 ✔
164
        }
1 ✔
165
        
166
        // Property accessors
167
        
168
        /**
169
         * @return Returns the address1.
170
         */
171
        @Override
172
        public String getAddress1() {
173
                return address1;
1 ✔
174
        }
175
        
176
        /**
177
         * @param address1 The address1 to set.
178
         */
179
        @Override
180
        public void setAddress1(String address1) {
181
                this.address1 = address1;
1 ✔
182
        }
1 ✔
183
        
184
        /**
185
         * @return Returns the address2.
186
         */
187
        @Override
188
        public String getAddress2() {
189
                return address2;
1 ✔
190
        }
191
        
192
        /**
193
         * @param address2 The address2 to set.
194
         */
195
        @Override
196
        public void setAddress2(String address2) {
197
                this.address2 = address2;
1 ✔
198
        }
1 ✔
199
        
200
        /**
201
         * @return Returns the cityVillage.
202
         */
203
        @Override
204
        public String getCityVillage() {
205
                return cityVillage;
1 ✔
206
        }
207
        
208
        /**
209
         * @param cityVillage The cityVillage to set.
210
         */
211
        @Override
212
        public void setCityVillage(String cityVillage) {
213
                this.cityVillage = cityVillage;
1 ✔
214
        }
1 ✔
215
        
216
        /**
217
         * @return Returns the country.
218
         */
219
        @Override
220
        public String getCountry() {
221
                return country;
1 ✔
222
        }
223
        
224
        /**
225
         * @param country The country to set.
226
         */
227
        @Override
228
        public void setCountry(String country) {
229
                this.country = country;
1 ✔
230
        }
1 ✔
231
        
232
        /**
233
         * @return Returns the latitude.
234
         */
235
        @Override
236
        public String getLatitude() {
237
                return latitude;
1 ✔
238
        }
239
        
240
        /**
241
         * @param latitude The latitude to set.
242
         */
243
        @Override
244
        public void setLatitude(String latitude) {
245
                this.latitude = latitude;
1 ✔
246
        }
1 ✔
247
        
248
        /**
249
         * @return Returns the locationId.
250
         */
251
        public Integer getLocationId() {
252
                return locationId;
1 ✔
253
        }
254
        
255
        /**
256
         * @param locationId The locationId to set.
257
         */
258
        public void setLocationId(Integer locationId) {
259
                this.locationId = locationId;
×
UNCOV
260
        }
×
261
        
262
        /**
263
         * @return Returns the longitude.
264
         */
265
        @Override
266
        public String getLongitude() {
267
                return longitude;
1 ✔
268
        }
269
        
270
        /**
271
         * @param longitude The longitude to set.
272
         */
273
        @Override
274
        public void setLongitude(String longitude) {
275
                this.longitude = longitude;
1 ✔
276
        }
1 ✔
277
        
278
        /**
279
         * @return Returns the postalCode.
280
         */
281
        @Override
282
        public String getPostalCode() {
283
                return postalCode;
1 ✔
284
        }
285
        
286
        /**
287
         * @param postalCode The postalCode to set.
288
         */
289
        @Override
290
        public void setPostalCode(String postalCode) {
291
                this.postalCode = postalCode;
1 ✔
292
        }
1 ✔
293
        
294
        /**
295
         * @return Returns the stateProvince.
296
         */
297
        @Override
298
        public String getStateProvince() {
299
                return stateProvince;
1 ✔
300
        }
301
        
302
        /**
303
         * @param stateProvince The stateProvince to set.
304
         */
305
        @Override
306
        public void setStateProvince(String stateProvince) {
307
                this.stateProvince = stateProvince;
1 ✔
308
        }
1 ✔
309
        
310
        @Override
311
        public String toString() {
312
                if (getName() != null) {
1 ✔
313
                        return getName();
1 ✔
314
                }
315
                if (getId() != null) {
1 ✔
UNCOV
316
                        return getId().toString();
×
317
                }
318
                return "";
1 ✔
319
        }
320
        
321
        /**
322
         * @return Returns the countyDistrict.
323
         */
324
        @Override
325
        public String getCountyDistrict() {
326
                return countyDistrict;
1 ✔
327
        }
328
        
329
        /**
330
         * @param countyDistrict The countyDistrict to set.
331
         */
332
        @Override
333
        public void setCountyDistrict(String countyDistrict) {
334
                this.countyDistrict = countyDistrict;
1 ✔
335
        }
1 ✔
336

337
        /**
338
         * @return Returns the code indicating the type of location this is
339
         * @since 2.5.0
340
         */
341
        public Concept getType() {
342
                return type;
1 ✔
343
        }
344
        
345
        /**
346
         * @param type The Concept for the type of location this is
347
         * @since 2.5.0
348
         */
349
        public void setType(Concept type) {
350
                this.type = type;
1 ✔
351
        }
1 ✔
352
        
353
        /**
354
         * @see org.openmrs.Attributable#findPossibleValues(java.lang.String)
355
         */
356
        @Override
357
        @Deprecated
358
        public List<Location> findPossibleValues(String searchText) {
359
                try {
UNCOV
360
                        return Context.getLocationService().getLocations(searchText);
×
361
                }
362
                catch (Exception e) {
×
UNCOV
363
                        return Collections.emptyList();
×
364
                }
365
        }
366
        
367
        /**
368
         * @see org.openmrs.Attributable#getPossibleValues()
369
         */
370
        @Override
371
        @Deprecated
372
        public List<Location> getPossibleValues() {
373
                try {
UNCOV
374
                        return Context.getLocationService().getAllLocations();
×
375
                }
376
                catch (Exception e) {
×
UNCOV
377
                        return Collections.emptyList();
×
378
                }
379
        }
380
        
381
        /**
382
         * @see org.openmrs.Attributable#hydrate(java.lang.String)
383
         */
384
        @Override
385
        public Location hydrate(String locationId) {
386
                try {
UNCOV
387
                        return Context.getLocationService().getLocation(Integer.valueOf(locationId));
×
388
                }
389
                catch (Exception e) {
×
UNCOV
390
                        return new Location();
×
391
                }
392
        }
393
        
394
        /**
395
         * @see org.openmrs.Attributable#serialize()
396
         */
397
        @Override
398
        public String serialize() {
399
                if (getLocationId() != null) {
×
UNCOV
400
                        return "" + getLocationId();
×
401
                } else {
UNCOV
402
                        return "";
×
403
                }
404
        }
405
        
406
        /**
407
         * @see org.openmrs.Attributable#getDisplayString()
408
         */
409
        @Override
410
        public String getDisplayString() {
UNCOV
411
                return getName();
×
412
        }
413
        
414
        /**
415
         * @return Returns the parentLocation.
416
         * @since 1.5
417
         */
418
        public Location getParentLocation() {
419
                return parentLocation;
1 ✔
420
        }
421
        
422
        /**
423
         * @param parentLocationId The parentLocation to set.
424
         * @since 1.5
425
         */
426
        public void setParentLocation(Location parentLocationId) {
427
                this.parentLocation = parentLocationId;
1 ✔
428
        }
1 ✔
429
        
430
        /**
431
         * @return Returns the childLocations.
432
         * @since 1.5
433
         */
434
        public Set<Location> getChildLocations() {
435
                return childLocations;
1 ✔
436
        }
437
        
438
        /**
439
         * Returns all childLocations where child.locationId = this.locationId.
440
         *
441
         * @param includeRetired specifies whether or not to include voided childLocations
442
         * @return Returns a Set&lt;Location&gt; of all the childLocations.
443
         * @since 1.5
444
         * <strong>Should</strong> return a set of locations
445
         */
446
        public Set<Location> getChildLocations(boolean includeRetired) {
447
                Set<Location> ret = new HashSet<>();
×
448
                if (includeRetired) {
×
449
                        ret = getChildLocations();
×
450
                } else if (getChildLocations() != null) {
×
451
                        for (Location l : getChildLocations()) {
×
452
                                if (!l.getRetired()) {
×
UNCOV
453
                                        ret.add(l);
×
454
                                }
UNCOV
455
                        }
×
456
                }
UNCOV
457
                return ret;
×
458
        }
459
        
460
        /**
461
         * Returns the descendant locations.
462
         *
463
         * @param includeRetired specifies whether or not to include voided childLocations
464
         * @return Returns a Set&lt;Location&gt; of the descendant location.
465
         * @since 1.10
466
         * @deprecated since 2.8.7 in favor of {@link LocationService#getDescendantLocations(Location, boolean)}
467
         */
468
        @Deprecated
469
        public Set<Location> getDescendantLocations(boolean includeRetired) {
UNCOV
470
                Set<Location> result = new HashSet<>();
×
471
                
472
                for (Location childLocation : getChildLocations()) {
×
473
                        if (!childLocation.getRetired() || includeRetired) {
×
474
                                result.add(childLocation);
×
UNCOV
475
                                result.addAll(childLocation.getDescendantLocations(includeRetired));
×
476
                        }
477
                }
×
UNCOV
478
                return result;
×
479
        }
480
        
481
        /**
482
         * @param childLocations The childLocations to set.
483
         * @since 1.5
484
         */
485
        public void setChildLocations(Set<Location> childLocations) {
486
                this.childLocations = CollectionUtil.setCollection(this.childLocations, childLocations);
×
UNCOV
487
        }
×
488
        
489
        /**
490
         * @param child The child location to add.
491
         * @since 1.5
492
         * <strong>Should</strong> return null given null parameter
493
         * <strong>Should</strong> throw APIException given same object as child
494
         * <strong>Should</strong> throw APIException if child already in hierarchy
495
         */
496
        public void addChildLocation(Location child) {
497
                if (child == null) {
1 ✔
UNCOV
498
                        return;
×
499
                }
500
                
501
                if (getChildLocations() == null) {
1 ✔
502
                        childLocations = new HashSet<>();
1 ✔
503
                }
504
                
505
                if (child.equals(this)) {
1 ✔
UNCOV
506
                        throw new APIException("Location.cannot.be.its.own.child", (Object[]) null);
×
507
                }
508
                
509
                // Traverse all the way up (down?) to the root, then check whether the child is already
510
                // anywhere in the tree
511
                Location root = this;
1 ✔
512
                while (root.getParentLocation() != null) {
1 ✔
513
                        root = root.getParentLocation();
1 ✔
514
                }
515
                
516
                if (isInHierarchy(child, root)) {
1 ✔
UNCOV
517
                        throw new APIException("Location.hierarchy.loop", new Object[] { child, this });
×
518
                }
519
                
520
                child.setParentLocation(this);
1 ✔
521
                childLocations.add(child);
1 ✔
522
        }
1 ✔
523
        
524
        /**
525
         * Checks whether 'location' is a member of the tree starting at 'root'.
526
         *
527
         * @param location The location to be tested.
528
         * @param root Location node from which to start the testing (down in the hierarchy).
529
         * @since 1.5
530
         * <strong>Should</strong> return false given any null parameter
531
         * <strong>Should</strong> return true given same object in both parameters
532
         * <strong>Should</strong> return true given location that is already somewhere in hierarchy
533
         * <strong>Should</strong> return false given location that is not in hierarchy
534
         * <strong>Should</strong> should find location in hierarchy
535
         */
536
        public static Boolean isInHierarchy(Location location, Location root) {
537
                if (root == null) {
1 ✔
UNCOV
538
                        return false;
×
539
                }
540
                while (true) {
541
                        if (location == null) {
1 ✔
542
                                return false;
1 ✔
543
                        } else if (root.equals(location)) {
1 ✔
544
                                return true;
1 ✔
545
                        }
546
                        location = location.getParentLocation();
1 ✔
547
                }
548
        }
549
        
550
        /**
551
         * @param child The child location to remove.
552
         * @since 1.5
553
         */
554
        public void removeChildLocation(Location child) {
555
                if (getChildLocations() != null) {
1 ✔
556
                        childLocations.remove(child);
1 ✔
557
                }
558
        }
1 ✔
559
        
560
        /**
561
         * @return Returns the tags which have been attached to this Location.
562
         * @since 1.5
563
         */
564
        public Set<LocationTag> getTags() {
565
                return tags;
1 ✔
566
        }
567
        
568
        /**
569
         * Set the tags which are attached to this Location.
570
         *
571
         * @param tags The tags to set.
572
         * @since 1.5
573
         */
574
        public void setTags(Set<LocationTag> tags) {
575
                this.tags = CollectionUtil.setCollection(this.tags, tags);
×
UNCOV
576
        }
×
577
        
578
        /**
579
         * Attaches a tag to the Location.
580
         *
581
         * @param tag The tag to add.
582
         * @since 1.5
583
         */
584
        public void addTag(LocationTag tag) {
585
                if (getTags() == null) {
1 ✔
586
                        tags = new HashSet<>();
1 ✔
587
                }
588
                if (tag != null && !tags.contains(tag)) {
1 ✔
589
                        tags.add(tag);
1 ✔
590
                }
591
        }
1 ✔
592
        
593
        /**
594
         * Remove the tag from the Location.
595
         *
596
         * @param tag The tag to remove.
597
         * @since 1.5
598
         */
599
        public void removeTag(LocationTag tag) {
600
                if (getTags() != null) {
1 ✔
601
                        tags.remove(tag);
1 ✔
602
                }
603
        }
1 ✔
604
        
605
        /**
606
         * Checks whether the Location has a particular tag.
607
         *
608
         * @param tagToFind the string of the tag for which to check
609
         * @return true if the tags include the specified tag, false otherwise
610
         * @since 1.5
611
         * <strong>Should</strong> not fail given null parameter
612
         * <strong>Should</strong> return false given empty string parameter
613
         */
614
        public Boolean hasTag(String tagToFind) {
615
                if (tagToFind != null && getTags() != null) {
×
616
                        for (LocationTag locTag : getTags()) {
×
617
                                if (locTag.getName().equals(tagToFind)) {
×
UNCOV
618
                                        return true;
×
619
                                }
UNCOV
620
                        }
×
621
                }
622
                
UNCOV
623
                return false;
×
624
        }
625
        
626
        /**
627
         * @since 1.8
628
         * @return the address3
629
         */
630
        @Override
631
        public String getAddress3() {
632
                return address3;
1 ✔
633
        }
634
        
635
        /**
636
         * @since 1.8
637
         * @param address3 the address3 to set
638
         */
639
        @Override
640
        public void setAddress3(String address3) {
641
                this.address3 = address3;
1 ✔
642
        }
1 ✔
643
        
644
        /**
645
         * @since 1.8
646
         * @return the address4
647
         */
648
        @Override
649
        public String getAddress4() {
650
                return address4;
1 ✔
651
        }
652
        
653
        /**
654
         * @since 1.8
655
         * @param address4 the address4 to set
656
         */
657
        @Override
658
        public void setAddress4(String address4) {
659
                this.address4 = address4;
1 ✔
660
        }
1 ✔
661
        
662
        /**
663
         * @since 1.8
664
         * @return the address6
665
         */
666
        @Override
667
        public String getAddress6() {
668
                return address6;
1 ✔
669
        }
670
        
671
        /**
672
         * @since 1.8
673
         * @param address6 the address6 to set
674
         */
675
        @Override
676
        public void setAddress6(String address6) {
677
                this.address6 = address6;
1 ✔
678
        }
1 ✔
679
        
680
        /**
681
         * @since 1.8
682
         * @return the address5
683
         */
684
        @Override
685
        public String getAddress5() {
686
                return address5;
1 ✔
687
        }
688
        
689
        /**
690
         * @since 1.8
691
         * @param address5 the address5 to set
692
         */
693
        @Override
694
        public void setAddress5(String address5) {
695
                this.address5 = address5;
1 ✔
696
        }
1 ✔
697
        
698
        /**
699
         * @since 1.5
700
         * @see org.openmrs.OpenmrsObject#getId()
701
         */
702
        @Override
703
        public Integer getId() {
704
                
705
                return getLocationId();
1 ✔
706
        }
707
        
708
        /**
709
         * @since 1.5
710
         * @see org.openmrs.OpenmrsObject#setId(java.lang.Integer)
711
         */
712
        @Override
713
        public void setId(Integer id) {
UNCOV
714
                setLocationId(id);
×
715
                
UNCOV
716
        }
×
717

718
        /**
719
         * {@inheritDoc}
720
         */
721
        @Override
722
        public String getAddress7() {
723
                return address7;
1 ✔
724
        }
725

726
        /**
727
         * {@inheritDoc}
728
         */
729
        @Override
730
        public void setAddress7(String address7) {
731
                this.address7 = address7;
1 ✔
732
        }
1 ✔
733

734
        /**
735
         * {@inheritDoc}
736
         */
737
        @Override
738
        public String getAddress8() {
739
                return address8;
1 ✔
740
        }
741

742
        /**
743
         * {@inheritDoc}
744
         */
745
        @Override
746
        public void setAddress8(String address8) {
747
                this.address8 = address8;
1 ✔
748
        }
1 ✔
749

750
        /**
751
         * {@inheritDoc}
752
         */
753
        @Override
754
        public String getAddress9() {
755
                return address9;
1 ✔
756
        }
757

758
        /**
759
         * {@inheritDoc}
760
         */
761
        @Override
762
        public void setAddress9(String address9) {
763
                this.address9 = address9;
1 ✔
764
        }
1 ✔
765

766
        /**
767
         * {@inheritDoc}
768
         */
769
        @Override
770
        public String getAddress10() {
771
                return address10;
1 ✔
772
        }
773

774
        /**
775
         * {@inheritDoc}
776
         */
777
        @Override
778
        public void setAddress10(String address10) {
779
                this.address10 = address10;
1 ✔
780
        }
1 ✔
781

782
        /**
783
         * {@inheritDoc}
784
         */
785
        @Override
786
        public String getAddress11() {
787
                return address11;
1 ✔
788
        }
789

790
        /**
791
         * {@inheritDoc}
792
         */
793
        @Override
794
        public void setAddress11(String address11) {
795
                this.address11 = address11;
1 ✔
796
        }
1 ✔
797

798
        /**
799
         * {@inheritDoc}
800
         */
801
        @Override
802
        public String getAddress12() {
803
                return address12;
1 ✔
804
        }
805

806
        /**
807
         * {@inheritDoc}
808
         */
809
        @Override
810
        public void setAddress12(String address12) {
811
                this.address12 = address12;
1 ✔
812
        }
1 ✔
813

814
        /**
815
         * {@inheritDoc}
816
         */
817
        @Override
818
        public String getAddress13() {
819
                return address13;
1 ✔
820
        }
821

822
        /**
823
         * {@inheritDoc}
824
         */
825
        @Override
826
        public void setAddress13(String address13) {
827
                this.address13 = address13;
1 ✔
828
        }
1 ✔
829

830
        /**
831
         * {@inheritDoc}
832
         */
833
        @Override
834
        public String getAddress14() {
835
                return address14;
1 ✔
836
        }
837

838
        /**
839
         * {@inheritDoc}
840
         */
841
        @Override
842
        public void setAddress14(String address14) {
843
                this.address14 = address14;
1 ✔
844
        }
1 ✔
845

846
        /**
847
         * {@inheritDoc}
848
         */
849
        @Override
850
        public String getAddress15() {
851
                return address15;
1 ✔
852
        }
853

854
        /**
855
         * {@inheritDoc}
856
         */
857
        @Override
858
        public void setAddress15(String address15) {
859
                this.address15 = address15;
1 ✔
860
        }
1 ✔
861
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc