oaDBType
模块: oapy._oa._base
导入: from oapy._oa import _base
概览
oaDBType 在 oapy 中可用,可通过 _base 模块访问。
本页汇总 oaDBType 当前在 oapy 中可用的 Python 接口。
详细说明
The oaDBType class is an enum wrapper class for oaDBTypeEnum values。 It indicates the type of an OpenAccess database。 See Enum Wrappers in the Programmers Guide for a discussion of enum wrappers。 enum oaDBTypeEnum Enumeration values: oacFutureDBType "Future" oacDesignDBType "Design" oacTechDBType "Tech" oacLibDBType "Lib" oacWaferDBType "Wafer" oacSessionDBType "Session" oacDMDataDBType "DMData"。
构造函数
_base.oaDBType()
obj = _base.oaDBType()
_base.oaDBType(typeIn)
obj = _base.oaDBType(typeIn)
_base.oaDBType(name)
obj = _base.oaDBType(name)
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.getName() |
方法说明
obj.getName()
绑定状态: 已绑定
Python 调用: obj.getName()
This function returns a reference to a constant oaString object that represents the name of this database type。
Python 示例
from oapy._oa import _base
# assume obj is a oaDBType
obj.getName()