edu.stanford.protege.webprotege.crud.AutoValue_EntityCrudKitPrefixSettings Maven / Gradle / Ivy
The newest version!
package edu.stanford.protege.webprotege.crud;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.common.collect.ImmutableList;
import javax.annotation.processing.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_EntityCrudKitPrefixSettings extends EntityCrudKitPrefixSettings {
private final String IRIPrefix;
private final ImmutableList conditionalIriPrefixes;
AutoValue_EntityCrudKitPrefixSettings(
String IRIPrefix,
ImmutableList conditionalIriPrefixes) {
if (IRIPrefix == null) {
throw new NullPointerException("Null IRIPrefix");
}
this.IRIPrefix = IRIPrefix;
if (conditionalIriPrefixes == null) {
throw new NullPointerException("Null conditionalIriPrefixes");
}
this.conditionalIriPrefixes = conditionalIriPrefixes;
}
@JsonProperty("iriPrefix")
@Override
public String getIRIPrefix() {
return IRIPrefix;
}
@JsonProperty("conditionalIriPrefixes")
@Override
public ImmutableList getConditionalIriPrefixes() {
return conditionalIriPrefixes;
}
@Override
public String toString() {
return "EntityCrudKitPrefixSettings{"
+ "IRIPrefix=" + IRIPrefix + ", "
+ "conditionalIriPrefixes=" + conditionalIriPrefixes
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof EntityCrudKitPrefixSettings) {
EntityCrudKitPrefixSettings that = (EntityCrudKitPrefixSettings) o;
return this.IRIPrefix.equals(that.getIRIPrefix())
&& this.conditionalIriPrefixes.equals(that.getConditionalIriPrefixes());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= IRIPrefix.hashCode();
h$ *= 1000003;
h$ ^= conditionalIriPrefixes.hashCode();
return h$;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy