Package psidev.psi.mi.jami.json.elements
Class SimpleJsonModelledInteractionWriter<I extends ModelledInteraction>
- java.lang.Object
-
- psidev.psi.mi.jami.json.elements.SimpleJsonInteractionWriter<I>
-
- psidev.psi.mi.jami.json.elements.SimpleJsonModelledInteractionWriter<I>
-
- All Implemented Interfaces:
JsonElementWriter<I>
- Direct Known Subclasses:
SimpleJsonModelledBinaryInteractionWriter
public class SimpleJsonModelledInteractionWriter<I extends ModelledInteraction> extends SimpleJsonInteractionWriter<I>
Json writer for modelled interactions- Since:
18/07/14
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description SimpleJsonModelledInteractionWriter(Writer writer, Map<Feature,Integer> processedFeatures, Map<String,String> processedInteractors, Map<Entity,Integer> processedParticipants)Constructor for SimpleJsonModelledInteractionWriter.SimpleJsonModelledInteractionWriter(Writer writer, Map<Feature,Integer> processedFeatures, Map<String,String> processedInteractors, Map<Entity,Integer> processedParticipants, IncrementalIdGenerator idGenerator)Constructor for SimpleJsonModelledInteractionWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonElementWriter<Confidence>getConfidenceWriter()Getter for the fieldconfidenceWriter.JsonElementWriter<Organism>getOrganismWriter()Getter for the fieldorganismWriter.JsonElementWriter<Parameter>getParameterWriter()Getter for the fieldparameterWriter.protected voidinitialiseDefaultParticipantWriter()initialiseDefaultParticipantWriter.voidsetConfidenceWriter(JsonElementWriter<Confidence> confidenceWriter)Setter for the fieldconfidenceWriter.voidsetOrganismWriter(JsonElementWriter<Organism> organismWriter)Setter for the fieldorganismWriter.voidsetParameterWriter(JsonElementWriter<Parameter> parameterWriter)Setter for the fieldparameterWriter.protected voidwriteOtherProperties(I object)writeOtherProperties.-
Methods inherited from class psidev.psi.mi.jami.json.elements.SimpleJsonInteractionWriter
generateInteractionIdentifier, getCvWriter, getFetcher, getIdentifierWriter, getIdGenerator, getParticipantWriter, getProcessedFeatures, getProcessedInteractors, getProcessedParticipants, getWriter, hasIdentifiers, setCvWriter, setFetcher, setIdentifierWriter, setIdGenerator, setParticipantWriter, write, writeAllIdentifiers, writeExpansionMethod, writeOtherExpansionMethodProperties, writeOtherIdentifiers
-
-
-
-
Constructor Detail
-
SimpleJsonModelledInteractionWriter
public SimpleJsonModelledInteractionWriter(Writer writer, Map<Feature,Integer> processedFeatures, Map<String,String> processedInteractors, Map<Entity,Integer> processedParticipants)
Constructor for SimpleJsonModelledInteractionWriter.
-
SimpleJsonModelledInteractionWriter
public SimpleJsonModelledInteractionWriter(Writer writer, Map<Feature,Integer> processedFeatures, Map<String,String> processedInteractors, Map<Entity,Integer> processedParticipants, IncrementalIdGenerator idGenerator)
Constructor for SimpleJsonModelledInteractionWriter.
- Parameters:
writer- aWriterobject.processedFeatures- aMapobject.processedInteractors- aMapobject.processedParticipants- aMapobject.idGenerator- aIncrementalIdGeneratorobject.
-
-
Method Detail
-
writeOtherProperties
protected void writeOtherProperties(I object) throws IOException
writeOtherProperties.
- Overrides:
writeOtherPropertiesin classSimpleJsonInteractionWriter<I extends ModelledInteraction>- Parameters:
object- a I object.- Throws:
IOException- if any.
-
initialiseDefaultParticipantWriter
protected void initialiseDefaultParticipantWriter()
initialiseDefaultParticipantWriter.
- Overrides:
initialiseDefaultParticipantWriterin classSimpleJsonInteractionWriter<I extends ModelledInteraction>
-
getOrganismWriter
public JsonElementWriter<Organism> getOrganismWriter()
Getter for the field
organismWriter.- Returns:
- a
JsonElementWriterobject.
-
setOrganismWriter
public void setOrganismWriter(JsonElementWriter<Organism> organismWriter)
Setter for the field
organismWriter.- Parameters:
organismWriter- aJsonElementWriterobject.
-
getConfidenceWriter
public JsonElementWriter<Confidence> getConfidenceWriter()
Getter for the field
confidenceWriter.- Returns:
- a
JsonElementWriterobject.
-
setConfidenceWriter
public void setConfidenceWriter(JsonElementWriter<Confidence> confidenceWriter)
Setter for the field
confidenceWriter.- Parameters:
confidenceWriter- aJsonElementWriterobject.
-
getParameterWriter
public JsonElementWriter<Parameter> getParameterWriter()
Getter for the field
parameterWriter.- Returns:
- a
JsonElementWriterobject.
-
setParameterWriter
public void setParameterWriter(JsonElementWriter<Parameter> parameterWriter)
Setter for the field
parameterWriter.- Parameters:
parameterWriter- aJsonElementWriterobject.
-
-