首页 / base / oaIntraPointerAppDef

oaIntraPointerAppDef

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

概览

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

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

详细说明

template class oaIntraPointerAppDef< T > The oaIntraPointerAppDef class implements an application-specific extension to a particular type of data in a database。 Once created, a pointer field is added to each object of the specified dataType。 The pointer can point to any object of the same type in the same database。 The pointer cannot be used to point to anything else。 The default value for the object pointer is NULL。 Note: This extension is similar to oaInterPointerAppDef 。 However, since the pointers are all known to be of the same type of object, oaIntraPointerAppDef uses less space。 For additional information on defining and using AppDefs, see oaAppDef and Extending the Database in the Programmer's Guide。

方法总览

状态 Python 调用
obj.set(object, otherObject)
_base.oaIntraPointerAppDef.get(object)
_base.oaIntraPointerAppDef.get(name, persist=true)
_base.oaIntraPointerAppDef.get(name, objDef, persist=true)
_base.oaIntraPointerAppDef.find(name)
_base.oaIntraPointerAppDef.find(name, objDef)

方法说明

obj.set(object, otherObject)

绑定状态: 已绑定

Python 调用: obj.set(object, otherObject)

Python 示例

from oapy._oa import _base

# assume obj is a oaIntraPointerAppDef
obj.set(object, otherObject)

_base.oaIntraPointerAppDef.get(object)

绑定状态: 已绑定

Python 调用: _base.oaIntraPointerAppDef.get(object)

Python 示例

from oapy._oa import _base

_base.oaIntraPointerAppDef.get(object)

_base.oaIntraPointerAppDef.get(name, persist=true)

绑定状态: 已绑定

Python 调用: _base.oaIntraPointerAppDef.get(name, persist=true)

Python 示例

from oapy._oa import _base

_base.oaIntraPointerAppDef.get(name, persist=true)

_base.oaIntraPointerAppDef.get(name, objDef, persist=true)

绑定状态: 已绑定

Python 调用: _base.oaIntraPointerAppDef.get(name, objDef, persist=true)

Python 示例

from oapy._oa import _base

_base.oaIntraPointerAppDef.get(name, objDef, persist=true)

_base.oaIntraPointerAppDef.find(name)

绑定状态: 已绑定

Python 调用: _base.oaIntraPointerAppDef.find(name)

Python 示例

from oapy._oa import _base

_base.oaIntraPointerAppDef.find(name)

_base.oaIntraPointerAppDef.find(name, objDef)

绑定状态: 已绑定

Python 调用: _base.oaIntraPointerAppDef.find(name, objDef)

Python 示例

from oapy._oa import _base

_base.oaIntraPointerAppDef.find(name, objDef)