Generierung Java Klassen für CommonServicesTypes angepasst, so dass die Bausteinlisten im Plural benannt sind.

This commit is contained in:
2022-05-09 11:25:41 +02:00
parent 4603c723c8
commit 7a6564b8af
4 changed files with 46 additions and 27 deletions

View File

@@ -32,26 +32,27 @@ import javax.xml.bind.annotation.XmlType;
*/ */
@XmlAccessorType(XmlAccessType.FIELD) @XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Kombination_Type", propOrder = { @XmlType(name = "Kombination_Type", propOrder = {
"id" "ids"
}) })
public class KombinationType { public class KombinationType {
@XmlElement(name = "Id", required = true) @XmlElement(name = "Id", required = true)
protected List<String> id; protected List<String> ids;
/** /**
* Gets the value of the id property. * <p>Die Liste der zulässigen Baustein-Ids.</p>
* Gets the value of the ids property.
* *
* <p> * <p>
* This accessor method returns a reference to the live list, * This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the * not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object. * returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the id property. * This is why there is not a <CODE>set</CODE> method for the ids property.
* *
* <p> * <p>
* For example, to add a new item, do as follows: * For example, to add a new item, do as follows:
* <pre> * <pre>
* getId().add(newItem); * getIds().add(newItem);
* </pre> * </pre>
* *
* *
@@ -61,11 +62,11 @@ public class KombinationType {
* *
* *
*/ */
public List<String> getId() { public List<String> getIds() {
if (id == null) { if (ids == null) {
id = new ArrayList<String>(); ids = new ArrayList<String>();
} }
return this.id; return this.ids;
} }
} }

View File

@@ -32,26 +32,27 @@ import javax.xml.bind.annotation.XmlType;
*/ */
@XmlAccessorType(XmlAccessType.FIELD) @XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Kombinationen_Type", propOrder = { @XmlType(name = "Kombinationen_Type", propOrder = {
"kombination" "kombinationen"
}) })
public class KombinationenType { public class KombinationenType {
@XmlElement(name = "Kombination", required = true) @XmlElement(name = "Kombination", required = true)
protected List<KombinationType> kombination; protected List<KombinationType> kombinationen;
/** /**
* Gets the value of the kombination property. * <p>Die Liste der zulässigen Kombinationen.</p>
* Gets the value of the kombinationen property.
* *
* <p> * <p>
* This accessor method returns a reference to the live list, * This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the * not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object. * returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the kombination property. * This is why there is not a <CODE>set</CODE> method for the kombinationen property.
* *
* <p> * <p>
* For example, to add a new item, do as follows: * For example, to add a new item, do as follows:
* <pre> * <pre>
* getKombination().add(newItem); * getKombinationen().add(newItem);
* </pre> * </pre>
* *
* *
@@ -61,11 +62,11 @@ public class KombinationenType {
* *
* *
*/ */
public List<KombinationType> getKombination() { public List<KombinationType> getKombinationen() {
if (kombination == null) { if (kombinationen == null) {
kombination = new ArrayList<KombinationType>(); kombinationen = new ArrayList<KombinationType>();
} }
return this.kombination; return this.kombinationen;
} }
} }

View File

@@ -44,7 +44,7 @@ import javax.xml.bind.annotation.XmlType;
@XmlType(name = "KonvertierungBaustein_Type", propOrder = { @XmlType(name = "KonvertierungBaustein_Type", propOrder = {
"id", "id",
"bezeichnung", "bezeichnung",
"sparten", "zulaessigeAktionen",
"gewaehlteAktion", "gewaehlteAktion",
"zusatzinformation" "zusatzinformation"
}) })
@@ -55,7 +55,7 @@ public class KonvertierungBausteinType {
@XmlElement(name = "Bezeichnung") @XmlElement(name = "Bezeichnung")
protected String bezeichnung; protected String bezeichnung;
@XmlElement(name = "ZulaessigeAktion") @XmlElement(name = "ZulaessigeAktion")
protected List<KonvertierungsaktionType> sparten; protected List<KonvertierungsaktionType> zulaessigeAktionen;
@XmlElement(name = "GewaehlteAktion") @XmlElement(name = "GewaehlteAktion")
protected KonvertierungsaktionType gewaehlteAktion; protected KonvertierungsaktionType gewaehlteAktion;
@XmlElement(name = "Zusatzinformation") @XmlElement(name = "Zusatzinformation")
@@ -113,18 +113,18 @@ public class KonvertierungBausteinType {
* <p>Die Liste der Aktionen, die für einen Vertragsbaustein zulässig sind. * <p>Die Liste der Aktionen, die für einen Vertragsbaustein zulässig sind.
* Die zulässigen Aktionen müssen nur im Response vom ServiceProvider (VU) befüllt werden. * Die zulässigen Aktionen müssen nur im Response vom ServiceProvider (VU) befüllt werden.
* Im Request eines Konvertierungsvorschlags durch den Consumer, können sie leer bleiben. </p> * Im Request eines Konvertierungsvorschlags durch den Consumer, können sie leer bleiben. </p>
* Gets the value of the sparten property. * Gets the value of the zulaessigeAktionen property.
* *
* <p> * <p>
* This accessor method returns a reference to the live list, * This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the * not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object. * returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the sparten property. * This is why there is not a <CODE>set</CODE> method for the zulaessigeAktionen property.
* *
* <p> * <p>
* For example, to add a new item, do as follows: * For example, to add a new item, do as follows:
* <pre> * <pre>
* getSparten().add(newItem); * getZulaessigeAktionen().add(newItem);
* </pre> * </pre>
* *
* *
@@ -134,11 +134,11 @@ public class KonvertierungBausteinType {
* *
* *
*/ */
public List<KonvertierungsaktionType> getSparten() { public List<KonvertierungsaktionType> getZulaessigeAktionen() {
if (sparten == null) { if (zulaessigeAktionen == null) {
sparten = new ArrayList<KonvertierungsaktionType>(); zulaessigeAktionen = new ArrayList<KonvertierungsaktionType>();
} }
return this.sparten; return this.zulaessigeAktionen;
} }
/** /**

View File

@@ -9,4 +9,21 @@ version="1.0"
<jaxb:schemaBindings> <jaxb:schemaBindings>
<jaxb:package name="at.vvo.omds.types.omds3Types.r1_8_0.common"/> <jaxb:package name="at.vvo.omds.types.omds3Types.r1_8_0.common"/>
</jaxb:schemaBindings> </jaxb:schemaBindings>
<jaxb:bindings node="//xs:complexType[@name='Kombinationen_Type']//xs:element[@name='Kombination']">
<jaxb:property name="kombinationen">
<jaxb:javadoc><![CDATA[<p>Die Liste der zulässigen Kombinationen.</p>
]]></jaxb:javadoc>
</jaxb:property>
</jaxb:bindings>
<jaxb:bindings node="//xs:complexType[@name='Kombination_Type']//xs:element[@name='Id']">
<jaxb:property name="ids">
<jaxb:javadoc><![CDATA[<p>Die Liste der zulässigen Baustein-Ids.</p>
]]></jaxb:javadoc>
</jaxb:property>
</jaxb:bindings>
</jaxb:bindings> </jaxb:bindings>