edu.stanford.protege.webprotege.perspective.AutoValue_StringNodePropertyValue Maven / Gradle / Ivy
package edu.stanford.protege.webprotege.perspective;
import com.fasterxml.jackson.annotation.JsonProperty;
import javax.annotation.processing.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_StringNodePropertyValue extends StringNodePropertyValue {
private final String value;
AutoValue_StringNodePropertyValue(
String value) {
if (value == null) {
throw new NullPointerException("Null value");
}
this.value = value;
}
@JsonProperty("value")
@Override
public String getValue() {
return value;
}
@Override
public String toString() {
return "StringNodePropertyValue{"
+ "value=" + value
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof StringNodePropertyValue) {
StringNodePropertyValue that = (StringNodePropertyValue) o;
return this.value.equals(that.getValue());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= value.hashCode();
return h$;
}
}