Tabnine Logo
ComponentParameter.setCvParameterType
Code IndexAdd Tabnine to your IDE (free)

How to use
setCvParameterType
method
in
uk.ac.ebi.intact.model.ComponentParameter

Best Java code snippets using uk.ac.ebi.intact.model.ComponentParameter.setCvParameterType (Showing top 4 results out of 315)

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

private Collection<ComponentParameter> synchronizeComponentParameters( Collection<ComponentParameter> componentParametersToSynchronize, Component parentComponent ) {
  List<ComponentParameter> componentParameters = new ArrayList<ComponentParameter>(componentParametersToSynchronize.size());
  for ( ComponentParameter componentParameter : componentParametersToSynchronize ) {
    if (componentParameter.getAc() != null && IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getComponentParameterDao().isTransient(componentParameter)) {
      componentParameter = IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getComponentParameterDao().getByAc(componentParameter.getAc());
    }
    componentParameter.setCvParameterType( synchronize (componentParameter.getCvParameterType()));
    componentParameter.setCvParameterUnit( synchronize (componentParameter.getCvParameterUnit()));
    componentParameter.setComponent(parentComponent);
    componentParameters.add(componentParameter);
  }
  return componentParameters;
}
origin: uk.ac.ebi.intact.core/intact-core-readonly

private Collection<ComponentParameter> synchronizeComponentParameters( Collection<ComponentParameter> componentParametersToSynchronize, Component parentComponent ) {
  List<ComponentParameter> componentParameters = new ArrayList<ComponentParameter>(componentParametersToSynchronize.size());
  for ( ComponentParameter componentParameter : componentParametersToSynchronize ) {
    if (componentParameter.getAc() != null && IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getComponentParameterDao().isTransient(componentParameter)) {
      componentParameter = IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getComponentParameterDao().getByAc(componentParameter.getAc());
    }
    componentParameter.setCvParameterType( synchronize (componentParameter.getCvParameterType()));
    componentParameter.setCvParameterUnit( synchronize (componentParameter.getCvParameterUnit()));
    componentParameter.setComponent(parentComponent);
    componentParameters.add(componentParameter);
  }
  return componentParameters;
}
origin: uk.ac.ebi.intact.core/intact-core-readonly

protected ComponentParameter cloneComponentParameter(ComponentParameter componentParameter) throws IntactClonerException {
  if (componentParameter == null) {
    throw new IllegalArgumentException("You must give a non null component parameter");
  }
  ComponentParameter clone = new ComponentParameter();
  clonerManager.addClone(componentParameter, clone);
  clone.setBase(componentParameter.getBase());
  clone.setExponent(componentParameter.getExponent());
  clone.setFactor(componentParameter.getFactor());
  clone.setUncertainty(componentParameter.getUncertainty());
  clone.setCvParameterType(clone(componentParameter.getCvParameterType()));
  clone.setCvParameterUnit(clone(componentParameter.getCvParameterUnit()));
  clone.setComponent(componentParameter.getComponent());
  return clone;
}
origin: uk.ac.ebi.intact.core/intact-core

protected ComponentParameter cloneComponentParameter(ComponentParameter componentParameter) throws IntactClonerException {
  if (componentParameter == null) {
    throw new IllegalArgumentException("You must give a non null component parameter");
  }
  ComponentParameter clone = new ComponentParameter();
  clonerManager.addClone(componentParameter, clone);
  clone.setBase(componentParameter.getBase());
  clone.setExponent(componentParameter.getExponent());
  clone.setFactor(componentParameter.getFactor());
  clone.setUncertainty(componentParameter.getUncertainty());
  clone.setCvParameterType(clone(componentParameter.getCvParameterType()));
  clone.setCvParameterUnit(clone(componentParameter.getCvParameterUnit()));
  clone.setComponent(componentParameter.getComponent());
  return clone;
}
uk.ac.ebi.intact.modelComponentParametersetCvParameterType

Popular methods of ComponentParameter

  • <init>
  • clone
  • equals
  • getAc
  • getBase
  • getComponent
  • getCvParameterType
  • getCvParameterUnit
  • getExponent
  • getFactor
  • getUncertainty
  • setBase
  • getUncertainty,
  • setBase,
  • setComponent,
  • setCvParameterUnit,
  • setExponent,
  • setFactor,
  • setUncertainty

Popular in Java

  • Making http post requests using okhttp
  • putExtra (Intent)
  • setScale (BigDecimal)
  • getResourceAsStream (ClassLoader)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • JButton (javax.swing)
  • JFrame (javax.swing)
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Best plugins for Eclipse
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