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

How to use
ParticipantDetectionTag
in
uk.ac.ebi.intact.application.dataConversion.psiUpload.model

Best Java code snippets using uk.ac.ebi.intact.application.dataConversion.psiUpload.model.ParticipantDetectionTag (Showing top 15 results out of 315)

origin: uk.ac.ebi.intact.util/data-conversion

  return false;
if ( !participantDetection.equals( experimentDescriptionTag.participantDetection ) ) {
  return false;
origin: uk.ac.ebi.intact.util/data-conversion

public int hashCode() {
  int result;
  result = shortlabel.hashCode();
  result = 29 * result + fullname.hashCode();
  result = 29 * result + bibRef.hashCode();
  result = 29 * result + hostOrganism.hashCode();
  result = 29 * result + interactionDetection.hashCode();
  result = 29 * result + participantDetection.hashCode();
  result = 29 * result + ( xrefs != null ? xrefs.hashCode() : 0 );
  result = 29 * result + ( annotations != null ? annotations.hashCode() : 0 );
  result = 29 * result + ( additionalBibRef != null ? additionalBibRef.hashCode() : 0 );
  return result;
}
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

  public static void check( final ParticipantDetectionTag participantDetection ) {

    final XrefTag psiDef = participantDetection.getPsiDefinition();
    XrefChecker.check( psiDef );

    final String id = psiDef.getId();

    if ( !cache.keySet().contains( id ) ) {
      CvIdentification cvIdentification = null;

      try {
        cvIdentification = IntactContext.getCurrentInstance().getCvContext().getByMiRef(CvIdentification.class,id);

        if ( cvIdentification == null ) {
          MessageHolder.getInstance().addCheckerMessage( new Message( "Could not find CvIdentification for the PSI definition: " + id ) );
        } else {
          System.out.println( "Found ParticipantDetection " + id + " as " + cvIdentification.getShortLabel() );
        }
      } catch ( IntactException e ) {
        MessageHolder.getInstance().addCheckerMessage( new Message( "An error occured while searching for CvInteraction " +
                                      "having the PSI definition: " + id ) );
        e.printStackTrace();
      }

      cache.put( id, cvIdentification );
    }
  }
}
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

                         CvDatabase.PSI_MI );
