首页 / base / oaGroupDeleteWhen

oaGroupDeleteWhen

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

概览

oaGroupDeleteWhenoapy 中可用,可通过 _base 模块访问。

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

详细说明

The oaGroupDeleteWhen class is an enum wrapper that indicates the condition on which OpenAccess will automatically delete an oaGroup object。 See oaGroup::setDeleteWhen for its usage。 See Enum Wrappers in the Programmers Guide for a discussion of enum wrappers。 enum oaGroupDeleteWhenEnum Enumeration values: oacNeverGroupDeleteWhen "never" The group is never deleted automatically。 oacOnFirstGroupDeleteWhen "onFirst" The group is deleted if any of its members are deleted。 oacOnLastGroupDeleteWhen "onLast" The group is deleted if it becomes empty。

构造函数

_base.oaGroupDeleteWhen(valueIn)

obj = _base.oaGroupDeleteWhen(valueIn)

_base.oaGroupDeleteWhen(name)

obj = _base.oaGroupDeleteWhen(name)

方法总览

状态 Python 调用
obj.getName()

方法说明

obj.getName()

绑定状态: 已绑定

Python 调用: obj.getName()

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

Python 示例

from oapy._oa import _base

# assume obj is a oaGroupDeleteWhen
obj.getName()