From 0eec376bb3c272eb3872d306ba35e5a52d51fc2b Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Wed, 1 Oct 2014 10:52:19 +0200 Subject: update PVP 1.9 Header schema --- .../java/at/gv/util/xsd/szr/pvp/PvpTokenType.java | 32 +++++++++++----------- 1 file changed, 16 insertions(+), 16 deletions(-) (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 index 0c1e55f..3e3910a 100644 --- a/src/main/java/at/gv/util/xsd/szr/pvp/PvpTokenType.java +++ b/src/main/java/at/gv/util/xsd/szr/pvp/PvpTokenType.java @@ -32,8 +32,8 @@ import org.w3c.dom.Element; * <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"/> + * <element name="participantId" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="gvOuDomain" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <choice> * <element name="userPrincipal"> * <complexType> @@ -134,7 +134,7 @@ public class PvpTokenType { protected PvpTokenType.Accounting accounting; protected PvpTokenType pvpChainedToken; protected PvpTokenType.PvpExtension pvpExtension; - @XmlAttribute(required = true) + @XmlAttribute(name = "version", required = true) protected String version; @XmlAnyAttribute private Map otherAttributes = new HashMap(); @@ -615,8 +615,8 @@ public class PvpTokenType { * <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"/> + * <element name="participantId" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="gvOuDomain" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <choice> * <element name="userPrincipal"> * <complexType> @@ -651,8 +651,8 @@ public class PvpTokenType { public static class Authenticate { @XmlElement(required = true) - protected Object participantId; - protected Object gvOuDomain; + protected String participantId; + protected String gvOuDomain; protected PvpTokenType.Authenticate.UserPrincipal userPrincipal; protected PvpPrincipalType systemPrincipal; @@ -661,10 +661,10 @@ public class PvpTokenType { * * @return * possible object is - * {@link Object } + * {@link String } * */ - public Object getParticipantId() { + public String getParticipantId() { return participantId; } @@ -673,10 +673,10 @@ public class PvpTokenType { * * @param value * allowed object is - * {@link Object } + * {@link String } * */ - public void setParticipantId(Object value) { + public void setParticipantId(String value) { this.participantId = value; } @@ -685,10 +685,10 @@ public class PvpTokenType { * * @return * possible object is - * {@link Object } + * {@link String } * */ - public Object getGvOuDomain() { + public String getGvOuDomain() { return gvOuDomain; } @@ -697,10 +697,10 @@ public class PvpTokenType { * * @param value * allowed object is - * {@link Object } + * {@link String } * */ - public void setGvOuDomain(Object value) { + public void setGvOuDomain(String value) { this.gvOuDomain = value; } @@ -973,8 +973,8 @@ public class PvpTokenType { * *

* Objects of the following type(s) are allowed in the list - * {@link Element } * {@link Object } + * {@link Element } * * */ -- cgit v1.2.3