congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
AnnotatedObjectUtils.findAnnotationByTopicMiOrLabel
Code IndexAdd Tabnine to your IDE (free)

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

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

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

@Transient
@Deprecated
/**
 * @deprecated now it is always stored as a simple annotation
 */
public String getUrl() {
  Annotation annot = AnnotatedObjectUtils.findAnnotationByTopicMiOrLabel(this, CvTopic.URL_MI_REF);
  return annot != null ? annot.getAnnotationText() : null;
}
origin: uk.ac.ebi.intact.core/intact-core

@Transient
@Deprecated
/**
 * @deprecated now it is always stored as a simple annotation
 */
public String getPostalAddress() {
  Annotation annot = AnnotatedObjectUtils.findAnnotationByTopicMiOrLabel(this, "postaladdress");
  return annot != null ? annot.getAnnotationText() : null;
}
origin: uk.ac.ebi.intact.dataexchange.psimi/intact-psimitab-converters

  public String extractStandardInchiKeyFrom(SmallMolecule interactor) {

    // find INCHI key
    final Annotation annotation = AnnotatedObjectUtils.findAnnotationByTopicMiOrLabel(interactor, INCHI_MI_REF);// INCHI_MI_REF

    if (annotation != null){
      return  annotation.getAnnotationText();
    }

    return null;
  }
}
origin: uk.ac.ebi.intact.core/intact-core

@Transient
@Deprecated
/**
 * @deprecated now it is always stored as a simple annotation
 */
public String getUrl() {
  Annotation annot = AnnotatedObjectUtils.findAnnotationByTopicMiOrLabel(this, CvTopic.URL_MI_REF);
  return annot != null ? annot.getAnnotationText() : null;
}
origin: uk.ac.ebi.intact.core/intact-core-readonly

@Transient
@Deprecated
/**
 * @deprecated now it is always stored as a simple annotation
 */
public String getPostalAddress() {
  Annotation annot = AnnotatedObjectUtils.findAnnotationByTopicMiOrLabel(this, "postaladdress");
  return annot != null ? annot.getAnnotationText() : null;
}
uk.ac.ebi.intact.model.utilAnnotatedObjectUtilsfindAnnotationByTopicMiOrLabel

Javadoc

Finds an Annotations with a topic that has an MI or label equal to the value provided

Popular methods of AnnotatedObjectUtils

  • getAliasClassType
    Gets the generic Xref type for an AnnotatedObject class
  • getXrefClassType
    Gets the generic Xref type for an AnnotatedObject class
  • 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.
  • createUniqueString
    Creates unique strings for Annotations,Xrefs and aliases.
  • containTheSameXrefs,
  • createUniqueString,
  • findParent,
  • isChildrenInitialized,
  • isCvTopicPublic,
  • isNewOrManaged,
  • removeChild,
  • searchXrefsByDatabase,
  • searchXrefsByQualifier

Popular in Java

  • Finding current android device location
  • runOnUiThread (Activity)
  • getApplicationContext (Context)
  • setScale (BigDecimal)
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Top 12 Jupyter Notebook Extensions
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