public boolean equals()

in scim-spec/scim-spec-schema/src/main/java/org/apache/directory/scim/spec/resources/Entitlement.java [97:115]


  public boolean equals(final Object o) {
    if (o == this) return true;
    if (!(o instanceof Entitlement)) return false;
    final Entitlement other = (Entitlement) o;
    if (!other.canEqual((Object) this)) return false;
    final Object this$type = this.getType();
    final Object other$type = other.getType();
    if (this$type == null ? other$type != null : !this$type.equals(other$type)) return false;
    final Object this$value = this.getValue();
    final Object other$value = other.getValue();
    if (this$value == null ? other$value != null : !this$value.equals(other$value)) 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$primary = this.getPrimary();
    final Object other$primary = other.getPrimary();
    if (this$primary == null ? other$primary != null : !this$primary.equals(other$primary)) return false;
    return true;
  }