Inter-Object Relationships

Objects have parent-child or associative relationships with other objects.

In a parent-child relationship, such as that between an environment and a node or application, one object is contained in its parent object. The relationship is expressed in the nested structure of the object definition. For example, the Enterprise object is the parent of Environment, Host, ResourceTemplate, DAA, and LogAppender. When a parent object is deleted, its children are deleted.

An associative relationship expresses an interaction between objects that does not involve ownership. An example is the relationship between an application and an application template. To express associative relationships you use a reference type when you identify the reference to one object by another object. For example:

		<Application xsi:type="amxdata:Application"
			name="datemanager"
			importBindings="true">
 
			<ApplicationTemplate 
				xsi:type="amxdata_reference:ApplicationTemplate_reference" 
				name="JavaDateManagerSoa"/>

		</Application>