Property Inheritance Value

There may be a scenario when the property on an object is inherited. You can retrieve the inherited property value using the code example given below. The Reference attribute within the <Type> element defines the reference property to look into. The Object_Type attribute defines the corresponding object, whereas the Property attribute defines the property in the object to probe. The inheritance is drilled down until the property value is not null. For example, to retrieve the Name for Domain or Attributes where the Name property on the current domain or attribute is NULL then it gets the "Parent_Domain_Ref" on the current object, on that id it looks into for an object of type "Domain" with the id associated with "Parent_Domain_Ref" property and gets its property "Name". If it is NULL, it further looks into the "Parent_Domain_Ref" property on that object and likewise looks further up till the property is retrieved.

Syntax:

<Type Reference = "Parent_Domain_Ref" Object_Type = "Domain" Property = "Name">Name</Type>