blob: a7d96029c17ca442425a3a9bddc2aeb3aa7362f0 [file] [log] [blame]
<?xml version="1.0"?>
<!--
Copyright (c) 2018, 2020 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0 which is available at
http://www.eclipse.org/legal/epl-2.0,
or the Eclipse Distribution License v. 1.0 which is available at
http://www.eclipse.org/org/documents/edl-v10.php.
SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
-->
<xml-bindings
xmlns="http://www.eclipse.org/eclipselink/xsds/persistence/oxm"
package-name="org.eclipse.persistence.testing.jaxb.xmlvirtualaccessmethods.proporder">
<java-types>
<java-type name="org.eclipse.persistence.testing.jaxb.xmlvirtualaccessmethods.proporder.Customer">
<xml-type prop-order="firstName lastName billingAddress shippingAddress phoneNumbers"/>
<java-attributes>
<xml-element java-attribute="firstName" name="first-name"/>
<xml-element java-attribute="lastName" name="last-name"/>
<xml-element java-attribute="shippingAddress" name="shipping-address" type="org.eclipse.persistence.testing.jaxb.xmlvirtualaccessmethods.proporder.Address"/>
<xml-element java-attribute="phoneNumbers" name="phone-number" type="org.eclipse.persistence.testing.jaxb.xmlvirtualaccessmethods.proporder.PhoneNumber" container-type="java.util.List"/>
</java-attributes>
</java-type>
<!--
<java-type name="PhoneNumber">
<java-attributes>
<xml-attribute java-attribute="type"/>
<xml-value java-attribute="number"/>
</java-attributes>
</java-type>
-->
</java-types>
</xml-bindings>