IMetabasePolicy.ObjectsIdFormat

Syntax

ObjectsIdFormat: String;

Description

The ObjectsIdFormat property determines identifier format for repository objects.

Comments

The property is not set by default. The property is used to set fixed prefix for object identifiers. The fixed format part will be automatically substituted in identifiers of all created objects and also will be specified in objects, for which identifiers will be changed. It is necessary to use the "*" character to determine altered part of identifier. For example: "ADMIN_*". By default, a default identifier is substituted instead of *, this part can be changed.

The property use allows for avoiding intersection of identifiers on repository objects update. If different prefixes are set in different repositories, the intersection of identifiers will not occur on update.

When setting format the string is checked for incorrect data (Cyrillic characters, the first character is number, and so on). Incorrect format is not sent to a core and is not used to form object identifiers. The IMetabasePolicy.IsObjectsIdFormatValid method is used to check the string for existence of incorrect data (Cyrillic characters, the first character is number, and so on).

Example

The property use is given in the example for IMetabasePolicy.IsObjectsIdFormatValid.

See also:

IMetabasePolicy