edu.stanford.protege.webprotege.criteria.AutoValue_IriEqualsCriteria Maven / Gradle / Ivy
package edu.stanford.protege.webprotege.criteria;
import com.fasterxml.jackson.annotation.JsonProperty;
import javax.annotation.Nonnull;
import javax.annotation.processing.Generated;
import org.semanticweb.owlapi.model.IRI;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_IriEqualsCriteria extends IriEqualsCriteria {
private final IRI iri;
AutoValue_IriEqualsCriteria(
IRI iri) {
if (iri == null) {
throw new NullPointerException("Null iri");
}
this.iri = iri;
}
@Nonnull
@JsonProperty("iri")
@Override
public IRI getIri() {
return iri;
}
@Override
public String toString() {
return "IriEqualsCriteria{"
+ "iri=" + iri
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof IriEqualsCriteria) {
IriEqualsCriteria that = (IriEqualsCriteria) o;
return this.iri.equals(that.getIri());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= iri.hashCode();
return h$;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy