- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中uk.ac.ebi.intact.model.util.XrefUtils.createIdentityXref()
方法的一些代码示例,展示了XrefUtils.createIdentityXref()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XrefUtils.createIdentityXref()
方法的具体详情如下:
包路径:uk.ac.ebi.intact.model.util.XrefUtils
类名称:XrefUtils
方法名:createIdentityXref
暂无
代码示例来源:origin: uk.ac.ebi.intact/intact-core
public <X extends Xref> X createIdentityXref(AnnotatedObject<X,?> parent, String primaryId, CvDatabase cvDatabase) {
return XrefUtils.createIdentityXref(parent, primaryId, getIdentityQualifier(), cvDatabase);
}
代码示例来源:origin: uk.ac.ebi.intact.core/intact-core
public <X extends Xref> X createIdentityXref(AnnotatedObject<X,?> parent, String primaryId, CvDatabase cvDatabase) {
return XrefUtils.createIdentityXref(parent, primaryId, getIdentityQualifier(), cvDatabase);
}
代码示例来源:origin: uk.ac.ebi.intact.core/intact-core-readonly
public <X extends Xref> X createIdentityXref(AnnotatedObject<X,?> parent, String primaryId, CvDatabase cvDatabase) {
return XrefUtils.createIdentityXref(parent, primaryId, getIdentityQualifier(), cvDatabase);
}
代码示例来源:origin: uk.ac.ebi.intact.core/intact-core
public static <X extends Xref> X createIdentityXref(AnnotatedObject<X, ?> parent, String primaryId, CvDatabase cvDatabase) {
CvObjectBuilder builder = new CvObjectBuilder();
return createIdentityXref(parent, primaryId, builder.createIdentityCvXrefQualifier(parent.getOwner()), cvDatabase);
}
代码示例来源:origin: uk.ac.ebi.intact.core/intact-core-readonly
public static <X extends Xref> X createIdentityXref(AnnotatedObject<X, ?> parent, String primaryId, CvDatabase cvDatabase) {
CvObjectBuilder builder = new CvObjectBuilder();
return createIdentityXref(parent, primaryId, builder.createIdentityCvXrefQualifier(parent.getOwner()), cvDatabase);
}
代码示例来源:origin: uk.ac.ebi.intact.core/intact-core
public static <X extends Xref> X createIdentityXrefEmblGenbankDdbj(AnnotatedObject<X, ?> parent, String emblGenbankDdbjId) {
CvObjectBuilder builder = new CvObjectBuilder();
CvDatabase cvDatabase = CvObjectUtils.createCvObject(parent.getOwner(),
CvDatabase.class,
CvDatabase.DDBG_MI_REF,
CvDatabase.DDBG);
return createIdentityXref(parent, emblGenbankDdbjId,
builder.createIdentityCvXrefQualifier(parent.getOwner()),
cvDatabase);
}
代码示例来源:origin: uk.ac.ebi.intact.core/intact-core-readonly
public static <X extends Xref> X createIdentityXrefUniprot(AnnotatedObject<X, ?> parent, String primaryId) {
CvObjectBuilder builder = new CvObjectBuilder();
CvDatabase cvDatabase = CvObjectUtils.createCvObject(parent.getOwner(), CvDatabase.class, CvDatabase.UNIPROT_MI_REF, CvDatabase.UNIPROT);
return createIdentityXref(parent, primaryId, builder.createIdentityCvXrefQualifier(parent.getOwner()), cvDatabase);
}
代码示例来源:origin: uk.ac.ebi.intact.core/intact-core
public static <X extends Xref> X createIdentityXrefUniprot(AnnotatedObject<X, ?> parent, String primaryId) {
CvObjectBuilder builder = new CvObjectBuilder();
CvDatabase cvDatabase = CvObjectUtils.createCvObject(parent.getOwner(), CvDatabase.class, CvDatabase.UNIPROT_MI_REF, CvDatabase.UNIPROT);
return createIdentityXref(parent, primaryId, builder.createIdentityCvXrefQualifier(parent.getOwner()), cvDatabase);
}
代码示例来源:origin: uk.ac.ebi.intact/intact-core
public static <X extends Xref> X createIdentityXrefUniprot(AnnotatedObject<X,?> parent, String primaryId) {
CvObjectBuilder builder = new CvObjectBuilder();
CvDatabase cvDatabase = CvObjectUtils.createCvObject(parent.getOwner(), CvDatabase.class, CvDatabase.UNIPROT_MI_REF, CvDatabase.UNIPROT);
return createIdentityXref(parent, primaryId, builder.createIdentityCvXrefQualifier(parent.getOwner()), cvDatabase);
}
代码示例来源:origin: uk.ac.ebi.intact.core/intact-core-readonly
public static <X extends Xref> X createIdentityXrefIntact(AnnotatedObject<X, ?> parent, String intactId) {
CvObjectBuilder builder = new CvObjectBuilder();
CvDatabase cvDatabase = CvObjectUtils.createCvObject(parent.getOwner(), CvDatabase.class, CvDatabase.INTACT_MI_REF, CvDatabase.INTACT);
return createIdentityXref(parent, intactId, builder.createIdentityCvXrefQualifier(parent.getOwner()), cvDatabase);
}
代码示例来源:origin: uk.ac.ebi.intact.dataexchange.psimi/intact-psixml-converters
protected InteractorXref createImexXref(Interaction interaction, String imexId) {
CvDatabase cvImex = CvObjectUtils.createCvObject(interaction.getOwner(), CvDatabase.class, CvDatabase.IMEX_MI_REF, CvDatabase.IMEX);
cvImex.setFullName(CvDatabase.IMEX);
CvXrefQualifier imexPrimary = CvObjectUtils.createCvObject(interaction.getOwner(), CvXrefQualifier.class, CvXrefQualifier.IMEX_PRIMARY_MI_REF, CvXrefQualifier.IMEX_PRIMARY);
return XrefUtils.createIdentityXref(interaction, imexId, imexPrimary, cvImex);
}
代码示例来源:origin: uk.ac.ebi.intact.core/intact-core-readonly
public static <X extends Xref> X createIdentityXrefEmblGenbankDdbj(AnnotatedObject<X, ?> parent, String emblGenbankDdbjId) {
CvObjectBuilder builder = new CvObjectBuilder();
CvDatabase cvDatabase = CvObjectUtils.createCvObject(parent.getOwner(),
CvDatabase.class,
CvDatabase.DDBG_MI_REF,
CvDatabase.DDBG);
return createIdentityXref(parent, emblGenbankDdbjId,
builder.createIdentityCvXrefQualifier(parent.getOwner()),
cvDatabase);
}
代码示例来源:origin: uk.ac.ebi.intact/intact-core
public static <X extends Xref> X createIdentityXrefPsiMi(AnnotatedObject<X,?> parent, String primaryId) {
CvObjectBuilder builder = new CvObjectBuilder();
return createIdentityXref(parent, primaryId, builder.createIdentityCvXrefQualifier(parent.getOwner()), builder.createPsiMiCvDatabase(parent.getOwner()));
}
代码示例来源:origin: uk.ac.ebi.intact.core/intact-core
public static <X extends Xref> X createIdentityXrefPsiMi(AnnotatedObject<X, ?> parent, String primaryId) {
CvObjectBuilder builder = new CvObjectBuilder();
return createIdentityXref(parent, primaryId, builder.createIdentityCvXrefQualifier(parent.getOwner()), builder.createPsiMiCvDatabase(parent.getOwner()));
}
代码示例来源:origin: uk.ac.ebi.intact.core/intact-core
public static <X extends Xref> X createIdentityXrefIntact(AnnotatedObject<X, ?> parent, String intactId) {
CvObjectBuilder builder = new CvObjectBuilder();
CvDatabase cvDatabase = CvObjectUtils.createCvObject(parent.getOwner(), CvDatabase.class, CvDatabase.INTACT_MI_REF, CvDatabase.INTACT);
return createIdentityXref(parent, intactId, builder.createIdentityCvXrefQualifier(parent.getOwner()), cvDatabase);
}
代码示例来源:origin: uk.ac.ebi.intact.core/intact-core
public static <X extends Xref> X createIdentityXrefChebi(AnnotatedObject<X, ?> parent, String chebiId) {
CvObjectBuilder builder = new CvObjectBuilder();
CvDatabase cvDatabase = CvObjectUtils.createCvObject(parent.getOwner(), CvDatabase.class, CvDatabase.CHEBI_MI_REF, CvDatabase.CHEBI);
return createIdentityXref(parent, chebiId, builder.createIdentityCvXrefQualifier(parent.getOwner()), cvDatabase);
}
代码示例来源:origin: uk.ac.ebi.intact.core/intact-core-readonly
public static <X extends Xref> X createIdentityXrefChebi(AnnotatedObject<X, ?> parent, String chebiId) {
CvObjectBuilder builder = new CvObjectBuilder();
CvDatabase cvDatabase = CvObjectUtils.createCvObject(parent.getOwner(), CvDatabase.class, CvDatabase.CHEBI_MI_REF, CvDatabase.CHEBI);
return createIdentityXref(parent, chebiId, builder.createIdentityCvXrefQualifier(parent.getOwner()), cvDatabase);
}
代码示例来源:origin: uk.ac.ebi.intact.core/intact-core-readonly
public static <X extends Xref> X createIdentityXrefPsiMi(AnnotatedObject<X, ?> parent, String primaryId) {
CvObjectBuilder builder = new CvObjectBuilder();
return createIdentityXref(parent, primaryId, builder.createIdentityCvXrefQualifier(parent.getOwner()), builder.createPsiMiCvDatabase(parent.getOwner()));
}
代码示例来源:origin: uk.ac.ebi.intact.dbupdate/intact-cv-update
public static CvObjectXref createIdentityXref(CvDagObject term, String database, String identifier) {
DaoFactory factory = IntactContext.getCurrentInstance().getDaoFactory();
CvObjectXref cvXref;
CvXrefQualifier identity = factory.getCvObjectDao(CvXrefQualifier.class).getByPsiMiRef(CvXrefQualifier.IDENTITY_MI_REF);
CvDatabase db = factory.getCvObjectDao(CvDatabase.class).getByPsiMiRef(database);
if (identity == null){
identity = CvObjectUtils.createCvObject(IntactContext.getCurrentInstance().getInstitution(), CvXrefQualifier.class, CvXrefQualifier.IDENTITY_MI_REF, CvXrefQualifier.IDENTITY);
IntactContext.getCurrentInstance().getCorePersister().saveOrUpdate(identity);
}
if (db == null){
db = CvObjectUtils.createCvObject(IntactContext.getCurrentInstance().getInstitution(), CvDatabase.class, database, database);
IntactContext.getCurrentInstance().getCorePersister().saveOrUpdate(db);
}
// create identity xref
cvXref = XrefUtils.createIdentityXref(term, identifier, identity, db);
term.addXref(cvXref);
return cvXref;
}
代码示例来源:origin: uk.ac.ebi.intact.dbupdate/intact-cv-update
public static CvObjectXref createSecondaryXref(CvDagObject term, String database, String identifier) {
DaoFactory factory = IntactContext.getCurrentInstance().getDaoFactory();
CvObjectXref cvXref;
CvXrefQualifier secondary = factory.getCvObjectDao(CvXrefQualifier.class).getByPsiMiRef(CvXrefQualifier.SECONDARY_AC_MI_REF);
CvDatabase db = factory.getCvObjectDao(CvDatabase.class).getByPsiMiRef(database);
if (secondary == null){
secondary = CvObjectUtils.createCvObject(IntactContext.getCurrentInstance().getInstitution(), CvXrefQualifier.class, CvXrefQualifier.SECONDARY_AC_MI_REF, CvXrefQualifier.SECONDARY_AC);
IntactContext.getCurrentInstance().getCorePersister().saveOrUpdate(secondary);
}
if (db == null){
db = CvObjectUtils.createCvObject(IntactContext.getCurrentInstance().getInstitution(), CvDatabase.class, database, database);
IntactContext.getCurrentInstance().getCorePersister().saveOrUpdate(db);
}
// create identity xref
cvXref = XrefUtils.createIdentityXref(term, identifier, secondary, db);
term.addXref(cvXref);
return cvXref;
}
本文整理了Java中org.embl.ebi.escience.scufl.enactor.WorkflowInstance类的一些代码示例,展示了WorkflowInstance类的具体用法。这些代
本文整理了Java中uk.ac.ebi.intact.model.util.XrefUtils类的一些代码示例,展示了XrefUtils类的具体用法。这些代码示例主要来源于Github/Stackov
本文整理了Java中uk.ac.ebi.intact.application.dataConversion.ZipFileGenerator类的一些代码示例,展示了ZipFileGenerator类的
本文整理了Java中uk.ac.ebi.intact.application.commons.util.ZipBuilder类的一些代码示例,展示了ZipBuilder类的具体用法。这些代码示例主要来
本文整理了Java中org.embl.ebi.escience.scufl.enactor.WorkflowInstance.getIntermediateResultsForProcessor()方
本文整理了Java中org.embl.ebi.escience.scufl.enactor.WorkflowInstance.destroy()方法的一些代码示例,展示了WorkflowInstanc
本文整理了Java中org.embl.ebi.escience.scufl.enactor.WorkflowInstance.getOutput()方法的一些代码示例,展示了WorkflowInsta
本文整理了Java中org.embl.ebi.escience.scufl.enactor.WorkflowInstance.getID()方法的一些代码示例,展示了WorkflowInstance.
本文整理了Java中org.embl.ebi.escience.scufl.enactor.WorkflowInstance.run()方法的一些代码示例,展示了WorkflowInstance.ru
本文整理了Java中org.embl.ebi.escience.scufl.enactor.WorkflowInstance.getProgressReportXMLString()方法的一些代码示例
本文整理了Java中org.embl.ebi.escience.scufl.enactor.WorkflowInstance.getProvenanceXMLString()方法的一些代码示例,展示了
本文整理了Java中uk.ac.ebi.intact.model.util.XrefUtils.newXrefInstanceFor()方法的一些代码示例,展示了XrefUtils.newXrefIn
本文整理了Java中uk.ac.ebi.intact.model.util.XrefUtils.createIdentityXrefChebi()方法的一些代码示例,展示了XrefUtils.crea
本文整理了Java中uk.ac.ebi.intact.model.util.XrefUtils.getIdentityXrefs()方法的一些代码示例,展示了XrefUtils.getIdentity
本文整理了Java中uk.ac.ebi.intact.model.util.XrefUtils.createIdentityXrefEmblGenbankDdbj()方法的一些代码示例,展示了Xref
本文整理了Java中uk.ac.ebi.intact.model.util.XrefUtils.getPsiMiIdentityXref()方法的一些代码示例,展示了XrefUtils.getPsiM
本文整理了Java中uk.ac.ebi.intact.model.util.XrefUtils.createIdentityXrefPsiMi()方法的一些代码示例,展示了XrefUtils.crea
本文整理了Java中uk.ac.ebi.intact.model.util.XrefUtils.hasIdentity()方法的一些代码示例,展示了XrefUtils.hasIdentity()的具体
本文整理了Java中uk.ac.ebi.intact.model.util.XrefUtils.createIdentityXrefUniprot()方法的一些代码示例,展示了XrefUtils.cr
本文整理了Java中uk.ac.ebi.intact.model.util.XrefUtils.createIdentityXref()方法的一些代码示例,展示了XrefUtils.createIde
我是一名优秀的程序员,十分优秀!