*/
void setBranchHouseNumber (final Short branchHouseNumber);
+ /**
+ * Getter for house number's extension
+ * <p>
+ * @return House number's extension
+ */
+ String getBranchHouseNumberExtension ();
+
+ /**
+ * Setter for house number's extension
+ * <p>
+ * @param branchHouseNumberExtension House number's extension
+ */
+ void setBranchHouseNumberExtension (final String branchHouseNumberExtension);
+
/**
* Getter for branch office's last house number
* <p>
} else if (!Objects.equals(branchOffice1.getBranchHouseNumber(), branchOffice2.getBranchHouseNumber())) {
// Not the same
isSameAddress = false;
+ } else if (!Objects.equals(branchOffice1.getBranchHouseNumberExtension(), branchOffice2.getBranchHouseNumberExtension())) {
+ // Not the same
+ isSameAddress = false;
} else if (!Objects.equals(branchOffice1.getBranchStore(), branchOffice2.getBranchStore())) {
// Not the same
isSameAddress = false;
@Column (name = "branch_house_number", nullable = false)
private Short branchHouseNumber;
+ /**
+ * House number's extension
+ */
+ @Column (name = "branch_house_number_extension")
+ private String branchHouseNumberExtension;
+
/**
* Id number
*/
this.branchHouseNumber = branchHouseNumber;
}
+ @Override
+ public String getBranchHouseNumberExtension () {
+ return this.branchHouseNumberExtension;
+ }
+
+ @Override
+ public void setBranchHouseNumberExtension (final String branchHouseNumberExtension) {
+ this.branchHouseNumberExtension = branchHouseNumberExtension;
+ }
+
@Override
public Long getBranchId () {
return this.branchId;
@Column (name = "headquarter_house_number", length = 4, nullable = false)
private Short headquarterHouseNumber;
+ /**
+ * House number's extension
+ */
+ @Column (name = "headquarter_house_number_extension")
+ private String headquarterHouseNumberExtension;
+
/**
* Id number
*/
this.headquarterHouseNumber = headquarterHouseNumber;
}
+ @Override
+ public String getHeadquarterHouseNumberExtension () {
+ return this.headquarterHouseNumberExtension;
+ }
+
+ @Override
+ public void setHeadquarterHouseNumberExtension (final String headquarterHouseNumberExtension) {
+ this.headquarterHouseNumberExtension = headquarterHouseNumberExtension;
+ }
+
@Override
public Long getHeadquarterId () {
return this.headquarterId;
*/
void setHeadquarterHouseNumber (final Short headquarterHouseNumber);
+ /**
+ * Getter for house number's extension
+ * <p>
+ * @return House number's extension
+ */
+ String getHeadquarterHouseNumberExtension ();
+
+ /**
+ * Setter for house number's extension
+ * <p>
+ * @param headquarterHouseNumberExtension House number's extension
+ */
+ void setHeadquarterHouseNumberExtension (final String headquarterHouseNumberExtension);
+
/**
* Getter for headquarter's last house number
* <p>
} else if (!Objects.equals(headquarter1.getHeadquarterHouseNumber(), headquarter2.getHeadquarterHouseNumber())) {
// Not the same
isSameAddress = false;
+ } else if (!Objects.equals(headquarter1.getHeadquarterHouseNumberExtension(), headquarter2.getHeadquarterHouseNumberExtension())) {
+ // Not the same
+ isSameAddress = false;
} else if (!Objects.equals(headquarter1.getHeadquarterStore(), headquarter2.getHeadquarterStore())) {
// Not the same
isSameAddress = false;