edu.stanford.protege.webprotege.viz.AutoValue_RelationshipEdgePropertyEqualsCriteria Maven / Gradle / Ivy
The newest version!
package edu.stanford.protege.webprotege.viz;
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_RelationshipEdgePropertyEqualsCriteria extends RelationshipEdgePropertyEqualsCriteria {
private final OWLProperty property;
AutoValue_RelationshipEdgePropertyEqualsCriteria(
OWLProperty property) {
if (property == null) {
throw new NullPointerException("Null property");
}
this.property = property;
}
@Nonnull
@Override
public OWLProperty getProperty() {
return property;
}
@Override
public String toString() {
return "RelationshipEdgePropertyEqualsCriteria{"
+ "property=" + property
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof RelationshipEdgePropertyEqualsCriteria) {
RelationshipEdgePropertyEqualsCriteria that = (RelationshipEdgePropertyEqualsCriteria) 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