edu.stanford.protege.webprotege.criteria.AutoValue_RelationshipValueEqualsEntityCriteria 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;
import org.semanticweb.owlapi.model.OWLEntity;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_RelationshipValueEqualsEntityCriteria extends RelationshipValueEqualsEntityCriteria {
private final OWLEntity value;
AutoValue_RelationshipValueEqualsEntityCriteria(
OWLEntity value) {
if (value == null) {
throw new NullPointerException("Null value");
}
this.value = value;
}
@Nonnull
@JsonProperty("value")
@Override
public OWLEntity getValue() {
return value;
}
@Override
public String toString() {
return "RelationshipValueEqualsEntityCriteria{"
+ "value=" + value
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof RelationshipValueEqualsEntityCriteria) {
RelationshipValueEqualsEntityCriteria that = (RelationshipValueEqualsEntityCriteria) o;
return this.value.equals(that.getValue());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= value.hashCode();
return h$;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy