public boolean equals()

in src/main/java/org/openvasp/core/model/ivms101/LegalPerson.java [187:200]


  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    LegalPerson legalPerson = (LegalPerson) o;
    return Objects.equals(this.name, legalPerson.name) &&
        Objects.equals(this.geographicAddresses, legalPerson.geographicAddresses) &&
        Objects.equals(this.customerNumber, legalPerson.customerNumber) &&
        Objects.equals(this.nationalIdentification, legalPerson.nationalIdentification) &&
        Objects.equals(this.countryOfRegistration, legalPerson.countryOfRegistration);
  }