public boolean equals()

in scim-spec/scim-spec-schema/src/main/java/org/apache/directory/scim/spec/schema/ResourceType.java [101:125]


  public boolean equals(final Object o) {
    if (o == this) return true;
    if (!(o instanceof ResourceType)) return false;
    final ResourceType other = (ResourceType) o;
    if (!other.canEqual((Object) this)) return false;
    if (!super.equals(o)) return false;
    final Object this$name = this.getName();
    final Object other$name = other.getName();
    if (this$name == null ? other$name != null : !this$name.equals(other$name)) return false;
    final Object this$description = this.getDescription();
    final Object other$description = other.getDescription();
    if (this$description == null ? other$description != null : !this$description.equals(other$description))
      return false;
    final Object this$endpoint = this.getEndpoint();
    final Object other$endpoint = other.getEndpoint();
    if (this$endpoint == null ? other$endpoint != null : !this$endpoint.equals(other$endpoint)) return false;
    final Object this$schemaUrn = this.getSchemaUrn();
    final Object other$schemaUrn = other.getSchemaUrn();
    if (this$schemaUrn == null ? other$schemaUrn != null : !this$schemaUrn.equals(other$schemaUrn)) return false;
    final Object this$schemaExtensions = this.getSchemaExtensions();
    final Object other$schemaExtensions = other.getSchemaExtensions();
    if (this$schemaExtensions == null ? other$schemaExtensions != null : !this$schemaExtensions.equals(other$schemaExtensions))
      return false;
    return true;
  }