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

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

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

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

  return false;
if ( !interactionDetection.equals( experimentDescriptionTag.interactionDetection ) ) {
  return false;
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.util/data-conversion

  public static void check( final InteractionDetectionTag interactionDetection ) {

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

    final String id = psiDef.getId();

    if ( !cache.keySet().contains( id ) ) {
      CvInteraction cvInteraction = null;

      try {
        cvInteraction = IntactContext.getCurrentInstance().getCvContext().getByMiRef(CvInteraction.class,id);

        if ( cvInteraction == null ) {
          MessageHolder.getInstance().addCheckerMessage( new Message( "Could not find CvInteraction by PSI definition: " + id ) );
        } else {
          System.out.println( "Found CvInteraction " + id + " as " + cvInteraction.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, cvInteraction );
    }
  }
}
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

                         CvDatabase.PSI_MI );
try {
  interactionDetection = new InteractionDetectionTag( interactionXref );
} catch ( IllegalArgumentException e ) {
  MessageHolder.getInstance().addParserMessage( new Message( interactionDetectionXrefElement,
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

  public static void check( final InteractionDetectionTag interactionDetection ) {

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

    final String id = psiDef.getId();

    if ( !cache.keySet().contains( id ) ) {
      CvInteraction cvInteraction = null;

      try {
        cvInteraction = IntactContext.getCurrentInstance().getCvContext().getByMiRef(CvInteraction.class,id);

        if ( cvInteraction == null ) {
          MessageHolder.getInstance().addCheckerMessage( new Message( "Could not find CvInteraction by PSI definition: " + id ) );
        } else {
          System.out.println( "Found CvInteraction " + id + " as " + cvInteraction.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, cvInteraction );
    }
  }
}
origin: uk.ac.ebi.intact.util/data-conversion

                         CvDatabase.PSI_MI );
try {
  interactionDetection = new InteractionDetectionTag( interactionXref );
} catch ( IllegalArgumentException e ) {
  MessageHolder.getInstance().addParserMessage( new Message( interactionDetectionXrefElement,
origin: uk.ac.ebi.intact.app/data-conversion

  public static void check( final InteractionDetectionTag interactionDetection ) {

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

    final String id = psiDef.getId();

    if ( !cache.keySet().contains( id ) ) {
      CvInteraction cvInteraction = null;

      try {
        cvInteraction = IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getCvObjectDao(CvInteraction.class).getByXref(id);

        if ( cvInteraction == null ) {
          MessageHolder.getInstance().addCheckerMessage( new Message( "Could not find CvInteraction by PSI definition: " + id ) );
        } else {
          System.out.println( "Found CvInteraction " + id + " as " + cvInteraction.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, cvInteraction );
    }
  }
}
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.dataexchange.psimi.legacy/data-conversion

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

                         CvDatabase.PSI_MI );
try {
  interactionDetection = new InteractionDetectionTag( interactionXref );
} catch ( IllegalArgumentException e ) {
  MessageHolder.getInstance().addParserMessage( new Message( interactionDetectionXrefElement,
origin: uk.ac.ebi.intact.util/data-conversion

final String interactionDetectionId = experimentDescription.getInteractionDetection().getPsiDefinition().getId();
final CvInteraction cvInteraction = InteractionDetectionChecker.getCvInteraction( interactionDetectionId );
experiment.setCvInteraction( cvInteraction );
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.app/data-conversion

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

final String interactionDetectionId = experimentDescription.getInteractionDetection().getPsiDefinition().getId();
final CvInteraction cvInteraction = InteractionDetectionChecker.getCvInteraction( interactionDetectionId );
experiment.setCvInteraction( cvInteraction );
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

final String interactionDetectionId = experimentDescription.getInteractionDetection().getPsiDefinition().getId();
final CvInteraction cvInteraction = InteractionDetectionChecker.getCvInteraction( interactionDetectionId );
experiment.setCvInteraction( cvInteraction );
uk.ac.ebi.intact.application.dataConversion.psiUpload.modelInteractionDetectionTag

Javadoc

That class reflects what is needed to create an IntAct CvInteraction.

 
<interactionDetection> 
<names> 
<shortLabel>tandem affinity puri</shortLabel> 
<fullName>tandem affinity purification</fullName> 
</names> 
<xref> 
<primaryRef db="pubmed" id="10504710" 
secondary="" version=""/> 
<secondaryRef db="psi-mi" id="MI:0109" 
secondary="" version=""/> 
</xref> 
</interactionDetection> 

Most used methods

  • <init>
  • equals
  • getPsiDefinition
  • hashCode

Popular in Java

  • Running tasks concurrently on multiple threads
  • setContentView (Activity)
  • compareTo (BigDecimal)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • CodeWhisperer alternatives
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