oaDestroy1to1RelationshipChangeRec
模块: oapy._oa._cms
导入: from oapy._oa import _cms
概览
oaDestroy1to1RelationshipChangeRec 在 oapy 中可用,可通过 _cms 模块访问。
本页汇总 oaDestroy1to1RelationshipChangeRec 当前在 oapy 中可用的 Python 接口。
详细说明
The oaDestroy1to1RelationshipChangeRec class represents a change record that captures information related to the destruction of a relationship between two single objects。 变更记录由 OpenAccess 变更管理系统(CMS)使用。
构造函数
_cms.oaDestroy1to1RelationshipChangeRec(changeSetIn, valueIn)
obj = _cms.oaDestroy1to1RelationshipChangeRec(changeSetIn, valueIn)
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.getSchemaDefinition() |
| ✅ | obj.getFrom() |
| ✅ | obj.getValue() |
| ✅ | obj.accept(visitor, forward=true) |
方法说明
obj.getSchemaDefinition()
绑定状态: 已绑定
Python 调用: obj.getSchemaDefinition()
This function returns a pointer to the schema definition for the 1-to-1 relationship that is the subject of this oaDestroy1to1RelationshipChangeRec。 从 oaRelationshipChangeRec 重新实现。
Python 示例
from oapy._oa import _cms
# assume obj is a oaDestroy1to1RelationshipChangeRec
obj.getSchemaDefinition()
obj.getFrom()
绑定状态: 已绑定
Python 调用: obj.getFrom()
This function returns the from object of the relationship associated with this change record。 从 oaRelationshipChangeRec 重新实现。
Python 示例
from oapy._oa import _cms
# assume obj is a oaDestroy1to1RelationshipChangeRec
obj.getFrom()
obj.getValue()
绑定状态: 已绑定
Python 调用: obj.getValue()
This function returns a smart pointer to the sr1to1Relationship object that represents the relationship that is the subject of this change record。
Python 示例
from oapy._oa import _cms
# assume obj is a oaDestroy1to1RelationshipChangeRec
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 oaDestroy1to1RelationshipChangeRec
obj.accept(visitor, forward=true)