Package psidev.psi.mi.jami.json.elements
Class SimpleJsonFeatureEvidenceWriter
- java.lang.Object
-
- psidev.psi.mi.jami.json.elements.SimpleJsonFeatureWriter<FeatureEvidence>
-
- psidev.psi.mi.jami.json.elements.SimpleJsonFeatureEvidenceWriter
-
- All Implemented Interfaces:
JsonElementWriter<FeatureEvidence>
public class SimpleJsonFeatureEvidenceWriter extends SimpleJsonFeatureWriter<FeatureEvidence>
Json writer for modelled features- Since:
18/07/14
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description SimpleJsonFeatureEvidenceWriter(Writer writer, Map<Feature,Integer> processedFeatures, Map<String,String> processedInteractors, Map<Entity,Integer> processedParticipants)
Constructor for SimpleJsonFeatureEvidenceWriter.SimpleJsonFeatureEvidenceWriter(Writer writer, Map<Feature,Integer> processedFeatures, Map<String,String> processedInteractors, Map<Entity,Integer> processedParticipants, IncrementalIdGenerator idGenerator, OntologyTermFetcher fetcher)
Constructor for SimpleJsonFeatureEvidenceWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonElementWriter<Parameter>
getParameterWriter()
Getter for the fieldparameterWriter
.void
setParameterWriter(JsonElementWriter<Parameter> parameterWriter)
Setter for the fieldparameterWriter
.protected void
writeOtherProperties(FeatureEvidence object)
writeOtherProperties.-
Methods inherited from class psidev.psi.mi.jami.json.elements.SimpleJsonFeatureWriter
getCvWriter, getIdentifierWriter, getIdGenerator, getRangeWriter, getWriter, recognizeFeatureCategory, setCvWriter, setIdentifierWriter, setIdGenerator, setRangeWriter, write
-
-
-
-
Constructor Detail
-
SimpleJsonFeatureEvidenceWriter
public SimpleJsonFeatureEvidenceWriter(Writer writer, Map<Feature,Integer> processedFeatures, Map<String,String> processedInteractors, Map<Entity,Integer> processedParticipants)
Constructor for SimpleJsonFeatureEvidenceWriter.
-
SimpleJsonFeatureEvidenceWriter
public SimpleJsonFeatureEvidenceWriter(Writer writer, Map<Feature,Integer> processedFeatures, Map<String,String> processedInteractors, Map<Entity,Integer> processedParticipants, IncrementalIdGenerator idGenerator, OntologyTermFetcher fetcher)
Constructor for SimpleJsonFeatureEvidenceWriter.
- Parameters:
writer
- aWriter
object.processedFeatures
- aMap
object.processedInteractors
- aMap
object.processedParticipants
- aMap
object.idGenerator
- aIncrementalIdGenerator
object.fetcher
- aOntologyTermFetcher
object.
-
-
Method Detail
-
writeOtherProperties
protected void writeOtherProperties(FeatureEvidence object) throws IOException
writeOtherProperties.
- Overrides:
writeOtherProperties
in classSimpleJsonFeatureWriter<FeatureEvidence>
- Parameters:
object
- a F object.- Throws:
IOException
- if any.
-
getParameterWriter
public JsonElementWriter<Parameter> getParameterWriter()
Getter for the field
parameterWriter
.- Returns:
- a
JsonElementWriter
object.
-
setParameterWriter
public void setParameterWriter(JsonElementWriter<Parameter> parameterWriter)
Setter for the field
parameterWriter
.- Parameters:
parameterWriter
- aJsonElementWriter
object.
-
-