Codota Logo
Interactor2xmlPSI25.getInteractorId
Code IndexAdd Codota to your IDE (free)

How to use
getInteractorId
method
in
uk.ac.ebi.intact.application.dataConversion.psiDownload.xmlGenerator.psi25.Interactor2xmlPSI25

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

  • Common ways to obtain Interactor2xmlPSI25
private void myMethod () {
Interactor2xmlPSI25 i =
  • Codota IconConversion.psiDownload.xmlGenerator.psi25.Interactor2xmlPSI25 interactor2xmlPSI25;interactor2xmlPSI25.getInstance()
  • Smart code suggestions by Codota
}
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

/**
 * Generates an participantRef out of an IntAct interactor.
 *
 * @param session
 * @param parent     the Element to which we will add the participantRef.
 * @param interactor the IntAct interactor that we convert to PSI.
 *
 * @return the generated participantRef Element.
 */
public Element createParticipantReference( UserSessionDownload session, Element parent, Interactor interactor ) {
  // TODO test that.
  // 1. Checking...
  if ( session == null ) {
    throw new IllegalArgumentException( "You must give a non null UserSessionDownload." );
  }
  if ( parent == null ) {
    throw new IllegalArgumentException( "You must give a non null parent to build an " + INTERACTOR_REF_TAG_NAME + "." );
  }
  if ( interactor == null ) {
    throw new IllegalArgumentException( "You must give a non null protein to build an " + INTERACTOR_REF_TAG_NAME + "." );
  }
  // 2. Initialising the element...
  Element element = session.createElement( INTERACTOR_REF_TAG_NAME );
  element.setAttribute( "ref", getInteractorId( session, interactor ) );
  // 3. Attaching the newly created element to the parent...
  parent.appendChild( element );
  return element;
}
origin: uk.ac.ebi.intact.util/data-conversion

/**
 * Generates an participantRef out of an IntAct interactor.
 *
 * @param session
 * @param parent     the Element to which we will add the participantRef.
 * @param interactor the IntAct interactor that we convert to PSI.
 *
 * @return the generated participantRef Element.
 */
public Element createParticipantReference( UserSessionDownload session, Element parent, Interactor interactor ) {
  // TODO test that.
  // 1. Checking...
  if ( session == null ) {
    throw new IllegalArgumentException( "You must give a non null UserSessionDownload." );
  }
  if ( parent == null ) {
    throw new IllegalArgumentException( "You must give a non null parent to build an " + INTERACTOR_REF_TAG_NAME + "." );
  }
  if ( interactor == null ) {
    throw new IllegalArgumentException( "You must give a non null protein to build an " + INTERACTOR_REF_TAG_NAME + "." );
  }
  // 2. Initialising the element...
  Element element = session.createElement( INTERACTOR_REF_TAG_NAME );
  element.setAttribute( "ref", getInteractorId( session, interactor ) );
  // 3. Attaching the newly created element to the parent...
  parent.appendChild( element );
  return element;
}
origin: uk.ac.ebi.intact.app/data-conversion

/**
 * Generates an participantRef out of an IntAct interactor.
 *
 * @param session
 * @param parent     the Element to which we will add the participantRef.
 * @param interactor the IntAct interactor that we convert to PSI.
 *
 * @return the generated participantRef Element.
 */
public Element createParticipantReference( UserSessionDownload session, Element parent, Interactor interactor ) {
  // TODO test that.
  // 1. Checking...
  if ( session == null ) {
    throw new IllegalArgumentException( "You must give a non null UserSessionDownload." );
  }
  if ( parent == null ) {
    throw new IllegalArgumentException( "You must give a non null parent to build an " + INTERACTOR_REF_TAG_NAME + "." );
  }
  if ( interactor == null ) {
    throw new IllegalArgumentException( "You must give a non null protein to build an " + INTERACTOR_REF_TAG_NAME + "." );
  }
  // 2. Initialising the element...
  Element element = session.createElement( INTERACTOR_REF_TAG_NAME );
  element.setAttribute( "ref", getInteractorId( session, interactor ) );
  // 3. Attaching the newly created element to the parent...
  parent.appendChild( element );
  return element;
}
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

/**
 * Generates an interactorRef out of an IntAct interactor.
 *
 * @param session
 * @param parent     the Element to which we will add the interactorRef.
 * @param interactor the IntAct interactor that we convert to PSI.
 *
 * @return the generated interactorRef Element.
 */
