congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
AnnotatedObjectUtils.isCvTopicPublic
Code IndexAdd Tabnine to your IDE (free)

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

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

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

public static Collection<Annotation> getPublicAnnotations(final AnnotatedObject<?, ?> annotatedObject) {
  final Collection<Annotation> publicAnnotations = new ArrayList<Annotation>(annotatedObject.getAnnotations().size());
  final Iterator<Annotation> i = IntactCore.ensureInitializedAnnotations(annotatedObject).iterator();
  while (i.hasNext()) {
    Annotation annotation = i.next();
    if (isCvTopicPublic(annotation.getCvTopic())) {
      publicAnnotations.add(annotation);
    }
  }
  return publicAnnotations;
}
origin: uk.ac.ebi.intact.core/intact-core

public static Collection<Annotation> getPublicAnnotations(final AnnotatedObject<?, ?> annotatedObject) {
  final Collection<Annotation> publicAnnotations = new ArrayList<Annotation>(annotatedObject.getAnnotations().size());
  final Iterator<Annotation> i = IntactCore.ensureInitializedAnnotations(annotatedObject).iterator();
  while (i.hasNext()) {
    Annotation annotation = i.next();
    if (isCvTopicPublic(annotation.getCvTopic())) {
      publicAnnotations.add(annotation);
    }
  }
  return publicAnnotations;
}
uk.ac.ebi.intact.model.utilAnnotatedObjectUtilsisCvTopicPublic

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,
  • isNewOrManaged,
  • removeChild,
  • searchXrefsByDatabase,
  • searchXrefsByQualifier

Popular in Java

  • Start an intent from android
  • setRequestProperty (URLConnection)
  • getExternalFilesDir (Context)
  • startActivity (Activity)
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Permission (java.security)
    Legacy security code; do not use.
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Top 15 Vim Plugins
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