edu.stanford.protege.webprotege.criteria.AutoValue_IriHasAnnotationCriteria Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of webprotege-criteria Show documentation
Show all versions of webprotege-criteria Show documentation
Data structures for representing matching criteria
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_IriHasAnnotationCriteria extends IriHasAnnotationCriteria {
private final AnnotationCriteria iriAnnotationCriteria;
AutoValue_IriHasAnnotationCriteria(
AnnotationCriteria iriAnnotationCriteria) {
if (iriAnnotationCriteria == null) {
throw new NullPointerException("Null iriAnnotationCriteria");
}
this.iriAnnotationCriteria = iriAnnotationCriteria;
}
@JsonProperty("annotationCriteria")
@Nonnull
@Override
public AnnotationCriteria getIriAnnotationCriteria() {
return iriAnnotationCriteria;
}
@Override
public String toString() {
return "IriHasAnnotationCriteria{"
+ "iriAnnotationCriteria=" + iriAnnotationCriteria
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof IriHasAnnotationCriteria) {
IriHasAnnotationCriteria that = (IriHasAnnotationCriteria) o;
return this.iriAnnotationCriteria.equals(that.getIriAnnotationCriteria());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= iriAnnotationCriteria.hashCode();
return h$;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy