public boolean equals()

in scim-spec/scim-spec-schema/src/main/java/org/apache/directory/scim/spec/resources/Name.java [125:148]


  public boolean equals(final Object o) {
    if (o == this) return true;
    if (!(o instanceof Name)) return false;
    final Name other = (Name) o;
    if (!other.canEqual((Object) this)) return false;
    final Object this$familyName = this.getFamilyName();
    final Object other$familyName = other.getFamilyName();
    if (this$familyName == null ? other$familyName != null : !this$familyName.equals(other$familyName)) return false;
    final Object this$givenName = this.getGivenName();
    final Object other$givenName = other.getGivenName();
    if (this$givenName == null ? other$givenName != null : !this$givenName.equals(other$givenName)) return false;
    final Object this$middleName = this.getMiddleName();
    final Object other$middleName = other.getMiddleName();
    if (this$middleName == null ? other$middleName != null : !this$middleName.equals(other$middleName)) return false;
    final Object this$honorificPrefix = this.getHonorificPrefix();
    final Object other$honorificPrefix = other.getHonorificPrefix();
    if (this$honorificPrefix == null ? other$honorificPrefix != null : !this$honorificPrefix.equals(other$honorificPrefix))
      return false;
    final Object this$honorificSuffix = this.getHonorificSuffix();
    final Object other$honorificSuffix = other.getHonorificSuffix();
    if (this$honorificSuffix == null ? other$honorificSuffix != null : !this$honorificSuffix.equals(other$honorificSuffix))
      return false;
    return true;
  }