Package psidev.psi.mi.jami.json.elements
Class SimpleJsonHostOrganismWriter
- java.lang.Object
-
- psidev.psi.mi.jami.json.elements.SimpleJsonOrganismWriter
-
- psidev.psi.mi.jami.json.elements.SimpleJsonHostOrganismWriter
-
- All Implemented Interfaces:
JsonElementWriter<Organism>
public class SimpleJsonHostOrganismWriter extends SimpleJsonOrganismWriter
Json writer for Host organisms. It writes celltype, tissue and compartment- Since:
18/07/14
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description SimpleJsonHostOrganismWriter(Writer writer)
Constructor for SimpleJsonHostOrganismWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonElementWriter<CvTerm>
getCvWriter()
Getter for the fieldcvWriter
.void
setCvWriter(JsonElementWriter<CvTerm> cvWriter)
Setter for the fieldcvWriter
.protected void
writeOtherProperties(Organism object)
writeOtherProperties.-
Methods inherited from class psidev.psi.mi.jami.json.elements.SimpleJsonOrganismWriter
getWriter, write
-
-
-
-
Method Detail
-
getCvWriter
public JsonElementWriter<CvTerm> getCvWriter()
Getter for the field
cvWriter
.- Returns:
- a
JsonElementWriter
object.
-
setCvWriter
public void setCvWriter(JsonElementWriter<CvTerm> cvWriter)
Setter for the field
cvWriter
.- Parameters:
cvWriter
- aJsonElementWriter
object.
-
writeOtherProperties
protected void writeOtherProperties(Organism object) throws IOException
writeOtherProperties.
- Overrides:
writeOtherProperties
in classSimpleJsonOrganismWriter
- Parameters:
object
- aOrganism
object.- Throws:
IOException
- if any.
-
-