4.0

Table Of Contents
relation Element
The <relation> element defines how objects relate to other objects.
You define the relation name in the <relation> element.
The <relation> element is optional. A plug-in can have an unlimited number of <relation> elements. The
<relation> element has the following attributes.
Attributes Value Description
name
Relation name A name for this relation. Mandatory attribute.
type
Orchestrator object type The type of the object that relates to another object by this relation. Mandatory
attribute.
cardinality
to-one or to-many Defines the relation between the objects as one-to-one or one-to-many. Optional
attribute.
Table 7-25. Element Hierarchy
Parent Element Child Elements
<relations>
None
id Element
The <id> element defines a method to obtain the unique ID of the object that the finder identifies.
The <id> element is optional. The <id> element has the following attributes.
Attributes Value Description
accessor
Method name The accessor attribute allows you to define an OGNL expression to validate an object's
properties. Mandatory attribute.
Table 7-26. Element Hierarchy
Parent Element Child Elements
<finder>
None
inventory-children Element
The <inventory-children> element defines the hierarchy of the lists that show the objects in the Orchestrator
client Inventory view and object selection boxes.
The <inventory-children> element is optional. The <inventory-children> element has no attributes.
Table 7-27. Element Hierarchy
Parent Element Child Element
<finder> <relation-link>
relation-link Element
The <relation-link> element defines the hierarchies between parent and child objects in the Inventory tab.
The <relation-link> element is optional. A plug-in can have an unlimited number of <relation-link>
elements. The <relation-link> element has the following attribute.
Chapter 7 Developing Plug-Ins
VMware, Inc. 237