首页 / design / oaMarkerDeleteWhen

oaMarkerDeleteWhen

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

概览

oaMarkerDeleteWhenoapy 中可用,可通过 _design 模块访问。

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

详细说明

The oaMarkerDeleteWhen class is an enum wrapper class that defines if and when OpenAccess automatically deletes oaMarker objects。 Applications choose one of the values below for each marker they create。 When a marker is deleted, all objects associated with the marker are updated accordingly。 When an object is deleted, the markers associated with it are checked to see if they should be destroyed, based on the value of its deleteWhen attribute。 See Enum Wrappers in the Programmers Guide for a discussion of enum wrappers。 enum oaMarkerDeleteWhenEnum Enumeration values: oacDeleteOnUnknown "deleteUnknown" Applications should not use this value oacDeleteOnNever "deleteNever" A marker with this attribute will only be destroyed when it is explicitly destroyed。 The marker will remain even when it has no objects associated with it。 oacDeleteOnFirst "deleteFirst" A marker with this attribute will be destroyed when any of its associated objects is removed。 oacDeleteOnLast "deleteLast" A marker with this attribute will be destroyed when the last object associated with the it is removed。 oacDeleteOnModify "deleteModified" A marker with this attribute will be destroyed when any of its associated objects is modified。

构造函数

_design.oaMarkerDeleteWhen(valueIn)

obj = _design.oaMarkerDeleteWhen(valueIn)

_design.oaMarkerDeleteWhen(name)

obj = _design.oaMarkerDeleteWhen(name)

方法总览

状态 Python 调用
obj.getName()

方法说明

obj.getName()

绑定状态: 已绑定

Python 调用: obj.getName()

This function returns the name string associated with the encapsulated oaMarkerDeleteWhenEnum object。

Python 示例

from oapy._oa import _design

# assume obj is a oaMarkerDeleteWhen
obj.getName()