try {
  participantDetection = new ParticipantDetectionTag( participantXref );
} catch ( IllegalArgumentException e ) {
  MessageHolder.getInstance().addParserMessage( new Message( participantDetectionXrefElement,
origin: uk.ac.ebi.intact.util/data-conversion

  public static void check( final ParticipantDetectionTag participantDetection ) {

    final XrefTag psiDef = participantDetection.getPsiDefinition();
    XrefChecker.check( psiDef );

    final String id = psiDef.getId();

    if ( !cache.keySet().contains( id ) ) {
      CvIdentification cvIdentification = null;

      try {
        cvIdentification = IntactContext.getCurrentInstance().getCvContext().getByMiRef(CvIdentification.class,id);

        if ( cvIdentification == null ) {
          MessageHolder.getInstance().addCheckerMessage( new Message( "Could not find CvIdentification for the PSI definition: " + id ) );
        } else {
          System.out.println( "Found ParticipantDetection " + id + " as " + cvIdentification.getShortLabel() );
        }
      } catch ( IntactException e ) {
        MessageHolder.getInstance().addCheckerMessage( new Message( "An error occured while searching for CvInteraction " +
                                      "having the PSI definition: " + id ) );
        e.printStackTrace();
      }

      cache.put( id, cvIdentification );
    }
  }
}
origin: uk.ac.ebi.intact.util/data-conversion

                         CvDatabase.PSI_MI );
try {
  participantDetection = new ParticipantDetectionTag( participantXref );
} catch ( IllegalArgumentException e ) {
  MessageHolder.getInstance().addParserMessage( new Message( participantDetectionXrefElement,
origin: uk.ac.ebi.intact.app/data-conversion

  public static void check( final ParticipantDetectionTag participantDetection ) {

    final XrefTag psiDef = participantDetection.getPsiDefinition();
    XrefChecker.check( psiDef );

    final String id = psiDef.getId();

    if ( !cache.keySet().contains( id ) ) {
      CvIdentification cvIdentification = null;

      try {
        cvIdentification = IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getCvObjectDao(CvIdentification.class).getByXref(id);

        if ( cvIdentification == null ) {
          MessageHolder.getInstance().addCheckerMessage( new Message( "Could not find CvIdentification for the PSI definition: " + id ) );
        } else {
          System.out.println( "Found ParticipantDetection " + id + " as " + cvIdentification.getShortLabel() );
        }
      } catch ( IntactException e ) {
        MessageHolder.getInstance().addCheckerMessage( new Message( "An error occured while searching for CvInteraction " +
                                      "having the PSI definition: " + id ) );
        e.printStackTrace();
      }

      cache.put( id, cvIdentification );
    }
  }
}
origin: uk.ac.ebi.intact.app/data-conversion

public int hashCode() {
  int result;
  result = shortlabel.hashCode();
  result = 29 * result + fullname.hashCode();
  result = 29 * result + bibRef.hashCode();
  result = 29 * result + hostOrganism.hashCode();
  result = 29 * result + interactionDetection.hashCode();
  result = 29 * result + participantDetection.hashCode();
  result = 29 * result + ( xrefs != null ? xrefs.hashCode() : 0 );
  result = 29 * result + ( annotations != null ? annotations.hashCode() : 0 );
  result = 29 * result + ( additionalBibRef != null ? additionalBibRef.hashCode() : 0 );
  return result;
}
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

  return false;
if ( !participantDetection.equals( experimentDescriptionTag.participantDetection ) ) {
  return false;
origin: uk.ac.ebi.intact.app/data-conversion

                         CvDatabase.PSI_MI );
try {
  participantDetection = new ParticipantDetectionTag( participantXref );
} catch ( IllegalArgumentException e ) {
  MessageHolder.getInstance().addParserMessage( new Message( participantDetectionXrefElement,
origin: uk.ac.ebi.intact.app/data-conversion

final String participantDetectionId = experimentDescription.getParticipantDetection().getPsiDefinition().getId();
final CvIdentification cvIdentification = ParticipantDetectionChecker.getCvIdentification( participantDetectionId );
experiment.setCvIdentification( cvIdentification );
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

public int hashCode() {
  int result;
  result = shortlabel.hashCode();
  result = 29 * result + fullname.hashCode();
  result = 29 * result + bibRef.hashCode();
  result = 29 * result + hostOrganism.hashCode();
  result = 29 * result + interactionDetection.hashCode();
  result = 29 * result + participantDetection.hashCode();
  result = 29 * result + ( xrefs != null ? xrefs.hashCode() : 0 );
  result = 29 * result + ( annotations != null ? annotations.hashCode() : 0 );
  result = 29 * result + ( additionalBibRef != null ? additionalBibRef.hashCode() : 0 );
  return result;
}
origin: uk.ac.ebi.intact.app/data-conversion

  return false;
if ( !participantDetection.equals( experimentDescriptionTag.participantDetection ) ) {
  return false;
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

final String participantDetectionId = experimentDescription.getParticipantDetection().getPsiDefinition().getId();
final CvIdentification cvIdentification = ParticipantDetectionChecker.getCvIdentification( participantDetectionId );
experiment.setCvIdentification( cvIdentification );
origin: uk.ac.ebi.intact.util/data-conversion

final String participantDetectionId = experimentDescription.getParticipantDetection().getPsiDefinition().getId();
final CvIdentification cvIdentification = ParticipantDetectionChecker.getCvIdentification( participantDetectionId );
experiment.setCvIdentification( cvIdentification );
uk.ac.ebi.intact.application.dataConversion.psiUpload.modelParticipantDetectionTag

Javadoc

That class .

 
<participantDetection> 
<names> 
<shortLabel>peptide massfingerpr</shortLabel> 
<fullName>peptide massfingerprinting</fullName> 
</names> 
<xref> 
<primaryRef db="pubmed" id="11752590" secondary="" version=""/> 
<secondaryRef db="psi-mi" id="MI:0082" secondary="" version=""/> 
<secondaryRef db="pubmed" id="10967324" secondary="" version=""/> 
</xref> 
</participantDetection> 

Most used methods

  • <init>
  • equals
  • getPsiDefinition
  • hashCode

Popular in Java

  • Parsing JSON documents to java classes using gson
  • notifyDataSetChanged (ArrayAdapter)
  • getResourceAsStream (ClassLoader)
  • getContentResolver (Context)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Socket (java.net)
    Provides a client-side TCP socket.
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Top PhpStorm 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