oaChangeRecVisitor
模块: oapy._oa._cms
导入: from oapy._oa import _cms
概览
oaChangeRecVisitor 在 oapy 中可用,可通过 _cms 模块访问。
本页汇总 oaChangeRecVisitor 当前在 oapy 中可用的 Python 接口。
详细说明
The oaChangeRec classes support visitor design pattern interfaces。 A visitor design pattern interface uses a dual dispatch technique。 Each concrete node in the data structure has an accept method, which provides access to a visitor。 The accept method sends a message to the visitor that includes the node's class。 The visitor can then execute its behavior for that element。 The oaChangeRecVisitor class is capable of visiting concrete oaChangeRec nodes。 A derived visitor must implement a derived interface that accesses the derived change records and provides specific behaviors。 When a change set is exported in the OpenAccess change management system (CMS) , the export process uses an oaChangeRecVisitor to traverse the change records in the change set。 After visiting a specific change record, the visitor exports the contents in the change record to the external format, which now represents the change。
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.visit(node) |
| ✅ | obj.visit(node) |
| ✅ | obj.visit(node) |
| ✅ | obj.visit(node) |
| ✅ | obj.visit(node) |
| ✅ | obj.visit(node) |
| ✅ | obj.visit(node) |
| ✅ | obj.visit(node) |
| ✅ | obj.visit(node) |
| ✅ | obj.visit(node) |
| ✅ | obj.visit(node) |
| ✅ | obj.visit(node) |
| ✅ | obj.visit(node) |
| ✅ | obj.visit(node) |
| ✅ | obj.startHier(node) |
| ✅ | obj.endHier(node) |
方法说明
obj.visit(node)
绑定状态: 已绑定
Python 调用: obj.visit(node)
This function provides access to a concrete node in a change record that describes the type conversion an object。
参数
node: A pointer to a concrete node in a change record that describes the type conversion of an object。
Python 示例
from oapy._oa import _cms
# assume obj is a oaChangeRecVisitor
obj.visit(node)
obj.visit(node)
绑定状态: 已绑定
Python 调用: obj.visit(node)
This function provides access to an oaDestroyObjectChangeRec node。
参数
node: A pointer to a concrete node of type change record that describes the destruction of an object。
Python 示例
from oapy._oa import _cms
# assume obj is a oaChangeRecVisitor
obj.visit(node)
obj.visit(node)
绑定状态: 已绑定
Python 调用: obj.visit(node)
This function provides access to an oaCreateObjectChangeRec node。
参数
node: A pointer to a concrete node of type change record that describes the creation of an object。
Python 示例
from oapy._oa import _cms
# assume obj is a oaChangeRecVisitor
obj.visit(node)
obj.visit(node)
绑定状态: 已绑定
Python 调用: obj.visit(node)
Python 示例
from oapy._oa import _cms
# assume obj is a oaChangeRecVisitor
obj.visit(node)
obj.visit(node)
绑定状态: 已绑定
Python 调用: obj.visit(node)
This function provides access to an oaDestroy1toNRelationshipChangeRec node。
参数
node: A pointer to a concrete node of type change record that describes the operation of destroying a 1-to-n relationship。
Python 示例
from oapy._oa import _cms
# assume obj is a oaChangeRecVisitor
obj.visit(node)
obj.visit(node)
绑定状态: 已绑定
Python 调用: obj.visit(node)
This function provides access to an oaDestroy1to1RelationshipChangeRec node。
参数
node: A pointer to a concrete node of type change record that describes the operation of destroying a 1-to-1 relationship。
Python 示例
from oapy._oa import _cms
# assume obj is a oaChangeRecVisitor
obj.visit(node)
obj.visit(node)
绑定状态: 已绑定
Python 调用: obj.visit(node)
Python 示例
from oapy._oa import _cms
# assume obj is a oaChangeRecVisitor
obj.visit(node)
obj.visit(node)
绑定状态: 已绑定
Python 调用: obj.visit(node)
Python 示例
from oapy._oa import _cms
# assume obj is a oaChangeRecVisitor
obj.visit(node)
obj.visit(node)
绑定状态: 已绑定
Python 调用: obj.visit(node)
This function provides access to an oaCreate1to1RelationshipChangeRec node。
参数
node: A pointer to a concrete node of type change record that describes the operation of creating a 1-to-1 relationship。
Python 示例
from oapy._oa import _cms
# assume obj is a oaChangeRecVisitor
obj.visit(node)
obj.visit(node)
绑定状态: 已绑定
Python 调用: obj.visit(node)
This function provides access to an oaUnsetAttributeChangeRec node。
参数
node: A pointer to a concrete node of type change record that describes the operation of unsetting the value of an attribute。
Python 示例
from oapy._oa import _cms
# assume obj is a oaChangeRecVisitor
obj.visit(node)
obj.visit(node)
绑定状态: 已绑定
Python 调用: obj.visit(node)
This function provides access to an oaSetAttributeChangeRec node。
参数
node: A pointer to a concrete node of type change record that describes the operation of setting the value of an attribute。
Python 示例
from oapy._oa import _cms
# assume obj is a oaChangeRecVisitor
obj.visit(node)
obj.visit(node)
绑定状态: 已绑定
Python 调用: obj.visit(node)
This function provides access to an oaTransientMarkerChangeRec node。
参数
node: A pointer to a concrete node of type transient marker change record。
Python 示例
from oapy._oa import _cms
# assume obj is a oaChangeRecVisitor
obj.visit(node)
obj.visit(node)
绑定状态: 已绑定
Python 调用: obj.visit(node)
This function provides access to an oaExportMarkerChangeRec node。
参数
node: A pointer to a concrete node of type export marker change record。
Python 示例
from oapy._oa import _cms
# assume obj is a oaChangeRecVisitor
obj.visit(node)
obj.visit(node)
绑定状态: 已绑定
Python 调用: obj.visit(node)
This function provides access to an oaHierChangeRec node。
参数
node: A pointer to a concrete node of type hierarchical change record。
Python 示例
from oapy._oa import _cms
# assume obj is a oaChangeRecVisitor
obj.visit(node)
obj.startHier(node)
绑定状态: 已绑定
Python 调用: obj.startHier(node)
A change record visitor is notified when the traversal will begin to descend into a hierarchical change record。 The startHier function allows the caller to control whether or not to descend。
参数
node: A pointer to a concrete node of type hierarchical change record。
Python 示例
from oapy._oa import _cms
# assume obj is a oaChangeRecVisitor
obj.startHier(node)
obj.endHier(node)
绑定状态: 已绑定
Python 调用: obj.endHier(node)
A change record visitor is notified when the traversal will begin to ascend out of a hierarchical change record。 The endHier function allows the caller to control whether or not to ascend。
参数
node: A pointer to a concrete node in a hierarchical change record。
Python 示例
from oapy._oa import _cms
# assume obj is a oaChangeRecVisitor
obj.endHier(node)