
edu.stanford.protege.webprotege.entity.AutoValue_OWLLiteralData Maven / Gradle / Ivy
package edu.stanford.protege.webprotege.entity;
import com.fasterxml.jackson.annotation.JsonIgnore;
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_OWLLiteralData extends OWLLiteralData {
private final OWLLiteral object;
AutoValue_OWLLiteralData(
OWLLiteral object) {
if (object == null) {
throw new NullPointerException("Null object");
}
this.object = object;
}
@JsonIgnore
@Nonnull
@Override
public OWLLiteral getObject() {
return object;
}
@Override
public String toString() {
return "OWLLiteralData{"
+ "object=" + object
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof OWLLiteralData) {
OWLLiteralData that = (OWLLiteralData) o;
return this.object.equals(that.getObject());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= object.hashCode();
return h$;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy