oaFeature
模块: oapy._oa._base
导入: from oapy._oa import _base
概览
oaFeature 在 oapy 中可用,可通过 _base 模块访问。
本页汇总 oaFeature 当前在 oapy 中可用的 Python 接口。
详细说明
The oaFeature class contains the information about the type of data in a database that might prevent an older application from opening it。 An oaFeature is a session object that categorizes and gives names for new types of data in OpenAccess databases。
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.getID() |
| ✅ | obj.getName(name) |
| ✅ | obj.getDBType() |
| ✅ | obj.getDomain() |
| ✅ | obj.getCategory() |
| ✅ | obj.getObjectType() |
| ✅ | obj.getDataModelModType() |
| ✅ | obj.getDataModelRev() |
方法说明
obj.getID()
绑定状态: 已绑定
Python 调用: obj.getID()
This function returns the ID of this feature object。
Python 示例
from oapy._oa import _base
# assume obj is a oaFeature
obj.getID()
obj.getName(name)
绑定状态: 已绑定
Python 调用: obj.getName(name)
This function returns the name of this feature object。
参数
name: The name of this feature。
Python 示例
from oapy._oa import _base
# assume obj is a oaFeature
obj.getName(name)
obj.getDBType()
绑定状态: 已绑定
Python 调用: obj.getDBType()
This function returns the DBType of this feature object。
Python 示例
from oapy._oa import _base
# assume obj is a oaFeature
obj.getDBType()
obj.getDomain()
绑定状态: 已绑定
Python 调用: obj.getDomain()
This function returns the domain of this feature object。 从 oaObject 重新实现。
Python 示例
from oapy._oa import _base
# assume obj is a oaFeature
obj.getDomain()
obj.getCategory()
绑定状态: 已绑定
Python 调用: obj.getCategory()
This function returns the category, which is the relevant portion of the data model, for this feature object。
Python 示例
from oapy._oa import _base
# assume obj is a oaFeature
obj.getCategory()
obj.getObjectType()
绑定状态: 已绑定
Python 调用: obj.getObjectType()
This function returns the objectType of this feature object。
Python 示例
from oapy._oa import _base
# assume obj is a oaFeature
obj.getObjectType()
obj.getDataModelModType()
绑定状态: 已绑定
Python 调用: obj.getDataModelModType()
This function returns a value indicating the type of modification to the data model that this feature represents。 For example, was this feature a change to, addition to, or removal from the data model?。
Python 示例
from oapy._oa import _base
# assume obj is a oaFeature
obj.getDataModelModType()
obj.getDataModelRev()
绑定状态: 已绑定
Python 调用: obj.getDataModelRev()
This function returns the first data model revision in which this feature appears。
Python 示例
from oapy._oa import _base
# assume obj is a oaFeature
obj.getDataModelRev()