当前位置: 首页>>代码示例>>Java>>正文


Java ComponentDefinition.containsType方法代码示例

本文整理汇总了Java中org.sbolstandard.core2.ComponentDefinition.containsType方法的典型用法代码示例。如果您正苦于以下问题:Java ComponentDefinition.containsType方法的具体用法?Java ComponentDefinition.containsType怎么用?Java ComponentDefinition.containsType使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.sbolstandard.core2.ComponentDefinition的用法示例。


在下文中一共展示了ComponentDefinition.containsType方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: isSpeciesDefinition

import org.sbolstandard.core2.ComponentDefinition; //导入方法依赖的package包/类
/**
 * Determine if the given SBOL ComponentDefinition is a valid SBML species.
 * 
 * @param compDef - The SBOL ComponentDefinition to check if it is a valid SBML species
 * @return True if the given ComponentDefinition is a valid SBML species
 */
private static boolean isSpeciesDefinition(ComponentDefinition compDef) {
	return isComplexDefinition(compDef)
			|| isProteinDefinition(compDef)
			|| isRNADefinition(compDef)
			//				|| isTFDefinition(compDef)
			|| isSmallMoleculeDefinition(compDef)
			|| compDef.containsType(ComponentDefinition.EFFECTOR);
}
 
开发者ID:MyersResearchGroup,项目名称:iBioSim,代码行数:15,代码来源:SBOL2SBML.java

示例2: isDNADefinition

import org.sbolstandard.core2.ComponentDefinition; //导入方法依赖的package包/类
/**
 * Determine if the given SBOL ComponentDefinition is a valid DNA species.
 * 
 * @param compDef - The SBOL ComponentDefinition to check if it is a valid DNA species.
 * @return True if the given ComponentDefinition is a valid DNA species
 */
private static boolean isDNADefinition(ComponentDefinition compDef) {
	return compDef.containsType(ComponentDefinition.DNA);
}
 
开发者ID:MyersResearchGroup,项目名称:iBioSim,代码行数:10,代码来源:SBOL2SBML.java

示例3: isProteinDefinition

import org.sbolstandard.core2.ComponentDefinition; //导入方法依赖的package包/类
/**
 * Determine if the given SBOL ComponentDefinition is a valid protein species.
 * 
 * @param compDef - The SBOL ComponentDefinition to check if it is a valid protein species.
 * @return True if the given ComponentDefinition is a valid protein species
 */
private static boolean isProteinDefinition(ComponentDefinition compDef) {
	return compDef.containsType(ComponentDefinition.PROTEIN);
}
 
开发者ID:MyersResearchGroup,项目名称:iBioSim,代码行数:10,代码来源:SBOL2SBML.java

示例4: isRNADefinition

import org.sbolstandard.core2.ComponentDefinition; //导入方法依赖的package包/类
/**
 * Determine if the given SBOL ComponentDefinition is a valid RNA species.
 * 
 * @param compDef - The SBOL ComponentDefinition to check if it is a valid RNA species.
 * @return True if the given ComponentDefinition is a valid RNA species
 */
private static boolean isRNADefinition(ComponentDefinition compDef) {
	return compDef.containsType(ComponentDefinition.RNA);
}
 
开发者ID:MyersResearchGroup,项目名称:iBioSim,代码行数:10,代码来源:SBOL2SBML.java

示例5: isComplexDefinition

import org.sbolstandard.core2.ComponentDefinition; //导入方法依赖的package包/类
/**
 * Determine if the given SBOL ComponentDefinition is Complex SBML species.
 * 
 * @param compDef - The ComponentDefinition to determine if it is a Complex SBML species.
 * @return True if the given ComponentDefinition is Complex SBML species. False otherwise. 
 */
private static boolean isComplexDefinition(ComponentDefinition compDef) {
	return compDef.containsType(ComponentDefinition.COMPLEX);
}
 
开发者ID:MyersResearchGroup,项目名称:iBioSim,代码行数:10,代码来源:SBOL2SBML.java

示例6: isSmallMoleculeDefinition

import org.sbolstandard.core2.ComponentDefinition; //导入方法依赖的package包/类
/**
 * Determine if the given SBOL ComponentDefinition is Small Molecule SBML species.
 * 
 * @param compDef - The ComponentDefinition to determine if it is a Small Molecule SBML species.
 * @return True if the given ComponentDefinition is Small Molecule SBML species. False otherwise. 
 */
private static boolean isSmallMoleculeDefinition(ComponentDefinition compDef) {
	return compDef.containsType(ComponentDefinition.SMALL_MOLECULE);
}
 
开发者ID:MyersResearchGroup,项目名称:iBioSim,代码行数:10,代码来源:SBOL2SBML.java


注:本文中的org.sbolstandard.core2.ComponentDefinition.containsType方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。