首页 / dm / oaDMObjectStatusRef

oaDMObjectStatusRef

模块: oapy._oa._dm 导入: from oapy._oa import _dm

概览

oaDMObjectStatusRefoapy 中可用,可通过 _dm 模块访问。

本页汇总 oaDMObjectStatusRef 当前在 oapy 中可用的 Python 接口。

详细说明

The oaDMObjectStatusRef represents a relationship between an oaDMObject and a status bitfield。 It is used by the version control API functions to supply status information for a set of objects。 See also oaDMObjectStatusRefIter 。

构造函数

_dm.oaDMObjectStatusRef(obj=NULL, stat=0)

obj = _dm.oaDMObjectStatusRef(obj=NULL, stat=0)

方法总览

状态 Python 调用
obj.getObject()
obj.getObject()
obj.getStatus()
obj.getStatus()

方法说明

obj.getObject()

绑定状态: 已绑定

Python 调用: obj.getObject()

This function retrieves a pointer to the object in this class。 It can be called from a const instance of the oaDMObjectStatusRef。

Python 示例

from oapy._oa import _dm

# assume obj is a oaDMObjectStatusRef
obj.getObject()

obj.getObject()

绑定状态: 已绑定

Python 调用: obj.getObject()

This function retrieves a reference to the object from this class。

Python 示例

from oapy._oa import _dm

# assume obj is a oaDMObjectStatusRef
obj.getObject()

obj.getStatus()

绑定状态: 已绑定

Python 调用: obj.getStatus()

This function retrieves the status value from this class。 It can be called from a const instance of oaDMObjectStatusRef。

Python 示例

from oapy._oa import _dm

# assume obj is a oaDMObjectStatusRef
obj.getStatus()

obj.getStatus()

绑定状态: 已绑定

Python 调用: obj.getStatus()

This function retrieves a reference to the status value from this class。

Python 示例

from oapy._oa import _dm

# assume obj is a oaDMObjectStatusRef
obj.getStatus()