edu.stanford.protege.webprotege.criteria.AutoValue_RelationshipValueEqualsLiteralCriteria Maven / Gradle / Ivy
package edu.stanford.protege.webprotege.criteria;
import javax.annotation.Nonnull;
import javax.annotation.processing.Generated;
import org.semanticweb.owlapi.model.OWLLiteral;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_RelationshipValueEqualsLiteralCriteria extends RelationshipValueEqualsLiteralCriteria {
private final OWLLiteral value;
AutoValue_RelationshipValueEqualsLiteralCriteria(
OWLLiteral value) {
if (value == null) {
throw new NullPointerException("Null value");
}
this.value = value;
}
@Nonnull
@Override
public OWLLiteral getValue() {
return value;
}
@Override
public String toString() {
return "RelationshipValueEqualsLiteralCriteria{"
+ "value=" + value
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof RelationshipValueEqualsLiteralCriteria) {
RelationshipValueEqualsLiteralCriteria that = (RelationshipValueEqualsLiteralCriteria) 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