All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.stanford.protege.webprotege.criteria.AutoValue_RelationshipValueMatchesCriteria Maven / Gradle / Ivy

There is a newer version: 0.9.2
Show newest version
package edu.stanford.protege.webprotege.criteria;

import com.fasterxml.jackson.annotation.JsonProperty;
import javax.annotation.Nonnull;
import javax.annotation.processing.Generated;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_RelationshipValueMatchesCriteria extends RelationshipValueMatchesCriteria {

  private final CompositeRootCriteria matchCriteria;

  AutoValue_RelationshipValueMatchesCriteria(
      CompositeRootCriteria matchCriteria) {
    if (matchCriteria == null) {
      throw new NullPointerException("Null matchCriteria");
    }
    this.matchCriteria = matchCriteria;
  }

  @JsonProperty("criteria")
  @Nonnull
  @Override
  public CompositeRootCriteria getMatchCriteria() {
    return matchCriteria;
  }

  @Override
  public String toString() {
    return "RelationshipValueMatchesCriteria{"
        + "matchCriteria=" + matchCriteria
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof RelationshipValueMatchesCriteria) {
      RelationshipValueMatchesCriteria that = (RelationshipValueMatchesCriteria) o;
      return this.matchCriteria.equals(that.getMatchCriteria());
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h$ = 1;
    h$ *= 1000003;
    h$ ^= matchCriteria.hashCode();
    return h$;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy