diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2020-01-23 13:47:25 +0100 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2020-01-23 13:47:25 +0100 |
commit | f7c97e3423fa51f9f3d32f0285f2468d95d5987d (patch) | |
tree | bd30f3c5ceabf149f42da518ec5b803e3c27b1ca /src/main/java/at/gv/util/xsd/szr/pvp19/PvpPrincipalType.java | |
parent | 2708d02b25f55883b387a334b4fd85dfb9ea831a (diff) | |
download | egovutils-f7c97e3423fa51f9f3d32f0285f2468d95d5987d.tar.gz egovutils-f7c97e3423fa51f9f3d32f0285f2468d95d5987d.tar.bz2 egovutils-f7c97e3423fa51f9f3d32f0285f2468d95d5987d.zip |
add first version of SZR client v4.0
Diffstat (limited to 'src/main/java/at/gv/util/xsd/szr/pvp19/PvpPrincipalType.java')
-rw-r--r-- | src/main/java/at/gv/util/xsd/szr/pvp19/PvpPrincipalType.java | 268 |
1 files changed, 268 insertions, 0 deletions
diff --git a/src/main/java/at/gv/util/xsd/szr/pvp19/PvpPrincipalType.java b/src/main/java/at/gv/util/xsd/szr/pvp19/PvpPrincipalType.java new file mode 100644 index 0000000..2a7d602 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/pvp19/PvpPrincipalType.java @@ -0,0 +1,268 @@ + +package at.gv.util.xsd.szr.pvp19; + +import java.math.BigInteger; +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.XmlElement; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.namespace.QName; +import org.w3c.dom.Element; + + +/** + * <p>Java-Klasse für pvpPrincipalType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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="gvOuOKZ" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="gvSecClass" type="{http://egov.gv.at/pvp1.xsd}gvSecClassType" minOccurs="0"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <anyAttribute processContents='lax'/> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "pvpPrincipalType", propOrder = { + "userId", + "cn", + "gvOuId", + "ou", + "gvOuOKZ", + "gvSecClass", + "any" +}) +@XmlSeeAlso({ + at.gv.util.xsd.szr.pvp19.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 String gvOuOKZ; + protected BigInteger gvSecClass; + @XmlAnyElement(lax = true) + protected List<Object> any; + @XmlAnyAttribute + private Map<QName, String> otherAttributes = new HashMap<QName, String>(); + + /** + * Ruft den Wert der userId-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getUserId() { + return userId; + } + + /** + * Legt den Wert der userId-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setUserId(String value) { + this.userId = value; + } + + /** + * Ruft den Wert der cn-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCn() { + return cn; + } + + /** + * Legt den Wert der cn-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCn(String value) { + this.cn = value; + } + + /** + * Ruft den Wert der gvOuId-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGvOuId() { + return gvOuId; + } + + /** + * Legt den Wert der gvOuId-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGvOuId(String value) { + this.gvOuId = value; + } + + /** + * Ruft den Wert der ou-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOu() { + return ou; + } + + /** + * Legt den Wert der ou-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOu(String value) { + this.ou = value; + } + + /** + * Ruft den Wert der gvOuOKZ-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGvOuOKZ() { + return gvOuOKZ; + } + + /** + * Legt den Wert der gvOuOKZ-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGvOuOKZ(String value) { + this.gvOuOKZ = value; + } + + /** + * Ruft den Wert der gvSecClass-Eigenschaft ab. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getGvSecClass() { + return gvSecClass; + } + + /** + * Legt den Wert der gvSecClass-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setGvSecClass(BigInteger value) { + this.gvSecClass = value; + } + + /** + * 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; + } + + /** + * 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; + } + +} |