Tabnine Logo
ComponentConfidence.getCvConfidenceType
Code IndexAdd Tabnine to your IDE (free)

How to use
getCvConfidenceType
method
in
uk.ac.ebi.intact.model.ComponentConfidence

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

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

protected ComponentConfidence cloneComponentConfidence(ComponentConfidence componentConfidence) throws IntactClonerException {
  if (componentConfidence == null) {
    throw new IllegalArgumentException("You must give a non null component confidence");
  }
  ComponentConfidence clone = new ComponentConfidence();
  clonerManager.addClone(componentConfidence, clone);
  clone.setValue(componentConfidence.getValue());
  clone.setComponent(clone(componentConfidence.getComponent()));
  clone.setCvConfidenceType(clone(componentConfidence.getCvConfidenceType()));
  return clone;
}
origin: uk.ac.ebi.intact.core/intact-core

protected ComponentConfidence cloneComponentConfidence(ComponentConfidence componentConfidence) throws IntactClonerException {
  if (componentConfidence == null) {
    throw new IllegalArgumentException("You must give a non null component confidence");
  }
  ComponentConfidence clone = new ComponentConfidence();
  clonerManager.addClone(componentConfidence, clone);
  clone.setValue(componentConfidence.getValue());
  clone.setComponent(clone(componentConfidence.getComponent()));
  clone.setCvConfidenceType(clone(componentConfidence.getCvConfidenceType()));
  return clone;
}
origin: uk.ac.ebi.intact.core/intact-core-readonly

private Collection<ComponentConfidence> synchronizeComponentConfidences( Collection<ComponentConfidence> confidencesToSynchronize, Component parentComponent ) {
  List<ComponentConfidence> confidences = new ArrayList<ComponentConfidence>(confidencesToSynchronize.size());
  for ( ComponentConfidence confidence : confidencesToSynchronize ) {
    if (confidence.getAc() != null && IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getComponentConfidenceDao().isTransient(confidence)) {
      confidence = IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getComponentConfidenceDao().getByAc(confidence.getAc());
    }
    confidence.setCvConfidenceType( synchronize (confidence.getCvConfidenceType()));
    confidence.setComponent(parentComponent);
    confidences.add(confidence);
  }
  return confidences;
}
origin: uk.ac.ebi.intact.core/intact-core

private Collection<ComponentConfidence> synchronizeComponentConfidences( Collection<ComponentConfidence> confidencesToSynchronize, Component parentComponent ) {
  List<ComponentConfidence> confidences = new ArrayList<ComponentConfidence>(confidencesToSynchronize.size());
  for ( ComponentConfidence confidence : confidencesToSynchronize ) {
    if (confidence.getAc() != null && IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getComponentConfidenceDao().isTransient(confidence)) {
      confidence = IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getComponentConfidenceDao().getByAc(confidence.getAc());
    }
    confidence.setCvConfidenceType( synchronize (confidence.getCvConfidenceType()));
    confidence.setComponent(parentComponent);
    confidences.add(confidence);
  }
  return confidences;
}
origin: uk.ac.ebi.intact.dataexchange.psimi/intact-psixml-converters

if (conf.getCvConfidenceType() != null && IntactConverterUtils.AUTHOR_SCORE_MI.equalsIgnoreCase(conf.getCvConfidenceType().getIdentifier())){
  Attribute authConf = new Attribute(IntactConverterUtils.AUTH_CONF_MI, IntactConverterUtils.AUTH_CONF, conf.getValue());
uk.ac.ebi.intact.modelComponentConfidencegetCvConfidenceType

Popular methods of ComponentConfidence

  • <init>
  • getValue
  • setCvConfidenceType
  • clone
  • equals
  • getAc
  • getComponent
  • setComponent
  • setValue

Popular in Java

  • Making http requests using okhttp
  • getExternalFilesDir (Context)
  • putExtra (Intent)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • IsNull (org.hamcrest.core)
    Is the value null?
  • From CI to AI: The AI layer in your organization
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