<?xml version="1.0" encoding="UTF-8"?>
<itop_design xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.6">
  <classes>
    <class id="lnkVirtualDeviceToVolume" _delta="define">
      <parent>cmdbAbstractObject</parent>
      <properties>
        <is_link>1</is_link>
        <category>bizmodel,configmgmt</category>
        <abstract>false</abstract>
        <key_type>autoincrement</key_type>
        <db_table>lnkvirtualdevicetovolume</db_table>
        <db_key_field>id</db_key_field>
        <db_final_class_field/>
        <naming>
          <attributes>
            <attribute id="volume_id"/>
          </attributes>
        </naming>
        <display_template/>
        <icon/>
        <reconciliation>
          <attributes>
          </attributes>
        </reconciliation>
      </properties>
      <fields>
        <field id="volume_id" xsi:type="AttributeExternalKey">
          <sql>volume_id</sql>
          <target_class>LogicalVolume</target_class>
          <is_null_allowed>false</is_null_allowed>
          <on_target_delete>DEL_AUTO</on_target_delete>
        </field>
        <field id="volume_name" xsi:type="AttributeExternalField">
          <extkey_attcode>volume_id</extkey_attcode>
          <target_attcode>name</target_attcode>
        </field>
        <field id="virtualdevice_id" xsi:type="AttributeExternalKey">
          <sql>virtualdevice_id</sql>
          <target_class>VirtualDevice</target_class>
          <is_null_allowed>false</is_null_allowed>
          <on_target_delete>DEL_AUTO</on_target_delete>
        </field>
        <field id="virtualdevice_name" xsi:type="AttributeExternalField">
          <extkey_attcode>virtualdevice_id</extkey_attcode>
          <target_attcode>name</target_attcode>
        </field>
        <field id="size_used" xsi:type="AttributeString">
          <sql>size_used</sql>
          <default_value/>
          <is_null_allowed>true</is_null_allowed>
        </field>
      </fields>
      <methods/>
      <presentation>
        <details>
          <items>
            <item id="volume_id">
              <rank>10</rank>
            </item>
            <item id="virtualdevice_id">
              <rank>20</rank>
            </item>
            <item id="size_used">
              <rank>30</rank>
            </item>
          </items>
        </details>
        <search>
          <items>
            <item id="volume_id">
              <rank>10</rank>
            </item>
            <item id="virtualdevice_id">
              <rank>20</rank>
            </item>
          </items>
        </search>
        <list>
          <items>
            <item id="volume_id">
              <rank>10</rank>
            </item>
            <item id="virtualdevice_id">
              <rank>20</rank>
            </item>
            <item id="size_used">
              <rank>30</rank>
            </item>
          </items>
        </list>
      </presentation>
    </class>
    <class id="LogicalVolume">
      <relations>
        <relation id="impacts">
          <neighbours>
            <neighbour id="VirtualDevice" _delta="define">
              <attribute>virtualdevices_list</attribute>
            </neighbour>
          </neighbours>
        </relation>
      </relations>
    </class>
  </classes>
</itop_design>
