uk.ac.ebi.intact.model.Interaction.setCvInteractorType()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(4.0k)|赞(0)|评价(0)|浏览(88)

本文整理了Java中uk.ac.ebi.intact.model.Interaction.setCvInteractorType()方法的一些代码示例,展示了Interaction.setCvInteractorType()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Interaction.setCvInteractorType()方法的具体详情如下:
包路径:uk.ac.ebi.intact.model.Interaction
类名称:Interaction
方法名:setCvInteractorType

Interaction.setCvInteractorType介绍

暂无

代码示例

代码示例来源:origin: uk.ac.ebi.intact.core/intact-core-readonly

private void synchronizeInteraction( Interaction interaction, boolean synchronizeAnnotatedAttributes ) {
  interaction.setCvInteractionType( synchronize( interaction.getCvInteractionType() ) );
  interaction.setCvInteractorType( synchronize( interaction.getCvInteractorType() ) );
  if (IntactCore.isInitializedAndDirty(interaction.getComponents())){
    Collection<Component> components = synchronizeCollection(interaction.getComponents());
    interaction.getComponents().clear();
    interaction.getComponents().addAll(components);
  }
  interaction.setBioSource( synchronize( interaction.getBioSource() ) );
  if (IntactCore.isInitializedAndDirty(interaction.getExperiments())){
    Collection<Experiment> experiment = synchronizeCollection(interaction.getExperiments());
    interaction.getExperiments().clear();
    interaction.getExperiments().addAll(experiment);
  }
  // cannot call setConfidences in interaction because of orphan relationship limitation
  if (IntactCore.isInitializedAndDirty(interaction.getConfidences())){
    Collection<Confidence> confidences = synchronizeConfidences(interaction.getConfidences(), interaction);
    interaction.getConfidences().clear();
    interaction.getConfidences().addAll(confidences);
  }
  // cannot call setParameters in interaction because of orphan relationship limitation
  if (IntactCore.isInitializedAndDirty(interaction.getParameters())){
    Collection<InteractionParameter> interactionParameters = synchronizeInteractionParameters(interaction.getParameters(), interaction);
    interaction.getParameters().clear();
    interaction.getParameters().addAll(interactionParameters);
  }
  if (synchronizeAnnotatedAttributes){
    synchronizeAnnotatedObjectCommons( interaction );
  }
}

代码示例来源:origin: uk.ac.ebi.intact.core/intact-core

private void synchronizeInteraction( Interaction interaction, boolean synchronizeAnnotatedAttributes ) {
  interaction.setCvInteractionType( synchronize( interaction.getCvInteractionType() ) );
  interaction.setCvInteractorType( synchronize( interaction.getCvInteractorType() ) );
  if (IntactCore.isInitializedAndDirty(interaction.getComponents())){
    Collection<Component> components = synchronizeCollection(interaction.getComponents());
    interaction.getComponents().clear();
    interaction.getComponents().addAll(components);
  }
  interaction.setBioSource( synchronize( interaction.getBioSource() ) );
  if (IntactCore.isInitializedAndDirty(interaction.getExperiments())){
    Collection<Experiment> experiment = synchronizeCollection(interaction.getExperiments());
    interaction.getExperiments().clear();
    interaction.getExperiments().addAll(experiment);
  }
  // cannot call setConfidences in interaction because of orphan relationship limitation
  if (IntactCore.isInitializedAndDirty(interaction.getConfidences())){
    Collection<Confidence> confidences = synchronizeConfidences(interaction.getConfidences(), interaction);
    interaction.getConfidences().clear();
    interaction.getConfidences().addAll(confidences);
  }
  // cannot call setParameters in interaction because of orphan relationship limitation
  if (IntactCore.isInitializedAndDirty(interaction.getParameters())){
    Collection<InteractionParameter> interactionParameters = synchronizeInteractionParameters(interaction.getParameters(), interaction);
    interaction.getParameters().clear();
    interaction.getParameters().addAll(interactionParameters);
  }
  if (synchronizeAnnotatedAttributes){
    synchronizeAnnotatedObjectCommons( interaction );
  }
}

代码示例来源:origin: uk.ac.ebi.intact.core/intact-core

clone.setCvInteractorType(clone(interaction.getCvInteractorType()));

代码示例来源:origin: uk.ac.ebi.intact.core/intact-core-readonly

clone.setCvInteractorType(clone(interaction.getCvInteractorType()));

代码示例来源:origin: uk.ac.ebi.intact.dataexchange.psimi/intact-psixml-converters

interaction.setCvInteractorType(interactorType);

相关文章