Tabnine Logo
UserSessionDownload.getFeatureIdentifier
Code IndexAdd Tabnine to your IDE (free)

How to use
getFeatureIdentifier
method
in
uk.ac.ebi.intact.application.dataConversion.psiDownload.UserSessionDownload

Best Java code snippets using uk.ac.ebi.intact.application.dataConversion.psiDownload.UserSessionDownload.getFeatureIdentifier (Showing top 12 results out of 315)

origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

private Element createReference( UserSessionDownload session, Element parent, Feature feature, String type ) {
  // 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 a " +
                      PROTEIN_FEATURE_REF_TAG_NAME + " / " +
                      DNA_FEATURE_REF_TAG_NAME + " / " +
                      RNA_FEATURE_REF_TAG_NAME + "." );
  } else {
    if ( !"participant".equals( parent.getNodeName() ) ) {
      throw new IllegalArgumentException( "You must give a <participant> to build a " +
                        PROTEIN_FEATURE_REF_TAG_NAME + " / " +
                        DNA_FEATURE_REF_TAG_NAME + " / " +
                        RNA_FEATURE_REF_TAG_NAME + "." + "." );
    }
  }
  // 2. Initialising the element...
  Element element = session.createElement( type );
  element.setAttribute( "ref", "" + session.getFeatureIdentifier( feature ) );
  // 3. Attaching the newly created element to the parent...
  parent.appendChild( element );
  return element;
}
origin: uk.ac.ebi.intact.app/data-conversion

private Element createReference( UserSessionDownload session, Element parent, Feature feature, String type ) {
  // 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 a " +
                      PROTEIN_FEATURE_REF_TAG_NAME + " / " +
                      DNA_FEATURE_REF_TAG_NAME + " / " +
                      RNA_FEATURE_REF_TAG_NAME + "." );
  } else {
    if ( !"participant".equals( parent.getNodeName() ) ) {
      throw new IllegalArgumentException( "You must give a <participant> to build a " +
                        PROTEIN_FEATURE_REF_TAG_NAME + " / " +
                        DNA_FEATURE_REF_TAG_NAME + " / " +
                        RNA_FEATURE_REF_TAG_NAME + "." + "." );
    }
  }
  // 2. Initialising the element...
  Element element = session.createElement( type );
  element.setAttribute( "ref", "" + session.getFeatureIdentifier( feature ) );
  // 3. Attaching the newly created element to the parent...
  parent.appendChild( element );
  return element;
}
origin: uk.ac.ebi.intact.util/data-conversion

private Element createReference( UserSessionDownload session, Element parent, Feature feature, String type ) {
  // 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 a " +
                      PROTEIN_FEATURE_REF_TAG_NAME + " / " +
                      DNA_FEATURE_REF_TAG_NAME + " / " +
                      RNA_FEATURE_REF_TAG_NAME + "." );
  } else {
    if ( !"participant".equals( parent.getNodeName() ) ) {
      throw new IllegalArgumentException( "You must give a <participant> to build a " +
                        PROTEIN_FEATURE_REF_TAG_NAME + " / " +
                        DNA_FEATURE_REF_TAG_NAME + " / " +
                        RNA_FEATURE_REF_TAG_NAME + "." + "." );
    }
  }
  // 2. Initialising the element...
  Element element = session.createElement( type );
  element.setAttribute( "ref", "" + session.getFeatureIdentifier( feature ) );
  // 3. Attaching the newly created element to the parent...
  parent.appendChild( element );
  return element;
}
origin: uk.ac.ebi.intact.app/data-conversion

Text refText = session.createTextNode( "" + session.getFeatureIdentifier( feature ) );
element.appendChild( refText );
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

Text refText = session.createTextNode( "" + session.getFeatureIdentifier( feature ) );
element.appendChild( refText );
origin: uk.ac.ebi.intact.util/data-conversion

Text refText = session.createTextNode( "" + session.getFeatureIdentifier( feature ) );
element.appendChild( refText );
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

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

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

element.setAttribute( "id", "" + session.getFeatureIdentifier( feature ) );
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

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

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

element.setAttribute( "id", "" + session.getFeatureIdentifier( feature ) );
uk.ac.ebi.intact.application.dataConversion.psiDownloadUserSessionDownloadgetFeatureIdentifier

Javadoc

Get a specific identifier for the given feature. If an identifier had already been affected for that feature, the same is given again,

Popular methods of UserSessionDownload

  • <init>
  • addMessage
  • createElement
  • createTextNode
  • declareAlreadyDefined
    Declare in the session that the given protein has been already converted in XML.
  • filterObsoleteAnnotationTopic
    Load all CvTopic and check which one have been flagged 'obsolete'. Those CvTopic are automatically a
  • getAvailabilityListElement
    Return the availabilityList element under the entry of the PSI document. If the element doesn't exis
  • getCvObjectCache
  • getEntryElement
    Return the entry element of the PSI document. If the element doesn't exist, it is created.
  • getExperimentIdentifier
    Get a specific identifier for the given experiemnt. If an identifier had already been affected for t
  • getExperimentListElement
    Return the experimentList element under the entry of the PSI document. If the element doesn't exist,
  • getHostOrganismCache
  • getExperimentListElement,
  • getHostOrganismCache,
  • getInteractionIdentifier,
  • getInteractionListElement,
  • getInteractorIdentifier,
  • getInteractorListElement,
  • getMessages,
  • getNextClusterIdSuffix,
  • getNextObjectIdentifier

Popular in Java

  • Parsing JSON documents to java classes using gson
  • requestLocationUpdates (LocationManager)
  • getContentResolver (Context)
  • setRequestProperty (URLConnection)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Github Copilot 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