edu.stanford.protege.webprotege.criteria.AutoValue_EntityHasConflictingBooleanAnnotationValuesCriteria 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_EntityHasConflictingBooleanAnnotationValuesCriteria extends EntityHasConflictingBooleanAnnotationValuesCriteria {
private final AnnotationPropertyCriteria propertyCriteria;
AutoValue_EntityHasConflictingBooleanAnnotationValuesCriteria(
AnnotationPropertyCriteria propertyCriteria) {
if (propertyCriteria == null) {
throw new NullPointerException("Null propertyCriteria");
}
this.propertyCriteria = propertyCriteria;
}
@JsonProperty("property")
@Nonnull
@Override
public AnnotationPropertyCriteria getPropertyCriteria() {
return propertyCriteria;
}
@Override
public String toString() {
return "EntityHasConflictingBooleanAnnotationValuesCriteria{"
+ "propertyCriteria=" + propertyCriteria
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof EntityHasConflictingBooleanAnnotationValuesCriteria) {
EntityHasConflictingBooleanAnnotationValuesCriteria that = (EntityHasConflictingBooleanAnnotationValuesCriteria) o;
return this.propertyCriteria.equals(that.getPropertyCriteria());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= propertyCriteria.hashCode();
return h$;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy