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

x33g5p2x  于2022-01-19 转载在 其他  
字(3.3k)|赞(0)|评价(0)|浏览(123)

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

Feature.getBoundDomain介绍

[英]Provides access to the other Feature to which the current Feature object binds to.
[中]提供对当前要素对象绑定到的其他要素的访问。

代码示例

代码示例来源:origin: uk.ac.ebi.intact.util/data-conversion

Feature feature = (Feature) iterator1.next();
Feature boundDomain = feature.getBoundDomain();
if ( boundDomain == null ) {
  continue; // that feature doesn't interact with an other one, skip it.

代码示例来源:origin: uk.ac.ebi.intact.app/data-conversion

Feature feature = (Feature) iterator1.next();
Feature boundDomain = feature.getBoundDomain();
if ( boundDomain == null ) {
  continue; // that feature doesn't interact with an other one, skip it.

代码示例来源:origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

Feature feature = (Feature) iterator1.next();
Feature boundDomain = feature.getBoundDomain();
if ( boundDomain == null ) {
  continue; // that feature doesn't interact with an other one, skip it.

代码示例来源:origin: uk.ac.ebi.intact.util/data-conversion

Feature feature = (Feature) iterator1.next();
Feature boundDomain = feature.getBoundDomain();
if ( boundDomain == null ) {
  continue;

代码示例来源:origin: uk.ac.ebi.intact.app/data-conversion

Feature feature = (Feature) iterator1.next();
Feature boundDomain = feature.getBoundDomain();
if ( boundDomain == null ) {
  continue;

代码示例来源:origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

Feature feature = (Feature) iterator1.next();
Feature boundDomain = feature.getBoundDomain();
if ( boundDomain == null ) {
  continue;

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

private void synchronizeFeature( Feature feature, boolean synchronizeAnnotatedAttributes ) {
  feature.setBoundDomain( synchronize( feature.getBoundDomain() ) );
  feature.setComponent( synchronize( feature.getComponent() ) );
  feature.setCvFeatureIdentification( synchronize( feature.getCvFeatureIdentification() ) );
  feature.setCvFeatureType( synchronize( feature.getCvFeatureType() ) );
  // cannot call setRanges in interaction because of orphan relationship limitation
  if (IntactCore.isInitializedAndDirty(feature.getRanges())){
    Collection<Range> ranges = synchronizeRanges(feature.getRanges(), feature);
    feature.getRanges().clear();
    feature.getRanges().addAll(ranges);
  }
  if (synchronizeAnnotatedAttributes){
    synchronizeAnnotatedObjectCommons( feature );
  }
}

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

private void synchronizeFeature( Feature feature, boolean synchronizeAnnotatedAttributes ) {
  feature.setBoundDomain( synchronize( feature.getBoundDomain() ) );
  feature.setComponent( synchronize( feature.getComponent() ) );
  feature.setCvFeatureIdentification( synchronize( feature.getCvFeatureIdentification() ) );
  feature.setCvFeatureType( synchronize( feature.getCvFeatureType() ) );
  // cannot call setRanges in interaction because of orphan relationship limitation
  if (IntactCore.isInitializedAndDirty(feature.getRanges())){
    Collection<Range> ranges = synchronizeRanges(feature.getRanges(), feature);
    feature.getRanges().clear();
    feature.getRanges().addAll(ranges);
  }
  if (synchronizeAnnotatedAttributes){
    synchronizeAnnotatedObjectCommons( feature );
  }
}

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

if(feature.getBoundDomain() != null){
  uk.ac.ebi.intact.model.Feature boundFeature = feature.getBoundDomain();

相关文章