public boolean equals()

in scim-spec/scim-spec-schema/src/main/java/org/apache/directory/scim/spec/resources/PhoneNumber.java [574:601]


    public boolean equals(final Object o) {
      if (o == this) return true;
      if (!(o instanceof PhoneNumberBuilder)) return false;
      final PhoneNumberBuilder other = (PhoneNumberBuilder) o;
      if (!other.canEqual((Object) this)) return false;
      final Object this$number = this.getNumber();
      final Object other$number = other.getNumber();
      if (this$number == null ? other$number != null : !this$number.equals(other$number)) return false;
      final Object this$display = this.getDisplay();
      final Object other$display = other.getDisplay();
      if (this$display == null ? other$display != null : !this$display.equals(other$display)) return false;
      final Object this$extension = this.getExtension();
      final Object other$extension = other.getExtension();
      if (this$extension == null ? other$extension != null : !this$extension.equals(other$extension)) return false;
      final Object this$subAddress = this.getSubAddress();
      final Object other$subAddress = other.getSubAddress();
      if (this$subAddress == null ? other$subAddress != null : !this$subAddress.equals(other$subAddress)) return false;
      final Object this$phoneContext = this.getPhoneContext();
      final Object other$phoneContext = other.getPhoneContext();
      if (this$phoneContext == null ? other$phoneContext != null : !this$phoneContext.equals(other$phoneContext))
        return false;
      final Object this$params = this.getParams();
      final Object other$params = other.getParams();
      if (this$params == null ? other$params != null : !this$params.equals(other$params)) return false;
      if (this.isGlobalNumber() != other.isGlobalNumber()) return false;
      if (this.isDomainPhoneContext() != other.isDomainPhoneContext()) return false;
      return true;
    }