
org.molgenis.pathways.service.AutoValue_PathwaysPerGeneParameters Maven / Gradle / Ivy
package org.molgenis.pathways.service;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_PathwaysPerGeneParameters extends PathwaysPerGeneParameters {
private final String species;
private final String gene;
AutoValue_PathwaysPerGeneParameters(
String species,
String gene) {
if (species == null) {
throw new NullPointerException("Null species");
}
this.species = species;
if (gene == null) {
throw new NullPointerException("Null gene");
}
this.gene = gene;
}
@Override
public String getSpecies() {
return species;
}
@Override
public String getGene() {
return gene;
}
@Override
public String toString() {
return "PathwaysPerGeneParameters{"
+ "species=" + species + ", "
+ "gene=" + gene
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof PathwaysPerGeneParameters) {
PathwaysPerGeneParameters that = (PathwaysPerGeneParameters) o;
return (this.species.equals(that.getSpecies()))
&& (this.gene.equals(that.getGene()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= this.species.hashCode();
h *= 1000003;
h ^= this.gene.hashCode();
return h;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy