Compartilhar via


2.2.5.14 ObjectTranslation Object

The ObjectTranslation object represents the translations of metadata properties for the Culture parent object. Properties such as the name and description of a metadata object can be translated. If they are not translated, the properties specified on the main object are used.

The ObjectTranslation object has a weakly typed reference to the object that it is translating. For information on the distinction between strongly typed and weakly typed, see section 1.3.1.

The ObjectTranslation object has the following properties.

Name

Type

Description

ID

unsignedLong

A reference to the object.

CultureID

unsignedLong

An ID-based reference to a Culture object.

ObjectID

unsignedLong

An ID-based reference to the object.

ObjectType

int

The data type of the object specified by ObjectID. The possible values are as follows:

  • TM_TYPEID_Model (1)

  • TM_TYPEID_Table (3)

  • TM_TYPEID_Column (4)

  • TM_TYPEID_Measure (8)

  • TM_TYPEID_Hierarchy (9)

  • TM_TYPEID_Level (10)

  • TM_TYPEID_KPI (12)

  • TM_TYPEID_Perspective (29)

  • TM_TYPEID_Role (34)

  • TM_TYPEID_Variation (37)<66>
    Requires compatibility level 1400 or higher

  • TM_TYPEID_Expression (41)<67>
    Requires compatibility level 1400 or higher

Property

enumeration

Specifies which property of the object is being translated. The possible values are as follows:

  • Invalid (-1) – The property is invalid. This is the default value.

  • Caption (1) – The caption for the object is shown instead of the name of the object, if a caption is available.

  • Description (2) – This value is the description of the object.

  • DisplayFolder (3) – This value is the DisplayFolder property.

Value

string

The value of the translation.

ModifiedTime

dateTime

The time that the object was last modified.

Altered<68>

boolean

A Boolean that indicates whether the translation of the property has been changed.

Compatibility level 1600 or higher is required.