Tabnine Logo
Experiment2xmlPSI1
Code IndexAdd Tabnine to your IDE (free)

How to use
Experiment2xmlPSI1
in
uk.ac.ebi.intact.application.dataConversion.psiDownload.xmlGenerator.psi1

Best Java code snippets using uk.ac.ebi.intact.application.dataConversion.psiDownload.xmlGenerator.psi1.Experiment2xmlPSI1 (Showing top 9 results out of 315)

origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

element.setAttribute( "id", getExperimentId( experiment ) );
createNames( session, element, experiment );
Collection pubmedXrefs = createBibRef( session, element, experiment );
createExperimentXrefs( session, element, experiment, pubmedXrefs );
createConfidence( session, element, experiment );
  createAttributeList( session, element, experiment, attributeListFilter );
origin: uk.ac.ebi.intact.app/data-conversion

  /**
   * Gives the right version of the Psi XML generator according to the user's session
   *
   * @param session the user session that will indicate which version of the Psi generator is required
   *
   * @return
   */
  public static Experiment2xmlI getInstance( UserSessionDownload session ) {

    if ( session.getPsiVersion().equals( PsiVersion.VERSION_1 ) ) {

      return Experiment2xmlPSI1.getInstance();

    } else if ( session.getPsiVersion().equals( PsiVersion.VERSION_2 ) ) {

      return Experiment2xmlPSI2.getInstance();

    } else if ( session.getPsiVersion().equals( PsiVersion.VERSION_25 ) ) {

      return Experiment2xmlPSI25.getInstance();

    } else {

      throw new IllegalStateException( "We do not support PSI version " + session.getPsiVersion() );
    }
  }
}
origin: uk.ac.ebi.intact.util/data-conversion

element.setAttribute( "ref", getExperimentId( experiment ) );
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

  /**
   * Gives the right version of the Psi XML generator according to the user's session
   *
   * @param session the user session that will indicate which version of the Psi generator is required
   *
   * @return
   */
  public static Experiment2xmlI getInstance( UserSessionDownload session ) {

    if ( session.getPsiVersion().equals( PsiVersion.VERSION_1 ) ) {

      return Experiment2xmlPSI1.getInstance();

    } else if ( session.getPsiVersion().equals( PsiVersion.VERSION_2 ) ) {

      return Experiment2xmlPSI2.getInstance();

    } else if ( session.getPsiVersion().equals( PsiVersion.VERSION_25 ) ) {

      return Experiment2xmlPSI25.getInstance();

    } else {

      throw new IllegalStateException( "We do not support PSI version " + session.getPsiVersion() );
    }
  }
}
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

element.setAttribute( "ref", getExperimentId( experiment ) );
origin: uk.ac.ebi.intact.app/data-conversion

element.setAttribute( "id", getExperimentId( experiment ) );
createNames( session, element, experiment );
Collection pubmedXrefs = createBibRef( session, element, experiment );
createExperimentXrefs( session, element, experiment, pubmedXrefs );
createConfidence( session, element, experiment );
  createAttributeList( session, element, experiment, attributeListFilter );
origin: uk.ac.ebi.intact.util/data-conversion

  /**
   * Gives the right version of the Psi XML generator according to the user's session
   *
   * @param session the user session that will indicate which version of the Psi generator is required
   *
   * @return
   */
  public static Experiment2xmlI getInstance( UserSessionDownload session ) {

    if ( session.getPsiVersion().equals( PsiVersion.VERSION_1 ) ) {

      return Experiment2xmlPSI1.getInstance();

    } else if ( session.getPsiVersion().equals( PsiVersion.VERSION_2 ) ) {

      return Experiment2xmlPSI2.getInstance();

    } else if ( session.getPsiVersion().equals( PsiVersion.VERSION_25 ) ) {

      return Experiment2xmlPSI25.getInstance();

    } else {

      throw new IllegalStateException( "We do not support PSI version " + session.getPsiVersion() );
    }
  }
}
origin: uk.ac.ebi.intact.app/data-conversion

element.setAttribute( "ref", getExperimentId( experiment ) );
origin: uk.ac.ebi.intact.util/data-conversion

element.setAttribute( "id", getExperimentId( experiment ) );
createNames( session, element, experiment );
Collection pubmedXrefs = createBibRef( session, element, experiment );
createExperimentXrefs( session, element, experiment, pubmedXrefs );
createConfidence( session, element, experiment );
  createAttributeList( session, element, experiment, attributeListFilter );
uk.ac.ebi.intact.application.dataConversion.psiDownload.xmlGenerator.psi1Experiment2xmlPSI1

Javadoc

Process the common behaviour of an IntAct Experiment when exporting PSI version 1.

Most used methods

  • createAttributeList
  • createBibRef
    generate the bibliographical reference of the Experiment out of the Xref having the CvDatabase pubme
  • createConfidence
  • createExperimentXrefs
    Generate and add to the given element the Xrefs of the experiment (but no pubmed). The given set of
  • createNames
  • getExperimentId
    get the value what will be used as ID of the experiment.
  • getInstance

Popular in Java

  • Finding current android device location
  • getApplicationContext (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • setContentView (Activity)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • JComboBox (javax.swing)
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now