Codota Logo
ControlledVocabularyRepository
Code IndexAdd Codota to your IDE (free)

How to use
ControlledVocabularyRepository
in
uk.ac.ebi.intact.application.dataConversion.psiUpload.checker

Best Java code snippets using uk.ac.ebi.intact.application.dataConversion.psiUpload.checker.ControlledVocabularyRepository (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Point p =
  • Codota Iconnew Point(x, y)
  • Codota Iconnew Point()
  • Codota IconMouseEvent e;e.getPoint()
  • Smart code suggestions by Codota
}
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

public static void check( ) {
  initialise( );
}
origin: uk.ac.ebi.intact.util/data-conversion

        if ( ControlledVocabularyRepository.getIdentityQualifier().equals( xref.getCvXrefQualifier() ) )
                    ControlledVocabularyRepository.getNoUniprotUpdateTopic() );
IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getAnnotationDao().persist( annotation );
proteinType.addAnnotation( annotation );
origin: uk.ac.ebi.intact.util/data-conversion

 bibRef.getSecondary(),
 bibRef.getVersion(),
 ControlledVocabularyRepository.getPrimaryXrefQualifier() );
xrefTag.getSecondary(),
xrefTag.getVersion(),
ControlledVocabularyRepository.getSeeAlsoXrefQualifier() );
origin: uk.ac.ebi.intact.util/data-conversion

Xref xref = (Xref) iterator.next();
if ( CvDatabase.PSI_MI.equals( xref.getCvDatabase().getShortLabel() ) ) {
  if ( ControlledVocabularyRepository.getPrimaryXrefQualifier().equals( xref.getCvXrefQualifier() ) ) {
origin: uk.ac.ebi.intact.app/data-conversion

CvXrefQualifier identity = ControlledVocabularyRepository.getIdentityQualifier();
origin: uk.ac.ebi.intact.app/data-conversion

CvAliasType geneNameAliasType = ControlledVocabularyRepository.getGeneNameAliasType();
if ( geneNameAliasType != null ) {
  for ( Iterator iterator = protein.getAliases().iterator(); iterator.hasNext() && geneName == null; ) {
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

if ( confidence != null ) {
  final CvTopic authorConfidence = ControlledVocabularyRepository.getAuthorConfidenceTopic();
origin: uk.ac.ebi.intact.util/data-conversion

ControlledVocabularyRepository.check( );
origin: uk.ac.ebi.intact.app/data-conversion

        if ( ControlledVocabularyRepository.getIdentityQualifier().equals( xref.getCvXrefQualifier() ) )
                    ControlledVocabularyRepository.getNoUniprotUpdateTopic() );
IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getAnnotationDao().persist( annotation );
proteinType.addAnnotation( annotation );
origin: uk.ac.ebi.intact.app/data-conversion

 bibRef.getSecondary(),
 bibRef.getVersion(),
 ControlledVocabularyRepository.getPrimaryXrefQualifier() );
xrefTag.getSecondary(),
xrefTag.getVersion(),
ControlledVocabularyRepository.getSeeAlsoXrefQualifier() );
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

Xref xref = (Xref) iterator.next();
if ( CvDatabase.PSI_MI.equals( xref.getCvDatabase().getShortLabel() ) ) {
  if ( ControlledVocabularyRepository.getPrimaryXrefQualifier().equals( xref.getCvXrefQualifier() ) ) {
origin: uk.ac.ebi.intact.app/data-conversion

private static void createXref( Protein protein,
                XrefTag xrefTag,
                boolean identity ) throws IntactException {
  CvXrefQualifier qualifier = null;
  if ( identity ) {
    qualifier = ControlledVocabularyRepository.getIdentityQualifier();
  }
  CvDatabase database = XrefChecker.getCvDatabase( xrefTag.getDb() );
  if ( database == null ) {
    // failed to find the database, skip the Xref creation
  } else {
    InteractorXref xref = new InteractorXref( IntactContext.getCurrentInstance().getInstitution(),
               database,
               xrefTag.getId(),
               xrefTag.getSecondary(),
               xrefTag.getVersion(),
               qualifier );
    protein.addXref( xref );
    IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getXrefDao().persist( xref );
  }
}
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

CvAliasType geneNameAliasType = ControlledVocabularyRepository.getGeneNameAliasType();
if ( geneNameAliasType != null ) {
  for ( Iterator iterator = protein.getAliases().iterator(); iterator.hasNext() && geneName == null; ) {
origin: uk.ac.ebi.intact.util/data-conversion

if ( confidence != null ) {
  final CvTopic authorConfidence = ControlledVocabularyRepository.getAuthorConfidenceTopic();
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

ControlledVocabularyRepository.check( );
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

        if ( ControlledVocabularyRepository.getIdentityQualifier().equals( xref.getCvXrefQualifier() ) )
                    ControlledVocabularyRepository.getNoUniprotUpdateTopic() );
IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getAnnotationDao().persist( annotation );
proteinType.addAnnotation( annotation );
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

 bibRef.getSecondary(),
 bibRef.getVersion(),
 ControlledVocabularyRepository.getPrimaryXrefQualifier() );
xrefTag.getSecondary(),
xrefTag.getVersion(),
ControlledVocabularyRepository.getSeeAlsoXrefQualifier() );
origin: uk.ac.ebi.intact.util/data-conversion

Xref xref = (Xref) iterator.next();
if ( CvDatabase.PSI_MI.equals( xref.getCvDatabase().getShortLabel() ) ) {
  if ( ControlledVocabularyRepository.getPrimaryXrefQualifier().equals( xref.getCvXrefQualifier() ) ) {
origin: uk.ac.ebi.intact.util/data-conversion

private static void createXref( Protein protein,
                XrefTag xrefTag,
                boolean identity ) throws IntactException {
  CvXrefQualifier qualifier = null;
  if ( identity ) {
    qualifier = ControlledVocabularyRepository.getIdentityQualifier();
  }
  CvDatabase database = XrefChecker.getCvDatabase( xrefTag.getDb() );
  if ( database == null ) {
    // failed to find the database, skip the Xref creation
  } else {
    InteractorXref xref = new InteractorXref( IntactContext.getCurrentInstance().getInstitution(),
               database,
               xrefTag.getId(),
               xrefTag.getSecondary(),
               xrefTag.getVersion(),
               qualifier );
    protein.addXref( xref );
    IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getXrefDao().persist( xref );
  }
}
origin: uk.ac.ebi.intact.util/data-conversion

public static void check( ) {
  initialise( );
}
uk.ac.ebi.intact.application.dataConversion.psiUpload.checkerControlledVocabularyRepository

Most used methods

  • check
  • getAuthorConfidenceTopic
  • getGeneNameAliasType
  • getIdentityQualifier
  • getNoUniprotUpdateTopic
  • getPrimaryXrefQualifier
  • getSeeAlsoXrefQualifier
  • initialise

Popular in Java

  • Start an intent from android
  • getApplicationContext (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • findViewById (Activity)
  • BigInteger (java.math)
    Immutable arbitrary-precision integers. All operations behave as if BigIntegers were represented in
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Stack (java.util)
    The Stack class represents a last-in-first-out (LIFO) stack of objects. It extends class Vector with
  • JOptionPane (javax.swing)
  • Logger (org.slf4j)
    The main user interface to logging. It is expected that logging takes place through concrete impleme
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now