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