diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2013-12-20 12:35:28 +0100 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2013-12-20 12:35:28 +0100 |
commit | defceef8afef538555c13d33e344a89a828a3d97 (patch) | |
tree | 24b44f970f161d5b139dde501ca0f5d883f9fdea /src/main/java/at/gv/util/xsd/szr/pvp/PvpPrincipalType.java | |
download | egovutils-defceef8afef538555c13d33e344a89a828a3d97.tar.gz egovutils-defceef8afef538555c13d33e344a89a828a3d97.tar.bz2 egovutils-defceef8afef538555c13d33e344a89a828a3d97.zip |
inital
Diffstat (limited to 'src/main/java/at/gv/util/xsd/szr/pvp/PvpPrincipalType.java')
-rw-r--r-- | src/main/java/at/gv/util/xsd/szr/pvp/PvpPrincipalType.java | 203 |
1 files changed, 203 insertions, 0 deletions
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; + } + +} |