From c7e92047632432346c13723925f45888461887e9 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Fri, 8 Mar 2019 08:07:11 +0100 Subject: add USP_v2 client implementation --- .../xsd/mis/usp_v2/mandates/PropertiesType.java | 132 +++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 src/main/java/at/gv/util/xsd/mis/usp_v2/mandates/PropertiesType.java (limited to 'src/main/java/at/gv/util/xsd/mis/usp_v2/mandates/PropertiesType.java') diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/mandates/PropertiesType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/mandates/PropertiesType.java new file mode 100644 index 0000000..9b666d0 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/mandates/PropertiesType.java @@ -0,0 +1,132 @@ + +package at.gv.util.xsd.mis.usp_v2.mandates; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.mis.usp_v2.addpersondata.AdditionalMandateProperty; +import org.w3c.dom.Element; + + +/** + * complex type for describing arbitrary properties of + * mandates + * + *

Java-Klasse für PropertiesType complex type. + * + *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + *

+ * <complexType name="PropertiesType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element ref="{http://www.usp.gv.at/namespace/mandates/20160301#}AdditionalMandateProperty"/>
+ *         <element name="SubstitutionAllowed" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ *         <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PropertiesType", propOrder = { + "additionalMandateProperty", + "substitutionAllowed", + "any" +}) +public class PropertiesType { + + @XmlElement(name = "AdditionalMandateProperty", namespace = "http://www.usp.gv.at/namespace/mandates/20160301#", required = true) + protected AdditionalMandateProperty additionalMandateProperty; + @XmlElement(name = "SubstitutionAllowed", defaultValue = "false") + protected Boolean substitutionAllowed; + @XmlAnyElement(lax = true) + protected List any; + + /** + * additional usp specific property for an electronic mandate + * + * @return + * possible object is + * {@link AdditionalMandateProperty } + * + */ + public AdditionalMandateProperty getAdditionalMandateProperty() { + return additionalMandateProperty; + } + + /** + * Legt den Wert der additionalMandateProperty-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link AdditionalMandateProperty } + * + */ + public void setAdditionalMandateProperty(AdditionalMandateProperty value) { + this.additionalMandateProperty = value; + } + + /** + * Ruft den Wert der substitutionAllowed-Eigenschaft ab. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isSubstitutionAllowed() { + return substitutionAllowed; + } + + /** + * Legt den Wert der substitutionAllowed-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setSubstitutionAllowed(Boolean value) { + this.substitutionAllowed = value; + } + + /** + * Gets the value of the any property. + * + *

+ * 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 set method for the any property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getAny().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * + * + */ + public List getAny() { + if (any == null) { + any = new ArrayList(); + } + return this.any; + } + +} -- cgit v1.2.3