oaSetAttributeChangeRec
模块: oapy._oa._cms
导入: from oapy._oa import _cms
概览
oaSetAttributeChangeRec 在 oapy 中可用,可通过 _cms 模块访问。
本页汇总 oaSetAttributeChangeRec 当前在 oapy 中可用的 Python 接口。
详细说明
The oaSetAttributeChangeRec class represents a change record that captures information related to setting the value of an attribute。 变更记录由 OpenAccess 变更管理系统(CMS)使用。
构造函数
_cms.oaSetAttributeChangeRec(changeSetIn, valueIn)
obj = _cms.oaSetAttributeChangeRec(changeSetIn, valueIn)
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.getSchemaDefinition() |
| ✅ | obj.getOwner() |
| ✅ | obj.getValue() |
| ✅ | obj.accept(visitor, forward=true) |
方法说明
obj.getSchemaDefinition()
绑定状态: 已绑定
Python 调用: obj.getSchemaDefinition()
此函数返回指向此 oaSetAttributeChangeRec 所针对属性的 schema 定义的指针。 实现 oaAttributeChangeRec。
Python 示例
from oapy._oa import _cms
# assume obj is a oaSetAttributeChangeRec
obj.getSchemaDefinition()
obj.getOwner()
绑定状态: 已绑定
Python 调用: obj.getOwner()
此函数返回指向 oaCMObjectRef 的智能指针,该对象是此 oaAttributeChangeRec 所针对属性的所属对象。 实现 oaAttributeChangeRec。
Python 示例
from oapy._oa import _cms
# assume obj is a oaSetAttributeChangeRec
obj.getOwner()
obj.getValue()
绑定状态: 已绑定
Python 调用: obj.getValue()
This function returns a smart pointer to the srAttributeBase object that represents the particular attribute that is the subject of this change record。
Python 示例
from oapy._oa import _cms
# assume obj is a oaSetAttributeChangeRec
obj.getValue()
obj.accept(visitor, forward=true)
绑定状态: 已绑定
Python 调用: obj.accept(visitor, forward=true)
This function accepts a change record visitor。 It calls the visit function of the specified visitor on this object。 The forward parameter indicates the direction in which the change records are being visited。 The forward parameter might be set to false if the goal of the visit is to roll back changes due to an undo command。 实现 oaChangeRec。
参数
visitor: A pointer to the change record visitor to call on this object。forward: Specifies the direction in which change records are being visited。
Python 示例
from oapy._oa import _cms
# assume obj is a oaSetAttributeChangeRec
obj.accept(visitor, forward=true)