Tabnine Logo
CollectionDescriptor.findReferencedDescriptor
Code IndexAdd Tabnine to your IDE (free)

How to use
findReferencedDescriptor
method
in
org.intermine.metadata.CollectionDescriptor

Best Java code snippets using org.intermine.metadata.CollectionDescriptor.findReferencedDescriptor (Showing top 2 results out of 315)

origin: org.intermine/intermine-model

private void configureReferenceDescriptors() throws MetaDataException {
  // ReferenceDescriptors need to find a ClassDescriptor for their referenced class
  for (ReferenceDescriptor rfd : refDescriptors) {
    try {
      rfd.findReferencedDescriptor();
    } catch (NonFatalMetaDataException e) {
      model.addProblem(e.getMessage());
    }
  }
  // CollectionDescriptors need to find a ClassDescriptor for their referenced class
  for (CollectionDescriptor cod : colDescriptors) {
    try {
      cod.findReferencedDescriptor();
    } catch (NonFatalMetaDataException e) {
      model.addProblem(e.getMessage());
    }
  }
}
origin: intermine/intermine

private void configureReferenceDescriptors() throws MetaDataException {
  // ReferenceDescriptors need to find a ClassDescriptor for their referenced class
  for (ReferenceDescriptor rfd : refDescriptors) {
    try {
      rfd.findReferencedDescriptor();
    } catch (NonFatalMetaDataException e) {
      model.addProblem(e.getMessage());
    }
  }
  // CollectionDescriptors need to find a ClassDescriptor for their referenced class
  for (CollectionDescriptor cod : colDescriptors) {
    try {
      cod.findReferencedDescriptor();
    } catch (NonFatalMetaDataException e) {
      model.addProblem(e.getMessage());
    }
  }
}
org.intermine.metadataCollectionDescriptorfindReferencedDescriptor

Popular methods of CollectionDescriptor

  • <init>
    Construct a CollectionDescriptor. name and referencedType may not be null.
  • getReferencedClassDescriptor
  • getReverseReferenceDescriptor
  • getClassDescriptor
  • getName
  • getReferencedClassName
  • getReverseReferenceFieldName
  • relationType
  • equals
  • hashCode
  • setClassDescriptor
  • toString
  • setClassDescriptor,
  • toString

Popular in Java

  • Updating database using SQL prepared statement
  • putExtra (Intent)
  • notifyDataSetChanged (ArrayAdapter)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • CodeWhisperer 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