
/*
 *
 * Autogenerated
 *
 */

package org.inb.biomoby.shared.ontology;

import java.io.Serializable;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import java.util.List;
import org.inb.biomoby.shared.datatypes.*;
import org.inb.biomoby.shared.message.MobyObject;

  
@XmlRootElement(name="GOTerm")
@XmlType(name="GOTerm")
public class GOTerm extends MobyObject implements Serializable
{

    public List<? extends MobyString> getSynonym()
    {
        return getAttributes("Synonym");
    }

    public void addSynonym(MobyString synonym)
    {
        putAttribute("Synonym", synonym);
    }

    public MobyString getAccession()
    {
        return getAttribute("Accession");
    }

    public void setAccession(MobyString accession)
    {
        putAttribute("Accession", accession);
    }

    public MobyString getName()
    {
        return getAttribute("Name");
    }

    public void setName(MobyString name)
    {
        putAttribute("Name", name);
    }

    public MobyString getDefinition()
    {
        return getAttribute("Definition");
    }

    public void setDefinition(MobyString definition)
    {
        putAttribute("Definition", definition);
    }

    public MobyString getComment()
    {
        return getAttribute("Comment");
    }

    public void setComment(MobyString comment)
    {
        putAttribute("Comment", comment);
    }

    public MobyString getOntology()
    {
        return getAttribute("Ontology");
    }

    public void setOntology(MobyString ontology)
    {
        putAttribute("Ontology", ontology);
    }

}
