diff options
Diffstat (limited to 'src/main/java/at/gv/util/xsd/szr/pvp/PvpTokenType.java')
-rw-r--r-- | src/main/java/at/gv/util/xsd/szr/pvp/PvpTokenType.java | 990 |
1 files changed, 990 insertions, 0 deletions
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; + + +/** + * <p>Java class for pvpTokenType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <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> + * </pre> + * + * + */ +@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<QName, String> otherAttributes = new HashMap<QName, String>(); + + /** + * 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. + * + * <p> + * 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<QName, String> getOtherAttributes() { + return otherAttributes; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <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> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "invoiceRecptId", + "gvCostCenterId", + "gvChargeCode" + }) + public static class Accounting { + + @XmlElement(required = true) + protected String invoiceRecptId; + @XmlElement(required = true) + protected List<PvpTokenType.Accounting.GvCostCenterId> gvCostCenterId; + @XmlElement(required = true) + protected List<PvpTokenType.Accounting.GvChargeCode> 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. + * + * <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 gvCostCenterId property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getGvCostCenterId().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link PvpTokenType.Accounting.GvCostCenterId } + * + * + */ + public List<PvpTokenType.Accounting.GvCostCenterId> getGvCostCenterId() { + if (gvCostCenterId == null) { + gvCostCenterId = new ArrayList<PvpTokenType.Accounting.GvCostCenterId>(); + } + return this.gvCostCenterId; + } + + /** + * Gets the value of the gvChargeCode 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 gvChargeCode property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getGvChargeCode().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link PvpTokenType.Accounting.GvChargeCode } + * + * + */ + public List<PvpTokenType.Accounting.GvChargeCode> getGvChargeCode() { + if (gvChargeCode == null) { + gvChargeCode = new ArrayList<PvpTokenType.Accounting.GvChargeCode>(); + } + return this.gvChargeCode; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <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> + * </pre> + * + * + */ + @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; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <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> + * </pre> + * + * + */ + @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; + } + + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <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> + * </pre> + * + * + */ + @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; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <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> + * </pre> + * + * + */ + @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; + } + + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <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> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "role", + "dummy" + }) + public static class Authorize { + + @XmlElement(required = true) + protected List<Role> role; + protected Object dummy; + + /** + * Gets the value of the role 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 role property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getRole().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Role } + * + * + */ + public List<Role> getRole() { + if (role == null) { + role = new ArrayList<Role>(); + } + 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; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='lax' maxOccurs="unbounded"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "any" + }) + public static class PvpExtension { + + @XmlAnyElement(lax = true) + protected List<Object> any; + + /** + * Gets the value of the any 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 any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Element } + * {@link Object } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + + } + +} |