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)
@XmlType(name = "Kombination_Type", propOrder = {
"id"
"ids"
})
public class KombinationType {
@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>
* 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 id property.
* This is why there is not a <CODE>set</CODE> method for the ids property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getId().add(newItem);
* getIds().add(newItem);
* </pre>
*
*
@@ -61,11 +62,11 @@ public class KombinationType {
*
*
*/
public List<String> getId() {
if (id == null) {
id = new ArrayList<String>();
public List<String> getIds() {
if (ids == null) {
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)
@XmlType(name = "Kombinationen_Type", propOrder = {
"kombination"
"kombinationen"
})
public class KombinationenType {
@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>
* 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 kombination property.
* This is why there is not a <CODE>set</CODE> method for the kombinationen property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getKombination().add(newItem);
* getKombinationen().add(newItem);
* </pre>
*
*
@@ -61,11 +62,11 @@ public class KombinationenType {
*
*
*/
public List<KombinationType> getKombination() {
if (kombination == null) {
kombination = new ArrayList<KombinationType>();
public List<KombinationType> getKombinationen() {
if (kombinationen == null) {
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 = {
"id",
"bezeichnung",
"sparten",
"zulaessigeAktionen",
"gewaehlteAktion",
"zusatzinformation"
})
@@ -55,7 +55,7 @@ public class KonvertierungBausteinType {
@XmlElement(name = "Bezeichnung")
protected String bezeichnung;
@XmlElement(name = "ZulaessigeAktion")
protected List<KonvertierungsaktionType> sparten;
protected List<KonvertierungsaktionType> zulaessigeAktionen;
@XmlElement(name = "GewaehlteAktion")
protected KonvertierungsaktionType gewaehlteAktion;
@XmlElement(name = "Zusatzinformation")
@@ -113,18 +113,18 @@ public class KonvertierungBausteinType {
* <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.
* 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>
* 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 sparten property.
* This is why there is not a <CODE>set</CODE> method for the zulaessigeAktionen property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getSparten().add(newItem);
* getZulaessigeAktionen().add(newItem);
* </pre>
*
*
@@ -134,11 +134,11 @@ public class KonvertierungBausteinType {
*
*
*/
public List<KonvertierungsaktionType> getSparten() {
if (sparten == null) {
sparten = new ArrayList<KonvertierungsaktionType>();
public List<KonvertierungsaktionType> getZulaessigeAktionen() {
if (zulaessigeAktionen == null) {
zulaessigeAktionen = new ArrayList<KonvertierungsaktionType>();
}
return this.sparten;
return this.zulaessigeAktionen;
}
/**

View File

@@ -9,4 +9,21 @@ version="1.0"
<jaxb:schemaBindings>
<jaxb:package name="at.vvo.omds.types.omds3Types.r1_8_0.common"/>
</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>