首页 / dm / oaVCCap

oaVCCap

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

概览

oaVCCapoapy 中可用,可通过 _dm 模块访问。

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

详细说明

The oaVCCap wrapper class implements an enumerated use type for oaVCCapEnum values, which describe the different capabilities of a version control system。 enum oaVCCapEnum This enumeration represents all the version control capabilities that the OpenAccess DM implementation requires。 This list can grow, but existing values will never change。 Implementors must be able to respond to values of this enum that are not in existence at the time the code is compiled。 The safest approach is to return false in this case, usually in the default section of a switch statement。 Enumeration values: oacCommitMayChangeFilesVCCap "commitMayChangeFiles" A true result when this capability is queried indicates that the contents of controlled files may change when a commit operation is issued。 oacHasVersionsVCCap "hasVersions" This capability indicates that the current VC system can keep track of multiple version of a file。 A false response indicates that only the last version of a file is maintained in the VC repository。 oacSupportsGetStatusVCCap "supportsGetStatus" This capability represents whether the VC system supports the getStatus funtions。 oacSupportsGetControlledObjectsVCCap "supportsGetControlledObjects" This capability represents whether the VC system supports the getControlledObjects function。 oacSupportsGetControlledLibsVCCap "supportsGetControlledLibs" This capability represents whether the VC system supports the getControlledLibs function。 oacSupportsGetVersionsVCCap "supportsGetVersions" This capability represents whether the VC system supports the getVersions function。 oacSupportsGetWorkingVersionVCCap "supportsGetWorkingVersion" This capability represents whether the VC system supports the getWorkingVersion function。 oacSupportsGetWorkingVersionsVCCap "supportsGetWorkingVersions" This capability represents whether the VC system supports the getWorkingVersions function。 oacSupportsUpdateVCCap "supportsUpdate" This capability represents whether the VC system supports the update function。 oacSupportsMakeEditableVCCap "supportsMakeEditable" This capability represents whether the VC system supports the makeEditable function。 oacSupportsLockVCCap "supportsLock" This capability represents whether the VC system supports locking of check-outs from the repository。 oacSupportsCancelEditVCCap "supportsCancelEdit" This capability represents whether the VC system supports the cancelEdit function。 oacSupportsCommitEditsVCCap "supportsCommitEdits" This capability represents whether the VC system supports the commitEdits function。 oacSupportsSetControlledVCCap "supportsSetControlled" This capability represents whether the VC system supports the setControlled function。 oacSupportsUnSetControlledVCCap "supportsUnSetControlled" This capability represents whether the VC system supports the unSetControlled function。

构造函数

_dm.oaVCCap(valueIn)

obj = _dm.oaVCCap(valueIn)

_dm.oaVCCap(name)

obj = _dm.oaVCCap(name)

方法总览

状态 Python 调用
obj.getName()

方法说明

obj.getName()

绑定状态: 已绑定

Python 调用: obj.getName()

This function returns the name of the oaVCCapEnum value set on this oaVCCap wrapper object。

Python 示例

from oapy._oa import _dm

# assume obj is a oaVCCap
obj.getName()