| <?xml version="1.0" encoding="US-ASCII"?> |
| <!-- |
| |
| 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.externalizedmetadata.mappings.multiple"> |
| <java-types> |
| <java-type name="CustomQuoteRequest"> |
| <xml-root-element name="QuoteRequest"/> |
| <java-attributes> |
| <xml-attribute java-attribute="requestId" xml-path="QuoteReq/@ReqId"/> |
| <xml-attribute java-attribute="currencyPairCode" xml-path="QuoteReq/Instrmt/@Sym"> |
| <xml-java-type-adapter value="org.eclipse.persistence.testing.jaxb.externalizedmetadata.mappings.multiple.InstrmtAdapter" /> |
| <xml-properties> |
| <xml-property name="1" value="A" /> |
| <xml-property name="2" value="66" value-type="java.lang.Integer" /> |
| </xml-properties> |
| </xml-attribute> |
| <xml-attribute java-attribute="currencyPairCode" xml-path="QuoteReq/Leg/@Sym" write-only="true"> |
| <xml-java-type-adapter value="org.eclipse.persistence.testing.jaxb.externalizedmetadata.mappings.multiple.LegAdapter" /> |
| <xml-properties> |
| <xml-property name="1" value="B" /> |
| <xml-property name="2" value="9.9" value-type="java.lang.Double" /> |
| </xml-properties> |
| </xml-attribute> |
| <xml-element java-attribute="date" name="OrderDate"> |
| <xml-java-type-adapter value="org.eclipse.persistence.testing.jaxb.externalizedmetadata.mappings.multiple.DateAdapter" /> |
| </xml-element> |
| <xml-element java-attribute="date" xml-path="QuoteReq/Instrmt/Ordered/text()" type="java.sql.Date" write-only="true"/> |
| <xml-element java-attribute="date" xml-path="QuoteReq/Leg/Ordered/text()" write-only="true"/> |
| </java-attributes> |
| </java-type> |
| <java-type name="CustomQuoteRequest$MyCQRInnerClass"> |
| <xml-root-element name="QRInnerClass"/> |
| <java-attributes> |
| <xml-attribute java-attribute="foo" xml-path="QRInnerClass/@foo"/> |
| </java-attributes> |
| </java-type> |
| </java-types> |
| </xml-bindings> |