congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
AnnotatedObjectUtils.searchXrefsByDatabase
Code IndexAdd Tabnine to your IDE (free)

How to use
searchXrefsByDatabase
method
in
uk.ac.ebi.intact.model.util.AnnotatedObjectUtils

Best Java code snippets using uk.ac.ebi.intact.model.util.AnnotatedObjectUtils.searchXrefsByDatabase (Showing top 2 results out of 315)

origin: uk.ac.ebi.intact.core/intact-core

  /**
   * Gets all the Xrefs for the CvDatabase with the passed mi identifier
   *
   * @param annotatedObject the Object with the xrefs
   * @param databaseMi      the database MI to look for
   * @return list of Xrefs
   * @deprecated use AnnotatedObjectUtils.searchXrefsByDatabase instead
   */
  @Deprecated
  public static <X extends Xref> List<X> getXrefsFilteredByDatabase(AnnotatedObject<X, ?> annotatedObject, String databaseMi) {
    if (annotatedObject == null) throw new NullPointerException("Null annotatedObject");
    if (databaseMi == null) throw new NullPointerException("Database MI Identifier is mandatory");

    return new ArrayList<X>(AnnotatedObjectUtils.searchXrefsByDatabase(annotatedObject, databaseMi));
  }
}
origin: uk.ac.ebi.intact.core/intact-core-readonly

  /**
   * Gets all the Xrefs for the CvDatabase with the passed mi identifier
   *
   * @param annotatedObject the Object with the xrefs
   * @param databaseMi      the database MI to look for
   * @return list of Xrefs
   * @deprecated use AnnotatedObjectUtils.searchXrefsByDatabase instead
   */
  @Deprecated
  public static <X extends Xref> List<X> getXrefsFilteredByDatabase(AnnotatedObject<X, ?> annotatedObject, String databaseMi) {
    if (annotatedObject == null) throw new NullPointerException("Null annotatedObject");
    if (databaseMi == null) throw new NullPointerException("Database MI Identifier is mandatory");

    return new ArrayList<X>(AnnotatedObjectUtils.searchXrefsByDatabase(annotatedObject, databaseMi));
  }
}
uk.ac.ebi.intact.model.utilAnnotatedObjectUtilssearchXrefsByDatabase

Javadoc

Search for all Xrefs having Xref with the given CvDatabase MI.

Popular methods of AnnotatedObjectUtils

  • getAliasClassType
    Gets the generic Xref type for an AnnotatedObject class
  • getXrefClassType
    Gets the generic Xref type for an AnnotatedObject class
  • findAnnotationByTopicMiOrLabel
    Finds an Annotations with a topic that has an MI or label equal to the value provided
  • getParameterizedType
  • prepareShortLabel
    Trims a shortlabel if it is too long to be inserted in the database.
  • searchXrefs
    Retrieve the xrefs from an annotated object that comply with the filter.
  • areCollectionEqual
    Method to compare Annotation, Xref and Aliases collections
  • containSameAliases
  • containSameAnnotations
  • containSameCollections
    Checks if two given annotated objects contain the same set of annotations, xrefs and aliases
  • containSameXrefs
  • containTheSameXrefs
    Check if the passed annotated objects contain the same set of filtered Xrefs.
  • containSameXrefs,
  • containTheSameXrefs,
  • createUniqueString,
  • findParent,
  • isChildrenInitialized,
  • isCvTopicPublic,
  • isNewOrManaged,
  • removeChild,
  • searchXrefsByQualifier

Popular in Java

  • Making http post requests using okhttp
  • getExternalFilesDir (Context)
  • requestLocationUpdates (LocationManager)
  • onCreateOptionsMenu (Activity)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • JTextField (javax.swing)
  • 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