public Element createInteractorReference( UserSessionDownload session, Element parent, Interactor interactor ) {
  // TODO test that.
  // 1. Checking...
  if ( session == null ) {
    throw new IllegalArgumentException( "You must give a non null UserSessionDownload." );
  }
  if ( parent == null ) {
    throw new IllegalArgumentException( "You must give a non null parent to build an " + INTERACTOR_REF_TAG_NAME + "." );
  }
  if ( interactor == null ) {
    throw new IllegalArgumentException( "You must give a non null protein to build an " + INTERACTOR_REF_TAG_NAME + "." );
  }
  // 2. Initialising the element...
  Element element = session.createElement( INTERACTOR_REF_TAG_NAME );
  Text refText = session.createTextNode( getInteractorId( session, interactor ) );
  element.appendChild( refText );
  // 3. Attaching the newly created element to the parent...
  parent.appendChild( element );
  return element;
}
origin: uk.ac.ebi.intact.app/data-conversion

/**
 * Generates an interactorRef out of an IntAct interactor.
 *
 * @param session
 * @param parent     the Element to which we will add the interactorRef.
 * @param interactor the IntAct interactor that we convert to PSI.
 *
 * @return the generated interactorRef Element.
 */
public Element createInteractorReference( UserSessionDownload session, Element parent, Interactor interactor ) {
  // TODO test that.
  // 1. Checking...
  if ( session == null ) {
    throw new IllegalArgumentException( "You must give a non null UserSessionDownload." );
  }
  if ( parent == null ) {
    throw new IllegalArgumentException( "You must give a non null parent to build an " + INTERACTOR_REF_TAG_NAME + "." );
  }
  if ( interactor == null ) {
    throw new IllegalArgumentException( "You must give a non null protein to build an " + INTERACTOR_REF_TAG_NAME + "." );
  }
  // 2. Initialising the element...
  Element element = session.createElement( INTERACTOR_REF_TAG_NAME );
  Text refText = session.createTextNode( getInteractorId( session, interactor ) );
  element.appendChild( refText );
  // 3. Attaching the newly created element to the parent...
  parent.appendChild( element );
  return element;
}
origin: uk.ac.ebi.intact.util/data-conversion

/**
 * Generates an interactorRef out of an IntAct interactor.
 *
 * @param session
 * @param parent     the Element to which we will add the interactorRef.
 * @param interactor the IntAct interactor that we convert to PSI.
 *
 * @return the generated interactorRef Element.
 */
public Element createInteractorReference( UserSessionDownload session, Element parent, Interactor interactor ) {
  // TODO test that.
  // 1. Checking...
  if ( session == null ) {
    throw new IllegalArgumentException( "You must give a non null UserSessionDownload." );
  }
  if ( parent == null ) {
    throw new IllegalArgumentException( "You must give a non null parent to build an " + INTERACTOR_REF_TAG_NAME + "." );
  }
  if ( interactor == null ) {
    throw new IllegalArgumentException( "You must give a non null protein to build an " + INTERACTOR_REF_TAG_NAME + "." );
  }
  // 2. Initialising the element...
  Element element = session.createElement( INTERACTOR_REF_TAG_NAME );
  Text refText = session.createTextNode( getInteractorId( session, interactor ) );
  element.appendChild( refText );
  // 3. Attaching the newly created element to the parent...
  parent.appendChild( element );
  return element;
}
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

element.setAttribute( "id", getInteractorId( session, interactor ) );
origin: uk.ac.ebi.intact.util/data-conversion

element.setAttribute( "id", getInteractorId( session, interactor ) );
origin: uk.ac.ebi.intact.app/data-conversion

element.setAttribute( "id", getInteractorId( session, interactor ) );
uk.ac.ebi.intact.application.dataConversion.psiDownload.xmlGenerator.psi25Interactor2xmlPSI25getInteractorId

Javadoc

get the value what will be used as ID of the protein.

Popular methods of Interactor2xmlPSI25

  • create
    Generated an interactor out of an IntAct Experiment.
  • createAttributeList
  • createInteractorReference
    Generates an interactorRef out of an IntAct interactor.
  • createNames
  • createXrefs
    Generate the xref tag of the given interactor. That content is attached to the given parent Element.
  • getInstance

Popular in Java

  • Running tasks concurrently on multiple threads
  • scheduleAtFixedRate (Timer)
  • addToBackStack (FragmentTransaction)
  • onCreateOptionsMenu (Activity)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • BufferedInputStream (java.io)
    Wraps an existing InputStream and buffers the input. Expensive interaction with the underlying input
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
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