Class ExportService.FeatureHolder

  • Enclosing class:
    ExportService

    protected class ExportService.FeatureHolder
    extends java.lang.Object
    hold the feature / linked feature relationships here
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.Map<java.lang.String,​psidev.psi.mi.jami.model.impl.DefaultModelledFeature> binderToFeatures  
      protected psidev.psi.mi.jami.model.impl.DefaultModelledParticipant participant  
      protected java.lang.String primaryIdentifier  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected FeatureHolder​(java.lang.String primaryIdentifier, psidev.psi.mi.jami.model.impl.DefaultModelledParticipant participant)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addLinkedFeature​(java.lang.String identifier, psidev.psi.mi.jami.model.impl.DefaultModelledFeature linkedFeature)  
      protected psidev.psi.mi.jami.model.impl.DefaultModelledFeature getLinkedFeature​(java.lang.String identifier)  
      protected psidev.psi.mi.jami.model.impl.DefaultModelledParticipant getParticipant()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • primaryIdentifier

        protected java.lang.String primaryIdentifier
      • binderToFeatures

        protected java.util.Map<java.lang.String,​psidev.psi.mi.jami.model.impl.DefaultModelledFeature> binderToFeatures
      • participant

        protected psidev.psi.mi.jami.model.impl.DefaultModelledParticipant participant
    • Constructor Detail

      • FeatureHolder

        protected FeatureHolder​(java.lang.String primaryIdentifier,
                                psidev.psi.mi.jami.model.impl.DefaultModelledParticipant participant)
        Parameters:
        primaryIdentifier - primary identifier for the protein
        participant - participant for this protein
    • Method Detail

      • addLinkedFeature

        protected void addLinkedFeature​(java.lang.String identifier,
                                        psidev.psi.mi.jami.model.impl.DefaultModelledFeature linkedFeature)
        Parameters:
        identifier - primary identifier for the protein that resident protein is interacting with
        linkedFeature - feature object created for this relationship
      • getLinkedFeature

        protected psidev.psi.mi.jami.model.impl.DefaultModelledFeature getLinkedFeature​(java.lang.String identifier)
        Parameters:
        identifier - primary identifier for other protein in this interaction
        Returns:
        the feature associated with this binding protein
      • getParticipant

        protected psidev.psi.mi.jami.model.impl.DefaultModelledParticipant getParticipant()
        Returns:
        participant for this feature