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

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

Best Java code snippets using uk.ac.ebi.intact.model.ComponentParameter.getAc (Showing top 2 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;
}
uk.ac.ebi.intact.modelComponentParametergetAc

Popular methods of ComponentParameter

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

Popular in Java

  • Making http requests using okhttp
  • scheduleAtFixedRate (Timer)
  • getExternalFilesDir (Context)
  • getApplicationContext (Context)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Option (scala)
  • Top 12 Jupyter Notebook extensions
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