Codota Logo
ParticipantDetectionTag
Code IndexAdd Codota 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)

  • Common ways to obtain ParticipantDetectionTag
private void myMethod () {
ParticipantDetectionTag p =
  • Codota IconConversion.psiUpload.model.XrefTag psiDefinition;new ParticipantDetectionTag(psiDefinition)
  • Codota IconConversion.psiUpload.model.ExperimentDescriptionTag experimentDescriptionTag;experimentDescriptionTag.getParticipantDetection()
  • Smart code suggestions by Codota
}
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

  • Start an intent from android
  • runOnUiThread (Activity)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • InputStreamReader (java.io)
    An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Hashtable (java.util)
    Hashtable is a synchronized implementation of Map. All optional operations are supported.Neither key
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
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