本文整理了Java中uk.ac.ebi.intact.model.Feature.setOwner()
方法的一些代码示例,展示了Feature.setOwner()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Feature.setOwner()
方法的具体详情如下:
包路径:uk.ac.ebi.intact.model.Feature
类名称:Feature
方法名:setOwner
暂无
代码示例来源:origin: uk.ac.ebi.intact.dataexchange.psimi/intact-psixml-converters
feature.setOwner(getInstitution());
代码示例来源:origin: uk.ac.ebi.intact.core/intact-core-readonly
public Feature cloneFeature(Feature feature) throws IntactClonerException {
if (feature == null) return null;
Feature clone = new Feature();
clonerManager.addClone(feature, clone);
clone.setOwner(clone(feature.getOwner()));
clone.setShortLabel(feature.getShortLabel());
clone.setCvFeatureType(clone(feature.getCvFeatureType()));
clone.setCvFeatureIdentification(clone(feature.getCvFeatureIdentification()));
if (isCollectionClonable(feature.getRanges())) {
Collection<Range> ranges = IntactCore.ensureInitializedRanges(feature);
for (Range range : ranges) {
clone.addRange(clone(range));
}
}
clone.setComponent(clone(feature.getComponent()));
return clone;
}
代码示例来源:origin: uk.ac.ebi.intact.core/intact-core
public Feature cloneFeature(Feature feature) throws IntactClonerException {
if (feature == null) return null;
Feature clone = new Feature();
clonerManager.addClone(feature, clone);
clone.setOwner(clone(feature.getOwner()));
clone.setShortLabel(feature.getShortLabel());
clone.setCvFeatureType(clone(feature.getCvFeatureType()));
clone.setCvFeatureIdentification(clone(feature.getCvFeatureIdentification()));
if (isCollectionClonable(feature.getRanges())) {
Collection<Range> ranges = IntactCore.ensureInitializedRanges(feature);
for (Range range : ranges) {
clone.addRange(clone(range));
}
}
clone.setComponent(clone(feature.getComponent()));
return clone;
}
内容来源于网络,如有侵权,请联系作者删除!