blob: bba7992978a24424254f9df5aad204728da0be7b [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<descriptor type="o-x">
<name>com.example.customer.Address</name>
<class-handle>
<type-name>com.example.customer.Address</type-name>
</class-handle>
<transactional-policy type="ox">
<descriptor-alias>Address</descriptor-alias>
<refresh-cache-policy/>
<caching-policy/>
<query-manager type="ox"/>
<locking-policy type="ox"/>
<primary-key-policy>
<primary-keys>
<xml-field>@id</xml-field>
</primary-keys>
</primary-key-policy>
</transactional-policy>
<mappings>
<mapping type="xml-direct">
<name>city</name>
<attribute-handle>
<attribute-declaring-type-name>com.example.customer.Address</attribute-declaring-type-name>
<attribute-name>city</attribute-name>
</attribute-handle>
<xml-field>tns:city/text()</xml-field>
</mapping>
<mapping type="xml-direct">
<name>id</name>
<attribute-handle>
<attribute-declaring-type-name>com.example.customer.Address</attribute-declaring-type-name>
<attribute-name>id</attribute-name>
</attribute-handle>
<xml-field>@id</xml-field>
</mapping>
<mapping type="xml-direct">
<name>postalCode</name>
<attribute-handle>
<attribute-declaring-type-name>com.example.customer.Address</attribute-declaring-type-name>
<attribute-name>postalCode</attribute-name>
</attribute-handle>
<xml-field>tns:postal-code/text()</xml-field>
</mapping>
<mapping type="xml-direct">
<name>province</name>
<attribute-handle>
<attribute-declaring-type-name>com.example.customer.Address</attribute-declaring-type-name>
<attribute-name>province</attribute-name>
</attribute-handle>
<xml-field>tns:province/text()</xml-field>
</mapping>
<mapping type="xml-direct">
<name>street</name>
<attribute-handle>
<attribute-declaring-type-name>com.example.customer.Address</attribute-declaring-type-name>
<attribute-name>street</attribute-name>
</attribute-handle>
<xml-field>tns:street/text()</xml-field>
</mapping>
</mappings>
<schema-context-handle>
<schema>Customer-XML</schema>
<qname-path>
<qname component-type="complex-type" namespace-uri="urn:customer" local-name="address"/>
</qname-path>
</schema-context-handle>
<root-descriptor>false</root-descriptor>
</descriptor>