congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
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

  • Start an intent from android
  • onRequestPermissionsResult (Fragment)
  • putExtra (Intent)
  • compareTo (BigDecimal)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now