Skip to content

Commit

Permalink
reformatted some code
Browse files Browse the repository at this point in the history
  • Loading branch information
clausnagel committed Jul 15, 2024
1 parent 0a8acbe commit 877881c
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public void writeChildElements(Country object, Namespaces namespaces, XMLWriter
Thoroughfare thoroughfare = null;
if (address != null && address.getThoroughfare() != null) {
thoroughfare = address.getThoroughfare();
} if (properties != null) {
} else if (properties != null) {
thoroughfare = properties.getThoroughfare();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@

public interface Postal {
String getCode();

void setCode(String code);
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

public interface Abbreviation {
Boolean getAbbreviation();

boolean isSetAbbreviation();

void setAbbreviation(Boolean abbreviation);
}
5 changes: 5 additions & 0 deletions src/main/java/org/xmlobjects/xal/model/types/DataQuality.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,14 @@

public interface DataQuality {
DataQualityType getDataQualityType();

void setDataQualityType(DataQualityType dataQualityType);

OffsetDateTime getValidFrom();

void setValidFrom(OffsetDateTime validFrom);

OffsetDateTime getValidTo();

void setValidTo(OffsetDateTime validTo);
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@

public interface LanguageCode {
String getLanguageCode();

void setLanguageCode(String languageCode);
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@

public interface ValidityDate {
OffsetDateTime getDateValidFrom();

void setDateValidFrom(OffsetDateTime dateValidFrom);

OffsetDateTime getDateValidTo();

void setDateValidTo(OffsetDateTime dateValidTo);
}
17 changes: 17 additions & 0 deletions src/main/java/org/xmlobjects/xal/visitor/XALVisitor.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,38 @@

public interface XALVisitor {
void visit(Address address);

void visit(AdministrativeArea administrativeArea);

void visit(Country country);

void visit(FreeTextAddress freeTextAddress);

void visit(GeoRSS geoRSS);

void visit(Locality locality);

void visit(LocationByCoordinates locationByCoordinates);

void visit(PostalDeliveryPoint postalDeliveryPoint);

void visit(PostalServiceElements postalServiceElements);

void visit(PostCode postCode);

void visit(PostOffice postOffice);

void visit(Premises premises);

void visit(RuralDelivery ruralDelivery);

void visit(SubAdministrativeArea subAdministrativeArea);

void visit(SubLocality subLocality);

void visit(SubPremises subPremises);

void visit(SubThoroughfare subThoroughfare);

void visit(Thoroughfare thoroughfare);
}

0 comments on commit 877881c

Please sign in to comment.