Kardinalität für Konvertierungsmöglichkeit und Konvertierungsplan auf 1 reduziert.

This commit is contained in:
2022-06-03 14:57:40 +02:00
parent c07f5aac63
commit 664f018461
8 changed files with 56 additions and 70 deletions

View File

@@ -1,8 +1,6 @@
package at.vvo.omds.types.omds3Types.r1_8_0.on2antrag.common;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
@@ -21,7 +19,7 @@ import at.vvo.omds.types.omds3Types.r1_8_0.common.CommonRequestType;
* <complexContent>
* <extension base="{urn:omds3CommonServiceTypes-1-1-0}CommonRequest_Type">
* <sequence>
* <element name="Konvertierungsplan" type="{urn:at.vvo.omds.types.omds3types.v1-3-0.on2antrag.common}Konvertierungsumfang_Type" maxOccurs="unbounded"/>
* <element name="Konvertierungsplan" type="{urn:at.vvo.omds.types.omds3types.v1-3-0.on2antrag.common}Konvertierungsumfang_Type"/>
* </sequence>
* </extension>
* </complexContent>
@@ -40,35 +38,30 @@ public class ConversionProposalRequest
{
@XmlElement(name = "Konvertierungsplan", required = true)
protected List<KonvertierungsumfangType> konvertierungsplan;
protected KonvertierungsumfangType konvertierungsplan;
/**
* Gets the value of the konvertierungsplan property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the konvertierungsplan property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getKonvertierungsplan().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link KonvertierungsumfangType }
* Ruft den Wert der konvertierungsplan-Eigenschaft ab.
*
* @return
* possible object is
* {@link KonvertierungsumfangType }
*
*/
public List<KonvertierungsumfangType> getKonvertierungsplan() {
if (konvertierungsplan == null) {
konvertierungsplan = new ArrayList<KonvertierungsumfangType>();
}
return this.konvertierungsplan;
public KonvertierungsumfangType getKonvertierungsplan() {
return konvertierungsplan;
}
/**
* Legt den Wert der konvertierungsplan-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link KonvertierungsumfangType }
*
*/
public void setKonvertierungsplan(KonvertierungsumfangType value) {
this.konvertierungsplan = value;
}
}

View File

@@ -1,8 +1,6 @@
package at.vvo.omds.types.omds3Types.r1_8_0.on2antrag.common;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
@@ -21,7 +19,7 @@ import at.vvo.omds.types.omds3Types.r1_8_0.common.CommonResponseType;
* &lt;complexContent&gt;
* &lt;extension base="{urn:omds3CommonServiceTypes-1-1-0}CommonResponse_Type"&gt;
* &lt;sequence&gt;
* &lt;element name="Scope" type="{urn:at.vvo.omds.types.omds3types.v1-3-0.on2antrag.common}Konvertierungsumfang_Type" maxOccurs="unbounded"/&gt;
* &lt;element name="Konvertierungsmoeglichkeit" type="{urn:at.vvo.omds.types.omds3types.v1-3-0.on2antrag.common}Konvertierungsumfang_Type"/&gt;
* &lt;/sequence&gt;
* &lt;/extension&gt;
* &lt;/complexContent&gt;
@@ -32,43 +30,38 @@ import at.vvo.omds.types.omds3Types.r1_8_0.common.CommonResponseType;
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"scope"
"konvertierungsmoeglichkeit"
})
@XmlRootElement(name = "ConversionScopeResponse")
public class ConversionScopeResponse
extends CommonResponseType
{
@XmlElement(name = "Scope", required = true)
protected List<KonvertierungsumfangType> scope;
@XmlElement(name = "Konvertierungsmoeglichkeit", required = true)
protected KonvertierungsumfangType konvertierungsmoeglichkeit;
/**
* Gets the value of the scope property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the scope property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getScope().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link KonvertierungsumfangType }
* Ruft den Wert der konvertierungsmoeglichkeit-Eigenschaft ab.
*
* @return
* possible object is
* {@link KonvertierungsumfangType }
*
*/
public List<KonvertierungsumfangType> getScope() {
if (scope == null) {
scope = new ArrayList<KonvertierungsumfangType>();
}
return this.scope;
public KonvertierungsumfangType getKonvertierungsmoeglichkeit() {
return konvertierungsmoeglichkeit;
}
/**
* Legt den Wert der konvertierungsmoeglichkeit-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link KonvertierungsumfangType }
*
*/
public void setKonvertierungsmoeglichkeit(KonvertierungsumfangType value) {
this.konvertierungsmoeglichkeit = value;
}
}

View File

@@ -10,12 +10,12 @@ import javax.xml.ws.Service;
/**
* This class was generated by Apache CXF 3.5.0
* 2022-05-13T13:48:10.802+02:00
* 2022-06-03T14:46:49.877+02:00
* Generated source version: 3.5.0
*
*/
@WebServiceClient(name = "omdsService",
wsdlLocation = "file:/C:/Users/jensb/git/omdsservicedefinitions2/OMDSServiceDefinition/src/main/resources/def/r1_8_0/omds3Services.wsdl",
wsdlLocation = "file:/C:/Users/jensb/git/omdsservicedefinitions_master/OMDSServiceDefinition/src/main/resources/def/r1_8_0/omds3Services.wsdl",
targetNamespace = "urn:omds3Services-1-4-0")
public class OmdsService extends Service {
@@ -26,11 +26,11 @@ public class OmdsService extends Service {
static {
URL url = null;
try {
url = new URL("file:/C:/Users/jensb/git/omdsservicedefinitions2/OMDSServiceDefinition/src/main/resources/def/r1_8_0/omds3Services.wsdl");
url = new URL("file:/C:/Users/jensb/git/omdsservicedefinitions_master/OMDSServiceDefinition/src/main/resources/def/r1_8_0/omds3Services.wsdl");
} catch (MalformedURLException e) {
java.util.logging.Logger.getLogger(OmdsService.class.getName())
.log(java.util.logging.Level.INFO,
"Can not initialize the default wsdl from {0}", "file:/C:/Users/jensb/git/omdsservicedefinitions2/OMDSServiceDefinition/src/main/resources/def/r1_8_0/omds3Services.wsdl");
"Can not initialize the default wsdl from {0}", "file:/C:/Users/jensb/git/omdsservicedefinitions_master/OMDSServiceDefinition/src/main/resources/def/r1_8_0/omds3Services.wsdl");
}
WSDL_LOCATION = url;
}

View File

@@ -16,7 +16,7 @@ import javax.xml.bind.annotation.XmlSeeAlso;
/**
* This class was generated by Apache CXF 3.5.0
* 2022-06-02T16:53:58.058+02:00
* 2022-06-03T14:46:49.846+02:00
* 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
* 2022-06-02T16:53:58.086+02:00
* 2022-06-03T14:46:49.862+02:00
* 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
* 2022-06-02T16:53:57.984+02:00
* 2022-06-03T14:46:49.774+02:00
* 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
* 2022-06-02T16:53:58.053+02:00
* 2022-06-03T14:46:49.846+02:00
* Generated source version: 3.5.0
*/

View File

@@ -537,9 +537,9 @@
<xsd:complexContent>
<xsd:extension base="cst:CommonResponse_Type">
<xsd:sequence>
<xsd:element name="Scope" type="Konvertierungsumfang_Type" maxOccurs="unbounded">
<xsd:element name="Konvertierungsmoeglichkeit" type="Konvertierungsumfang_Type">
<xsd:annotation>
<xsd:documentation>Konvertierungsmöglichkeiten</xsd:documentation>
<xsd:documentation>Eine Konvertierungsmöglichkeit oder mehrere Möglichkeiten.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
@@ -555,9 +555,9 @@
<xsd:complexContent>
<xsd:extension base="cst:CommonRequest_Type">
<xsd:sequence>
<xsd:element name="Konvertierungsplan" type="Konvertierungsumfang_Type" maxOccurs="unbounded">
<xsd:element name="Konvertierungsplan" type="Konvertierungsumfang_Type">
<xsd:annotation>
<xsd:documentation>Angabe auf welchem Vertrag oder welchen Verträgen der neue Vertrag aufgebaut werden soll</xsd:documentation>
<xsd:documentation>Angabe auf welchem Vertrag oder welchen Verträgen der neue Vertrag aufgebaut werden soll.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>