Repository InternalIDToObjectID Method

Meta Data Services Programming

Meta Data Services Programming

Repository InternalIDToObjectID Method

This method translates an internal identifier into an object identifier. The repository engine uses internal identifiers to identify instances of RepositoryObject or RepositoryObjectVersion.

Syntax

variable = object.InternalIDToObjectID(internalId)

The InternalIDToObjectID method syntax has the following parts.

Part Description
variable Receives the object identifier
object The object that represents the open repository instance through which application code or a tool interacts with a repository
internalId The internal identifier to be converted
Remarks

Object identifiers are globally unique, and are the same across repositories for the same object. Internal identifiers are unique only within the scope of a single repository.

The translation performed by this method is accomplished without loading the object in question. This enables database queries involving an object or relationship type identifier to be constructed without having to load the definition object.

See Also

Assigning Object Identifiers

Object Identifiers and Internal Identifiers

Repository Object