diff options
Diffstat (limited to 'src/main/java/at/gv/util/xsd/szr/pvp')
9 files changed, 1653 insertions, 0 deletions
diff --git a/src/main/java/at/gv/util/xsd/szr/pvp/ObjectFactory.java b/src/main/java/at/gv/util/xsd/szr/pvp/ObjectFactory.java new file mode 100644 index 0000000..b7d4820 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/pvp/ObjectFactory.java @@ -0,0 +1,133 @@ + +package at.gv.util.xsd.szr.pvp; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.szr.pvp package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _PvpToken_QNAME = new QName("http://egov.gv.at/pvp1.xsd", "pvpToken"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.szr.pvp + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link PvpTokenType.Accounting.GvCostCenterId } + * + */ + public PvpTokenType.Accounting.GvCostCenterId createPvpTokenTypeAccountingGvCostCenterId() { + return new PvpTokenType.Accounting.GvCostCenterId(); + } + + /** + * Create an instance of {@link Role } + * + */ + public Role createRole() { + return new Role(); + } + + /** + * Create an instance of {@link PvpTokenType.Accounting } + * + */ + public PvpTokenType.Accounting createPvpTokenTypeAccounting() { + return new PvpTokenType.Accounting(); + } + + /** + * Create an instance of {@link PvpTokenType } + * + */ + public PvpTokenType createPvpTokenType() { + return new PvpTokenType(); + } + + /** + * Create an instance of {@link PvpTokenType.Authenticate.UserPrincipal } + * + */ + public PvpTokenType.Authenticate.UserPrincipal createPvpTokenTypeAuthenticateUserPrincipal() { + return new PvpTokenType.Authenticate.UserPrincipal(); + } + + /** + * Create an instance of {@link PvpTokenType.Authenticate } + * + */ + public PvpTokenType.Authenticate createPvpTokenTypeAuthenticate() { + return new PvpTokenType.Authenticate(); + } + + /** + * Create an instance of {@link PvpPrincipalType } + * + */ + public PvpPrincipalType createPvpPrincipalType() { + return new PvpPrincipalType(); + } + + /** + * Create an instance of {@link PvpTokenType.PvpExtension } + * + */ + public PvpTokenType.PvpExtension createPvpTokenTypePvpExtension() { + return new PvpTokenType.PvpExtension(); + } + + /** + * Create an instance of {@link PvpTokenType.Authorize } + * + */ + public PvpTokenType.Authorize createPvpTokenTypeAuthorize() { + return new PvpTokenType.Authorize(); + } + + /** + * Create an instance of {@link Param } + * + */ + public Param createParam() { + return new Param(); + } + + /** + * Create an instance of {@link PvpTokenType.Accounting.GvChargeCode } + * + */ + public PvpTokenType.Accounting.GvChargeCode createPvpTokenTypeAccountingGvChargeCode() { + return new PvpTokenType.Accounting.GvChargeCode(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PvpTokenType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://egov.gv.at/pvp1.xsd", name = "pvpToken") + public JAXBElement<PvpTokenType> createPvpToken(PvpTokenType value) { + return new JAXBElement<PvpTokenType>(_PvpToken_QNAME, PvpTokenType.class, null, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/pvp/Param.java b/src/main/java/at/gv/util/xsd/szr/pvp/Param.java new file mode 100644 index 0000000..7a33c83 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/pvp/Param.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.szr.pvp; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <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="key" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "key", + "value" +}) +@XmlRootElement(name = "param") +public class Param { + + @XmlElement(required = true) + protected String key; + @XmlElement(required = true) + protected String value; + + /** + * Gets the value of the key property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getKey() { + return key; + } + + /** + * Sets the value of the key property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setKey(String value) { + this.key = value; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/pvp/PvpPrincipalType.java b/src/main/java/at/gv/util/xsd/szr/pvp/PvpPrincipalType.java new file mode 100644 index 0000000..eeadb45 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/pvp/PvpPrincipalType.java @@ -0,0 +1,203 @@ + +package at.gv.util.xsd.szr.pvp; + +import java.math.BigInteger; +import java.util.HashMap; +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.XmlElement; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.namespace.QName; + + +/** + * <p>Java class for pvpPrincipalType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="pvpPrincipalType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="userId" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="cn" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="gvOuId" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="ou" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="gvSecClass" type="{http://egov.gv.at/pvp1.xsd}gvSecClassType" minOccurs="0"/> + * </sequence> + * <anyAttribute processContents='lax'/> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "pvpPrincipalType", propOrder = { + "userId", + "cn", + "gvOuId", + "ou", + "gvSecClass" +}) +@XmlSeeAlso({ + at.gv.util.xsd.szr.pvp.PvpTokenType.Authenticate.UserPrincipal.class +}) +public class PvpPrincipalType { + + @XmlElement(required = true) + protected String userId; + @XmlElement(required = true) + protected String cn; + @XmlElement(required = true) + protected String gvOuId; + @XmlElement(required = true) + protected String ou; + protected BigInteger gvSecClass; + @XmlAnyAttribute + private Map<QName, String> otherAttributes = new HashMap<QName, String>(); + + /** + * Gets the value of the userId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getUserId() { + return userId; + } + + /** + * Sets the value of the userId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setUserId(String value) { + this.userId = value; + } + + /** + * Gets the value of the cn property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCn() { + return cn; + } + + /** + * Sets the value of the cn property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCn(String value) { + this.cn = value; + } + + /** + * Gets the value of the gvOuId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGvOuId() { + return gvOuId; + } + + /** + * Sets the value of the gvOuId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGvOuId(String value) { + this.gvOuId = value; + } + + /** + * Gets the value of the ou property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOu() { + return ou; + } + + /** + * Sets the value of the ou property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOu(String value) { + this.ou = value; + } + + /** + * Gets the value of the gvSecClass property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getGvSecClass() { + return gvSecClass; + } + + /** + * Sets the value of the gvSecClass property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setGvSecClass(BigInteger value) { + this.gvSecClass = 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; + } + +} 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; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/pvp/Role.java b/src/main/java/at/gv/util/xsd/szr/pvp/Role.java new file mode 100644 index 0000000..edf84f0 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/pvp/Role.java @@ -0,0 +1,126 @@ + +package at.gv.util.xsd.szr.pvp; + +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.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <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}param" maxOccurs="unbounded"/> + * <element name="dummy" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/> + * </sequence> + * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "param", + "dummy" +}) +@XmlRootElement(name = "role") +public class Role { + + @XmlElement(required = true) + protected List<Param> param; + protected Object dummy; + @XmlAttribute(required = true) + protected String value; + + /** + * Gets the value of the param 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 param property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getParam().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Param } + * + * + */ + public List<Param> getParam() { + if (param == null) { + param = new ArrayList<Param>(); + } + return this.param; + } + + /** + * 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; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/pvp/package-info.java b/src/main/java/at/gv/util/xsd/szr/pvp/package-info.java new file mode 100644 index 0000000..3262771 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/pvp/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://egov.gv.at/pvp1.xsd", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.szr.pvp; diff --git a/src/main/java/at/gv/util/xsd/szr/pvp/sec/ObjectFactory.java b/src/main/java/at/gv/util/xsd/szr/pvp/sec/ObjectFactory.java new file mode 100644 index 0000000..7adad02 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/pvp/sec/ObjectFactory.java @@ -0,0 +1,40 @@ + +package at.gv.util.xsd.szr.pvp.sec; + +import javax.xml.bind.annotation.XmlRegistry; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.szr.pvp.sec package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.szr.pvp.sec + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link Security } + * + */ + public Security createSecurity() { + return new Security(); + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/pvp/sec/Security.java b/src/main/java/at/gv/util/xsd/szr/pvp/sec/Security.java new file mode 100644 index 0000000..7f70ee2 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/pvp/sec/Security.java @@ -0,0 +1,65 @@ + +package at.gv.util.xsd.szr.pvp.sec; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.szr.pvp.PvpTokenType; + + +/** + * <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}pvpToken"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "pvpToken" +}) +@XmlRootElement(name = "Security") +public class Security { + + @XmlElement(namespace = "http://egov.gv.at/pvp1.xsd", required = true) + protected PvpTokenType pvpToken; + + /** + * Gets the value of the pvpToken property. + * + * @return + * possible object is + * {@link PvpTokenType } + * + */ + public PvpTokenType getPvpToken() { + return pvpToken; + } + + /** + * Sets the value of the pvpToken property. + * + * @param value + * allowed object is + * {@link PvpTokenType } + * + */ + public void setPvpToken(PvpTokenType value) { + this.pvpToken = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/pvp/sec/package-info.java b/src/main/java/at/gv/util/xsd/szr/pvp/sec/package-info.java new file mode 100644 index 0000000..1f88098 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/pvp/sec/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://schemas.xmlsoap.org/ws/2002/04/secext", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.szr.pvp.sec; |