oaCMObjectStateTbl
模块: oapy._oa._cms
导入: from oapy._oa import _cms
概览
oaCMObjectStateTbl 在 oapy 中可用,可通过 _cms 模块访问。
本页汇总 oaCMObjectStateTbl 当前在 oapy 中可用的 Python 接口。
详细说明
The oaCMObjectStateTbl class contains a collection of object-state entry objects for a change set。 (Object state refers to an OpenAccess object that is identified by a compound state rather than a unique identifier.) The oaCMObjectStateTbl does not support look up。 Rather, it provides a mechanism for object state consolidation。
构造函数
_cms.oaCMObjectStateTbl()
obj = _cms.oaCMObjectStateTbl()
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.begin() |
| ✅ | obj.end() |
| ✅ | obj.cleanup(timeStamp) |
方法说明
obj.begin()
绑定状态: 已绑定
Python 调用: obj.begin()
This function returns a constant iterator that points to the first object-state entry in the table。
Python 示例
from oapy._oa import _cms
# assume obj is a oaCMObjectStateTbl
obj.begin()
obj.end()
绑定状态: 已绑定
Python 调用: obj.end()
This function returns a constant iterator that points to the last object-state entry in the table。
Python 示例
from oapy._oa import _cms
# assume obj is a oaCMObjectStateTbl
obj.end()
obj.cleanup(timeStamp)
绑定状态: 已绑定
Python 调用: obj.cleanup(timeStamp)
This function removes out-of-date state entries contained in this table。
参数
timeStamp: The timestamp indicating the point at which to begin the clean up。
Python 示例
from oapy._oa import _cms
# assume obj is a oaCMObjectStateTbl
obj.cleanup(timeStamp)