From defceef8afef538555c13d33e344a89a828a3d97 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Fri, 20 Dec 2013 12:35:28 +0100 Subject: inital --- .../java/at/gv/util/xsd/szr/pvp/PvpTokenType.java | 990 +++++++++++++++++++++ 1 file changed, 990 insertions(+) create mode 100644 src/main/java/at/gv/util/xsd/szr/pvp/PvpTokenType.java (limited to 'src/main/java/at/gv/util/xsd/szr/pvp/PvpTokenType.java') diff --git a/src/main/java/at/gv/util/xsd/szr/pvp/PvpTokenType.java b/src/main/java/at/gv/util/xsd/szr/pvp/PvpTokenType.java new file mode 100644 index 0000000..0c1e55f --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/pvp/PvpTokenType.java @@ -0,0 +1,990 @@ + +package at.gv.util.xsd.szr.pvp; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyAttribute; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.namespace.QName; +import org.w3c.dom.Element; + + +/** + *

Java class for pvpTokenType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="pvpTokenType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="authenticate">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="participantId" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
+ *                   <element name="gvOuDomain" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
+ *                   <choice>
+ *                     <element name="userPrincipal">
+ *                       <complexType>
+ *                         <complexContent>
+ *                           <extension base="{http://egov.gv.at/pvp1.xsd}pvpPrincipalType">
+ *                             <sequence>
+ *                               <element name="gvGid" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *                               <element name="gvFunction" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *                             </sequence>
+ *                             <anyAttribute processContents='lax'/>
+ *                           </extension>
+ *                         </complexContent>
+ *                       </complexType>
+ *                     </element>
+ *                     <element name="systemPrincipal" type="{http://egov.gv.at/pvp1.xsd}pvpPrincipalType"/>
+ *                   </choice>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="authorize" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element ref="{http://egov.gv.at/pvp1.xsd}role" maxOccurs="unbounded"/>
+ *                   <element name="dummy" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="accounting" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="invoiceRecptId" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *                   <element name="gvCostCenterId" maxOccurs="unbounded">
+ *                     <complexType>
+ *                       <simpleContent>
+ *                         <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ *                           <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ *                         </extension>
+ *                       </simpleContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="gvChargeCode" maxOccurs="unbounded">
+ *                     <complexType>
+ *                       <simpleContent>
+ *                         <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ *                           <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ *                         </extension>
+ *                       </simpleContent>
+ *                     </complexType>
+ *                   </element>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="pvpChainedToken" type="{http://egov.gv.at/pvp1.xsd}pvpTokenType" minOccurs="0"/>
+ *         <element name="pvpExtension" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <any processContents='lax' maxOccurs="unbounded"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </sequence>
+ *       <attribute name="version" use="required" type="{http://egov.gv.at/pvp1.xsd}gvVersionType" />
+ *       <anyAttribute processContents='lax'/>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "pvpTokenType", propOrder = { + "authenticate", + "authorize", + "accounting", + "pvpChainedToken", + "pvpExtension" +}) +public class PvpTokenType { + + @XmlElement(required = true) + protected PvpTokenType.Authenticate authenticate; + protected PvpTokenType.Authorize authorize; + protected PvpTokenType.Accounting accounting; + protected PvpTokenType pvpChainedToken; + protected PvpTokenType.PvpExtension pvpExtension; + @XmlAttribute(required = true) + protected String version; + @XmlAnyAttribute + private Map otherAttributes = new HashMap(); + + /** + * Gets the value of the authenticate property. + * + * @return + * possible object is + * {@link PvpTokenType.Authenticate } + * + */ + public PvpTokenType.Authenticate getAuthenticate() { + return authenticate; + } + + /** + * Sets the value of the authenticate property. + * + * @param value + * allowed object is + * {@link PvpTokenType.Authenticate } + * + */ + public void setAuthenticate(PvpTokenType.Authenticate value) { + this.authenticate = value; + } + + /** + * Gets the value of the authorize property. + * + * @return + * possible object is + * {@link PvpTokenType.Authorize } + * + */ + public PvpTokenType.Authorize getAuthorize() { + return authorize; + } + + /** + * Sets the value of the authorize property. + * + * @param value + * allowed object is + * {@link PvpTokenType.Authorize } + * + */ + public void setAuthorize(PvpTokenType.Authorize value) { + this.authorize = value; + } + + /** + * Gets the value of the accounting property. + * + * @return + * possible object is + * {@link PvpTokenType.Accounting } + * + */ + public PvpTokenType.Accounting getAccounting() { + return accounting; + } + + /** + * Sets the value of the accounting property. + * + * @param value + * allowed object is + * {@link PvpTokenType.Accounting } + * + */ + public void setAccounting(PvpTokenType.Accounting value) { + this.accounting = value; + } + + /** + * Gets the value of the pvpChainedToken property. + * + * @return + * possible object is + * {@link PvpTokenType } + * + */ + public PvpTokenType getPvpChainedToken() { + return pvpChainedToken; + } + + /** + * Sets the value of the pvpChainedToken property. + * + * @param value + * allowed object is + * {@link PvpTokenType } + * + */ + public void setPvpChainedToken(PvpTokenType value) { + this.pvpChainedToken = value; + } + + /** + * Gets the value of the pvpExtension property. + * + * @return + * possible object is + * {@link PvpTokenType.PvpExtension } + * + */ + public PvpTokenType.PvpExtension getPvpExtension() { + return pvpExtension; + } + + /** + * Sets the value of the pvpExtension property. + * + * @param value + * allowed object is + * {@link PvpTokenType.PvpExtension } + * + */ + public void setPvpExtension(PvpTokenType.PvpExtension value) { + this.pvpExtension = value; + } + + /** + * Gets the value of the version property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersion(String value) { + this.version = value; + } + + /** + * Gets a map that contains attributes that aren't bound to any typed property on this class. + * + *

+ * the map is keyed by the name of the attribute and + * the value is the string value of the attribute. + * + * the map returned by this method is live, and you can add new attribute + * by updating the map directly. Because of this design, there's no setter. + * + * + * @return + * always non-null + */ + public Map getOtherAttributes() { + return otherAttributes; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="invoiceRecptId" type="{http://www.w3.org/2001/XMLSchema}string"/>
+     *         <element name="gvCostCenterId" maxOccurs="unbounded">
+     *           <complexType>
+     *             <simpleContent>
+     *               <extension base="<http://www.w3.org/2001/XMLSchema>string">
+     *                 <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+     *               </extension>
+     *             </simpleContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="gvChargeCode" maxOccurs="unbounded">
+     *           <complexType>
+     *             <simpleContent>
+     *               <extension base="<http://www.w3.org/2001/XMLSchema>string">
+     *                 <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+     *               </extension>
+     *             </simpleContent>
+     *           </complexType>
+     *         </element>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "invoiceRecptId", + "gvCostCenterId", + "gvChargeCode" + }) + public static class Accounting { + + @XmlElement(required = true) + protected String invoiceRecptId; + @XmlElement(required = true) + protected List gvCostCenterId; + @XmlElement(required = true) + protected List gvChargeCode; + + /** + * Gets the value of the invoiceRecptId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInvoiceRecptId() { + return invoiceRecptId; + } + + /** + * Sets the value of the invoiceRecptId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInvoiceRecptId(String value) { + this.invoiceRecptId = value; + } + + /** + * Gets the value of the gvCostCenterId 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 gvCostCenterId property. + * + *

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

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

+ * Objects of the following type(s) are allowed in the list + * {@link PvpTokenType.Accounting.GvCostCenterId } + * + * + */ + public List getGvCostCenterId() { + if (gvCostCenterId == null) { + gvCostCenterId = new ArrayList(); + } + return this.gvCostCenterId; + } + + /** + * Gets the value of the gvChargeCode 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 gvChargeCode property. + * + *

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

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

+ * Objects of the following type(s) are allowed in the list + * {@link PvpTokenType.Accounting.GvChargeCode } + * + * + */ + public List getGvChargeCode() { + if (gvChargeCode == null) { + gvChargeCode = new ArrayList(); + } + return this.gvChargeCode; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <simpleContent>
+         *     <extension base="<http://www.w3.org/2001/XMLSchema>string">
+         *       <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+         *     </extension>
+         *   </simpleContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class GvChargeCode { + + @XmlValue + protected String value; + @XmlAttribute(name = "default") + protected Boolean _default; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the default property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public boolean isDefault() { + if (_default == null) { + return false; + } else { + return _default; + } + } + + /** + * Sets the value of the default property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setDefault(Boolean value) { + this._default = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <simpleContent>
+         *     <extension base="<http://www.w3.org/2001/XMLSchema>string">
+         *       <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+         *     </extension>
+         *   </simpleContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class GvCostCenterId { + + @XmlValue + protected String value; + @XmlAttribute(name = "default") + protected Boolean _default; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the default property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public boolean isDefault() { + if (_default == null) { + return false; + } else { + return _default; + } + } + + /** + * Sets the value of the default property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setDefault(Boolean value) { + this._default = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="participantId" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
+     *         <element name="gvOuDomain" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
+     *         <choice>
+     *           <element name="userPrincipal">
+     *             <complexType>
+     *               <complexContent>
+     *                 <extension base="{http://egov.gv.at/pvp1.xsd}pvpPrincipalType">
+     *                   <sequence>
+     *                     <element name="gvGid" type="{http://www.w3.org/2001/XMLSchema}string"/>
+     *                     <element name="gvFunction" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+     *                   </sequence>
+     *                   <anyAttribute processContents='lax'/>
+     *                 </extension>
+     *               </complexContent>
+     *             </complexType>
+     *           </element>
+     *           <element name="systemPrincipal" type="{http://egov.gv.at/pvp1.xsd}pvpPrincipalType"/>
+     *         </choice>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "participantId", + "gvOuDomain", + "userPrincipal", + "systemPrincipal" + }) + public static class Authenticate { + + @XmlElement(required = true) + protected Object participantId; + protected Object gvOuDomain; + protected PvpTokenType.Authenticate.UserPrincipal userPrincipal; + protected PvpPrincipalType systemPrincipal; + + /** + * Gets the value of the participantId property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getParticipantId() { + return participantId; + } + + /** + * Sets the value of the participantId property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setParticipantId(Object value) { + this.participantId = value; + } + + /** + * Gets the value of the gvOuDomain property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getGvOuDomain() { + return gvOuDomain; + } + + /** + * Sets the value of the gvOuDomain property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setGvOuDomain(Object value) { + this.gvOuDomain = value; + } + + /** + * Gets the value of the userPrincipal property. + * + * @return + * possible object is + * {@link PvpTokenType.Authenticate.UserPrincipal } + * + */ + public PvpTokenType.Authenticate.UserPrincipal getUserPrincipal() { + return userPrincipal; + } + + /** + * Sets the value of the userPrincipal property. + * + * @param value + * allowed object is + * {@link PvpTokenType.Authenticate.UserPrincipal } + * + */ + public void setUserPrincipal(PvpTokenType.Authenticate.UserPrincipal value) { + this.userPrincipal = value; + } + + /** + * Gets the value of the systemPrincipal property. + * + * @return + * possible object is + * {@link PvpPrincipalType } + * + */ + public PvpPrincipalType getSystemPrincipal() { + return systemPrincipal; + } + + /** + * Sets the value of the systemPrincipal property. + * + * @param value + * allowed object is + * {@link PvpPrincipalType } + * + */ + public void setSystemPrincipal(PvpPrincipalType value) { + this.systemPrincipal = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <extension base="{http://egov.gv.at/pvp1.xsd}pvpPrincipalType">
+         *       <sequence>
+         *         <element name="gvGid" type="{http://www.w3.org/2001/XMLSchema}string"/>
+         *         <element name="gvFunction" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+         *       </sequence>
+         *       <anyAttribute processContents='lax'/>
+         *     </extension>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "gvGid", + "gvFunction" + }) + public static class UserPrincipal + extends PvpPrincipalType + { + + @XmlElement(required = true) + protected String gvGid; + protected String gvFunction; + + /** + * Gets the value of the gvGid property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGvGid() { + return gvGid; + } + + /** + * Sets the value of the gvGid property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGvGid(String value) { + this.gvGid = value; + } + + /** + * Gets the value of the gvFunction property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGvFunction() { + return gvFunction; + } + + /** + * Sets the value of the gvFunction property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGvFunction(String value) { + this.gvFunction = value; + } + + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element ref="{http://egov.gv.at/pvp1.xsd}role" maxOccurs="unbounded"/>
+     *         <element name="dummy" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "role", + "dummy" + }) + public static class Authorize { + + @XmlElement(required = true) + protected List role; + protected Object dummy; + + /** + * Gets the value of the role 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 role property. + * + *

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

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

+ * Objects of the following type(s) are allowed in the list + * {@link Role } + * + * + */ + public List getRole() { + if (role == null) { + role = new ArrayList(); + } + return this.role; + } + + /** + * Gets the value of the dummy property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getDummy() { + return dummy; + } + + /** + * Sets the value of the dummy property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setDummy(Object value) { + this.dummy = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <any processContents='lax' maxOccurs="unbounded"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "any" + }) + public static class PvpExtension { + + @XmlAnyElement(lax = true) + protected List any; + + /** + * 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 Element } + * {@link Object } + * + * + */ + public List getAny() { + if (any == null) { + any = new ArrayList(); + } + return this.any; + } + + } + +} -- cgit v1.2.3