Noch eine Umstellung in ConversionScopeRequest nach Feedback Martin Hartl.

This commit is contained in:
2022-06-07 10:41:54 +02:00
parent 018d370bc8
commit 71b05e2523
15 changed files with 31 additions and 69 deletions

View File

@@ -37,10 +37,9 @@ import javax.xml.bind.annotation.XmlType;
}) })
@XmlSeeAlso({ @XmlSeeAlso({
ErsatzpolizzeMitAendGrundType.class, ErsatzpolizzeMitAendGrundType.class,
at.vvo.omds.types.omds3Types.r1_8_0.on2antrag.common.ConversionScopeRequest.Vertrag.class,
KonvertierungsumfangVertragType.class KonvertierungsumfangVertragType.class
}) })
public abstract class ErsatzpolizzeType { public class ErsatzpolizzeType {
@XmlElement(name = "Polizzennr", required = true) @XmlElement(name = "Polizzennr", required = true)
protected String polizzennr; protected String polizzennr;

View File

@@ -421,6 +421,14 @@ public class ObjectFactory {
return new ErsatzpolizzenType(); return new ErsatzpolizzenType();
} }
/**
* Create an instance of {@link ErsatzpolizzeType }
*
*/
public ErsatzpolizzeType createErsatzpolizzeType() {
return new ErsatzpolizzeType();
}
/** /**
* Create an instance of {@link ErsatzpolizzeMitAendGrundType } * Create an instance of {@link ErsatzpolizzeMitAendGrundType }
* *

View File

@@ -22,14 +22,7 @@ import at.vvo.omds.types.omds3Types.r1_8_0.common.ErsatzpolizzeType;
* <complexContent> * <complexContent>
* <extension base="{urn:omds3CommonServiceTypes-1-1-0}CommonRequest_Type"> * <extension base="{urn:omds3CommonServiceTypes-1-1-0}CommonRequest_Type">
* <sequence> * <sequence>
* <element name="Vertrag" maxOccurs="unbounded"> * <element name="Vertrag" type="{urn:omds3CommonServiceTypes-1-1-0}Ersatzpolizze_Type" maxOccurs="unbounded"/>
* <complexType>
* <complexContent>
* <extension base="{urn:omds3CommonServiceTypes-1-1-0}Ersatzpolizze_Type">
* </extension>
* </complexContent>
* </complexType>
* </element>
* </sequence> * </sequence>
* </extension> * </extension>
* </complexContent> * </complexContent>
@@ -48,7 +41,7 @@ public class ConversionScopeRequest
{ {
@XmlElement(name = "Vertrag", required = true) @XmlElement(name = "Vertrag", required = true)
protected List<ConversionScopeRequest.Vertrag> vertraege; protected List<ErsatzpolizzeType> vertraege;
/** /**
* <p>Die Liste der Verträge, die in der Konvertierung behandelt werden sollen.</p> * <p>Die Liste der Verträge, die in der Konvertierung behandelt werden sollen.</p>
@@ -69,41 +62,15 @@ public class ConversionScopeRequest
* *
* <p> * <p>
* Objects of the following type(s) are allowed in the list * Objects of the following type(s) are allowed in the list
* {@link ConversionScopeRequest.Vertrag } * {@link ErsatzpolizzeType }
* *
* *
*/ */
public List<ConversionScopeRequest.Vertrag> getVertraege() { public List<ErsatzpolizzeType> getVertraege() {
if (vertraege == null) { if (vertraege == null) {
vertraege = new ArrayList<ConversionScopeRequest.Vertrag>(); vertraege = new ArrayList<ErsatzpolizzeType>();
} }
return this.vertraege; return this.vertraege;
} }
/**
* <p>Java-Klasse für anonymous complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;extension base="{urn:omds3CommonServiceTypes-1-1-0}Ersatzpolizze_Type"&gt;
* &lt;/extension&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class Vertrag
extends ErsatzpolizzeType
{
}
} }

View File

@@ -34,14 +34,6 @@ public class ObjectFactory {
public ObjectFactory() { public ObjectFactory() {
} }
/**
* Create an instance of {@link ConversionScopeRequest }
*
*/
public ConversionScopeRequest createConversionScopeRequest() {
return new ConversionScopeRequest();
}
/** /**
* Create an instance of {@link KonvertierungsumfangType } * Create an instance of {@link KonvertierungsumfangType }
* *
@@ -83,11 +75,11 @@ public class ObjectFactory {
} }
/** /**
* Create an instance of {@link ConversionScopeRequest.Vertrag } * Create an instance of {@link ConversionScopeRequest }
* *
*/ */
public ConversionScopeRequest.Vertrag createConversionScopeRequestVertrag() { public ConversionScopeRequest createConversionScopeRequest() {
return new ConversionScopeRequest.Vertrag(); return new ConversionScopeRequest();
} }
/** /**

View File

@@ -10,7 +10,7 @@ import javax.xml.ws.Service;
/** /**
* This class was generated by Apache CXF 3.5.0 * This class was generated by Apache CXF 3.5.0
* 2022-06-03T16:19:45.523+02:00 * 2022-06-07T10:28:29.973+02:00
* Generated source version: 3.5.0 * Generated source version: 3.5.0
* *
*/ */

View File

@@ -16,7 +16,7 @@ import javax.xml.bind.annotation.XmlSeeAlso;
/** /**
* This class was generated by Apache CXF 3.5.0 * This class was generated by Apache CXF 3.5.0
* 2022-06-03T16:19:45.487+02:00 * 2022-06-07T10:28:29.923+02:00
* Generated source version: 3.5.0 * Generated source version: 3.5.0
* *
*/ */

View File

@@ -9,7 +9,7 @@ import javax.xml.bind.annotation.XmlSeeAlso;
/** /**
* This class was generated by Apache CXF 3.5.0 * This class was generated by Apache CXF 3.5.0
* 2022-06-03T16:19:45.503+02:00 * 2022-06-07T10:28:29.958+02:00
* Generated source version: 3.5.0 * Generated source version: 3.5.0
* *
*/ */

View File

@@ -19,7 +19,7 @@ import javax.xml.bind.annotation.XmlSeeAlso;
/** /**
* This class was generated by Apache CXF 3.5.0 * This class was generated by Apache CXF 3.5.0
* 2022-06-03T16:19:45.418+02:00 * 2022-06-07T10:28:29.831+02:00
* Generated source version: 3.5.0 * Generated source version: 3.5.0
* *
*/ */

View File

@@ -6,7 +6,7 @@ import javax.xml.ws.WebFault;
/** /**
* This class was generated by Apache CXF 3.5.0 * This class was generated by Apache CXF 3.5.0
* 2022-06-03T16:19:45.471+02:00 * 2022-06-07T10:28:29.916+02:00
* Generated source version: 3.5.0 * Generated source version: 3.5.0
*/ */

View File

@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<sp:CalculateSachPrivatRequest <sp:CalculateSachPrivatRequest
xmlns="urn:omds3CommonServiceTypes-1-1-0"
xmlns:sp="urn:at.vvo.omds.types.omds3types.v1-4-0.on2antrag.sachprivat" xmlns:sp="urn:at.vvo.omds.types.omds3types.v1-4-0.on2antrag.sachprivat"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="urn:omds3CommonServiceTypes-1-1-0"
xmlns:ac="urn:at.vvo.omds.types.omds3types.v1-3-0.on2antrag.common" xmlns:ac="urn:at.vvo.omds.types.omds3types.v1-3-0.on2antrag.common"
xsi:schemaLocation=" xsi:schemaLocation="
urn:at.vvo.omds.types.omds3types.v1-4-0.on2antrag.sachprivat ../omds3_ON2_Antrag_SachPrivat.xsd urn:at.vvo.omds.types.omds3types.v1-4-0.on2antrag.sachprivat ../omds3_ON2_Antrag_SachPrivat.xsd

View File

@@ -10,7 +10,7 @@
<KorrelationsId>678708979</KorrelationsId> <KorrelationsId>678708979</KorrelationsId>
<Ergebnis>OK</Ergebnis> <Ergebnis>OK</Ergebnis>
</Status> </Status>
<ac:Scope> <ac:Konvertierungsmoeglichkeit>
<ac:Vertrag> <ac:Vertrag>
<Polizzennr>100-100-1</Polizzennr> <Polizzennr>100-100-1</Polizzennr>
<Bezeichnung>Privat Bündel</Bezeichnung> <Bezeichnung>Privat Bündel</Bezeichnung>
@@ -35,7 +35,7 @@
<ZulaessigeAktion xsi:type="KonvertierungsaktionBelassen_Type"/> <ZulaessigeAktion xsi:type="KonvertierungsaktionBelassen_Type"/>
<ZulaessigeAktion xsi:type="KonvertierungsaktionStorno_Type"/> <ZulaessigeAktion xsi:type="KonvertierungsaktionStorno_Type"/>
</Baustein> </Baustein>
<Kombinationen xsi:type="Kombinationen_Type" zulaessige="true"> <Kombinationen xsi:type="Kombinationen_Type">
<Kombination><Id>1</Id><Id>3</Id></Kombination> <Kombination><Id>1</Id><Id>3</Id></Kombination>
<Kombination><Id>2</Id><Id>3</Id></Kombination> <Kombination><Id>2</Id><Id>3</Id></Kombination>
</Kombinationen> </Kombinationen>
@@ -51,5 +51,5 @@
<ZulaessigeAktion xsi:type="KonvertierungsaktionStorno_Type"/> <ZulaessigeAktion xsi:type="KonvertierungsaktionStorno_Type"/>
</Baustein> </Baustein>
</ac:Vertrag> </ac:Vertrag>
</ac:Scope> </ac:Konvertierungsmoeglichkeit>
</ac:ConversionScopeResponse> </ac:ConversionScopeResponse>

View File

@@ -10,7 +10,7 @@
<KorrelationsId>678708979</KorrelationsId> <KorrelationsId>678708979</KorrelationsId>
<Ergebnis>OK</Ergebnis> <Ergebnis>OK</Ergebnis>
</Status> </Status>
<ac:Scope> <ac:Konvertierungsmoeglichkeit>
<ac:Vertrag> <ac:Vertrag>
<Polizzennr>1</Polizzennr> <Polizzennr>1</Polizzennr>
<Bezeichnung>Privat Bündel</Bezeichnung> <Bezeichnung>Privat Bündel</Bezeichnung>
@@ -127,5 +127,5 @@
<ZulaessigeAktion xsi:type="KonvertierungsaktionStorno_Type"/> <ZulaessigeAktion xsi:type="KonvertierungsaktionStorno_Type"/>
</Baustein> </Baustein>
</ac:Vertrag> </ac:Vertrag>
</ac:Scope> </ac:Konvertierungsmoeglichkeit>
</ac:ConversionScopeResponse> </ac:ConversionScopeResponse>

View File

@@ -2041,7 +2041,7 @@
<xsd:element name="Ersatzpolizzennummer3" type="omds:Polizzennr" minOccurs="0"/> <xsd:element name="Ersatzpolizzennummer3" type="omds:Polizzennr" minOccurs="0"/>
</xsd:sequence> </xsd:sequence>
</xsd:complexType> </xsd:complexType>
<xsd:complexType name="Ersatzpolizze_Type" abstract="true"> <xsd:complexType name="Ersatzpolizze_Type">
<xsd:annotation> <xsd:annotation>
<xsd:documentation>Beschreibung einer durch Konvertierung zu ersetzenden Polizze</xsd:documentation> <xsd:documentation>Beschreibung einer durch Konvertierung zu ersetzenden Polizze</xsd:documentation>
</xsd:annotation> </xsd:annotation>

View File

@@ -513,15 +513,11 @@
<xsd:complexContent> <xsd:complexContent>
<xsd:extension base="cst:CommonRequest_Type"> <xsd:extension base="cst:CommonRequest_Type">
<xsd:sequence> <xsd:sequence>
<xsd:element name="Vertrag" maxOccurs="unbounded"> <xsd:element name="Vertrag" type="cst:Ersatzpolizze_Type" maxOccurs="unbounded">
<xsd:annotation> <xsd:annotation>
<xsd:documentation>Angabe für welche Verträge die Konvertierung geplant ist.</xsd:documentation> <xsd:documentation>Angabe für welche Verträge die Konvertierung geplant ist.</xsd:documentation>
</xsd:annotation> </xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="cst:Ersatzpolizze_Type"/>
</xsd:complexContent>
</xsd:complexType>
</xsd:element> </xsd:element>
</xsd:sequence> </xsd:sequence>
</xsd:extension> </xsd:extension>