de.julielab.genemapper.resources.ncbigene.EntrezgeneProt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gene-mapper-resources Show documentation
Show all versions of gene-mapper-resources Show documentation
This project assembles code and files required to build the dictionaries and indexes used by the JCoRe
Gene Mapper.
The newest version!
package de.julielab.genemapper.resources.ncbigene;
import java.util.ArrayList;
import java.util.List;
/**
* Represents the Entrezgene_prot element of the gene XML format.
*
* @author faessler
*
*/
public class EntrezgeneProt {
public List protrefName;
public String protrefDesc;
public void addProtrefName(String name) {
if (null == protrefName)
protrefName = new ArrayList<>();
protrefName.add(name);
}
@Override
public String toString() {
return "EntrezgeneProt [protrefName=" + protrefName + ", protrefDesc=" + protrefDesc + "]";
}
}