Bindings für Produkt Auskunft. Inheritance Plugin um Interfaces zu generieren.
This commit is contained in:
@@ -129,6 +129,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<extension>true</extension>
|
||||
<locale>en</locale>
|
||||
<schemaLanguage>XMLSCHEMA</schemaLanguage>
|
||||
<schemaDirectory >${project.basedir}/src/main/resources/def/${currentReleaseDir}</schemaDirectory>
|
||||
@@ -142,6 +143,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs
|
||||
</bindingIncludes>
|
||||
<args>
|
||||
<arg>-Xannotate</arg>
|
||||
<arg>-Xinheritance</arg>
|
||||
</args>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:annox="urn:jaxb.jvnet.org:annox"
|
||||
xsi:schemaLocation="https://jakarta.ee/xml/ns/jaxb https://jakarta.ee/xml/ns/jaxb/bindingschema_3_0.xsd"
|
||||
xmlns:inheritance="urn:jaxb.jvnet.org:plugin:inheritance"
|
||||
xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
|
||||
jaxb:extensionBindingPrefixes="xjc annox"
|
||||
xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
|
||||
version="3.0">
|
||||
@@ -104,6 +106,11 @@
|
||||
<annox:annotate annox:class="jakarta.xml.bind.annotation.XmlRootElement" name="serviceFault"/>
|
||||
</annox:annotate>
|
||||
</bindings>
|
||||
<bindings node="xs:complexType[@name='ZusaetzlicheVerkaufproduktdaten_Type']">
|
||||
<annox:annotate>
|
||||
<annox:annotate annox:class="jakarta.xml.bind.annotation.XmlTransient"/>
|
||||
</annox:annotate>
|
||||
</bindings>
|
||||
|
||||
</jaxb:bindings>
|
||||
|
||||
|
||||
@@ -702,6 +702,27 @@
|
||||
<jaxb:javadoc><![CDATA[<p>Die Liste der Attribute dieses Knotens. Die Liste kann leer sein, wenn es keine Attribute gibt.</p>]]></jaxb:javadoc>
|
||||
</jaxb:property>
|
||||
</jaxb:bindings>
|
||||
<!-- Experiment a priori Produktauskunft -->
|
||||
<jaxb:bindings node="//xs:complexType[@name='Produktbaustein_Type']//xs:element[@name='Klausel']">
|
||||
<jaxb:property name="Klauseln">
|
||||
<jaxb:javadoc><![CDATA[<p>Die Liste der Klauseln dieses Bausteins. Die Liste kann leer sein, wenn es keine Klauseln gibt.</p>]]></jaxb:javadoc>
|
||||
</jaxb:property>
|
||||
</jaxb:bindings>
|
||||
<jaxb:bindings node="//xs:complexType[@name='Produktbaustein_Type']//xs:element[@name='Unterbaustein']">
|
||||
<jaxb:property name="Unterbausteine">
|
||||
<jaxb:javadoc><![CDATA[<p>Die Liste der Klauseln dieses Bausteins. Die Liste kann leer sein, wenn es keine Klauseln gibt.</p>]]></jaxb:javadoc>
|
||||
</jaxb:property>
|
||||
</jaxb:bindings>
|
||||
<jaxb:bindings node="//xs:complexType[@name='Produktbaustein_Type']//xs:element[@name='Attribut']">
|
||||
<jaxb:property name="Attribute">
|
||||
<jaxb:javadoc><![CDATA[<p>Die Liste der Attribute dieses Bausteins. Die Liste kann leer sein, wenn es keine Attribute gibt.</p>]]></jaxb:javadoc>
|
||||
</jaxb:property>
|
||||
</jaxb:bindings>
|
||||
<jaxb:bindings node="//xs:element[@name='ProductsResponse']//xs:element[@name='Verkaufsprodukt']">
|
||||
<jaxb:property name="Verkaufsprodukte">
|
||||
<jaxb:javadoc><![CDATA[<p>Die Liste der Verkaufsprodukte.</p>]]></jaxb:javadoc>
|
||||
</jaxb:property>
|
||||
</jaxb:bindings>
|
||||
<!-- Annotiere die Request- und Response-elemente als XmlRootElement in Java -->
|
||||
<bindings node="xs:element[@name='AmendRiskProposalRequest']">
|
||||
<annox:annotate>
|
||||
|
||||
@@ -865,7 +865,8 @@
|
||||
<xsd:complexType name="Produktbaustein_Type" abstract="true">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="Klausel" type="omds:KLAUSEL_Type" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xsd:element name="Unterbausteine" type="Unterbaustein_Type" minOccurs="0" maxOccurs="unbounded"/>
|
||||
<xsd:element name="Unterbaustein" type="Unterbaustein_Type" minOccurs="0" maxOccurs="unbounded"/>
|
||||
<xsd:element name="Attribut" type="cst:Attribut_Type" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="id" type="xsd:string" use="required"/>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
|
||||
Reference in New Issue
Block a user