From 3eab8b05d4974d996a9966909daeb090e16e6cab Mon Sep 17 00:00:00 2001 From: Florian Reimair Date: Thu, 27 Nov 2014 18:35:28 +0100 Subject: reenabled new isHCP attribute for stork --- .../IsHealthCareProfessionalDeprecatedType.java | 145 +++++++++++++++++++++ .../assertion/IsHealthCareProfessionalType.java | 75 +++++++---- .../tc/stork/_1_0/assertion/ObjectFactory.java | 58 +++++---- .../resources/schema/StorkcomplexAttributes.xsd | 35 ++++- 4 files changed, 262 insertions(+), 51 deletions(-) create mode 100644 id/server/stork2-commons/src/main/java/eu/stork/peps/complex/attributes/eu/stork/names/tc/stork/_1_0/assertion/IsHealthCareProfessionalDeprecatedType.java (limited to 'id/server/stork2-commons') diff --git a/id/server/stork2-commons/src/main/java/eu/stork/peps/complex/attributes/eu/stork/names/tc/stork/_1_0/assertion/IsHealthCareProfessionalDeprecatedType.java b/id/server/stork2-commons/src/main/java/eu/stork/peps/complex/attributes/eu/stork/names/tc/stork/_1_0/assertion/IsHealthCareProfessionalDeprecatedType.java new file mode 100644 index 000000000..711b7d68d --- /dev/null +++ b/id/server/stork2-commons/src/main/java/eu/stork/peps/complex/attributes/eu/stork/names/tc/stork/_1_0/assertion/IsHealthCareProfessionalDeprecatedType.java @@ -0,0 +1,145 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2014.11.27 at 06:17:01 PM CET +// + + +package eu.stork.peps.complex.attributes.eu.stork.names.tc.stork._1_0.assertion; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for isHealthCareProfessional_deprecatedType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="isHealthCareProfessional_deprecatedType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="nameOfOrganisation" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         <element ref="{urn:eu:stork:names:tc:STORK:1.0:assertion}HCPType"/>
+ *         <element ref="{urn:eu:stork:names:tc:STORK:1.0:assertion}specialisation"/>
+ *         <element name="AQAA" type="{urn:eu:stork:names:tc:STORK:1.0:assertion}QualityAuthenticationAssuranceLevelType"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "isHealthCareProfessional_deprecatedType", propOrder = { + "nameOfOrganisation", + "hcpType", + "specialisation", + "aqaa" +}) +public class IsHealthCareProfessionalDeprecatedType { + + @XmlElement(required = true) + protected String nameOfOrganisation; + @XmlElement(name = "HCPType", required = true) + protected String hcpType; + @XmlElement(required = true) + protected String specialisation; + @XmlElement(name = "AQAA") + protected int aqaa; + + /** + * Gets the value of the nameOfOrganisation property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNameOfOrganisation() { + return nameOfOrganisation; + } + + /** + * Sets the value of the nameOfOrganisation property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNameOfOrganisation(String value) { + this.nameOfOrganisation = value; + } + + /** + * Gets the value of the hcpType property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getHCPType() { + return hcpType; + } + + /** + * Sets the value of the hcpType property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setHCPType(String value) { + this.hcpType = value; + } + + /** + * Gets the value of the specialisation property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSpecialisation() { + return specialisation; + } + + /** + * Sets the value of the specialisation property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSpecialisation(String value) { + this.specialisation = value; + } + + /** + * Gets the value of the aqaa property. + * + */ + public int getAQAA() { + return aqaa; + } + + /** + * Sets the value of the aqaa property. + * + */ + public void setAQAA(int value) { + this.aqaa = value; + } + +} diff --git a/id/server/stork2-commons/src/main/java/eu/stork/peps/complex/attributes/eu/stork/names/tc/stork/_1_0/assertion/IsHealthCareProfessionalType.java b/id/server/stork2-commons/src/main/java/eu/stork/peps/complex/attributes/eu/stork/names/tc/stork/_1_0/assertion/IsHealthCareProfessionalType.java index d288cda12..be11e4ee8 100644 --- a/id/server/stork2-commons/src/main/java/eu/stork/peps/complex/attributes/eu/stork/names/tc/stork/_1_0/assertion/IsHealthCareProfessionalType.java +++ b/id/server/stork2-commons/src/main/java/eu/stork/peps/complex/attributes/eu/stork/names/tc/stork/_1_0/assertion/IsHealthCareProfessionalType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2014.04.12 at 12:22:50 PM GMT +// Generated on: 2014.11.27 at 06:17:01 PM CET // @@ -24,9 +24,32 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> + * <element name="typeOfHCP"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyURI"> + * <enumeration value="dentist"/> + * <enumeration value="nurse"/> + * <enumeration value="pharmacist"/> + * <enumeration value="physician"/> + * <enumeration value="nurse midwife"/> + * <enumeration value="admission clerk"/> + * <enumeration value="ancillary services"/> + * <enumeration value="clinical services"/> + * </restriction> + * </simpleType> + * </element> * <element name="nameOfOrganisation" type="{http://www.w3.org/2001/XMLSchema}string"/> - * <element ref="{urn:eu:stork:names:tc:STORK:1.0:assertion}HCPType"/> - * <element ref="{urn:eu:stork:names:tc:STORK:1.0:assertion}specialisation"/> + * <element name="typeOfOrganisation"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyURI"> + * <enumeration value="Hospital"/> + * <enumeration value="Resident Physician"/> + * <enumeration value="Pharmacy"/> + * <enumeration value="Other"/> + * <enumeration value="Unknown"/> + * </restriction> + * </simpleType> + * </element> * <element name="AQAA" type="{urn:eu:stork:names:tc:STORK:1.0:assertion}QualityAuthenticationAssuranceLevelType"/> * </sequence> * </restriction> @@ -38,92 +61,92 @@ import javax.xml.bind.annotation.XmlType; */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "isHealthCareProfessionalType", propOrder = { + "typeOfHCP", "nameOfOrganisation", - "hcpType", - "specialisation", + "typeOfOrganisation", "aqaa" }) public class IsHealthCareProfessionalType { + @XmlElement(required = true) + protected String typeOfHCP; @XmlElement(required = true) protected String nameOfOrganisation; - @XmlElement(name = "HCPType", required = true) - protected String hcpType; @XmlElement(required = true) - protected String specialisation; + protected String typeOfOrganisation; @XmlElement(name = "AQAA") protected int aqaa; /** - * Gets the value of the nameOfOrganisation property. + * Gets the value of the typeOfHCP property. * * @return * possible object is * {@link String } * */ - public String getNameOfOrganisation() { - return nameOfOrganisation; + public String getTypeOfHCP() { + return typeOfHCP; } /** - * Sets the value of the nameOfOrganisation property. + * Sets the value of the typeOfHCP property. * * @param value * allowed object is * {@link String } * */ - public void setNameOfOrganisation(String value) { - this.nameOfOrganisation = value; + public void setTypeOfHCP(String value) { + this.typeOfHCP = value; } /** - * Gets the value of the hcpType property. + * Gets the value of the nameOfOrganisation property. * * @return * possible object is * {@link String } * */ - public String getHCPType() { - return hcpType; + public String getNameOfOrganisation() { + return nameOfOrganisation; } /** - * Sets the value of the hcpType property. + * Sets the value of the nameOfOrganisation property. * * @param value * allowed object is * {@link String } * */ - public void setHCPType(String value) { - this.hcpType = value; + public void setNameOfOrganisation(String value) { + this.nameOfOrganisation = value; } /** - * Gets the value of the specialisation property. + * Gets the value of the typeOfOrganisation property. * * @return * possible object is * {@link String } * */ - public String getSpecialisation() { - return specialisation; + public String getTypeOfOrganisation() { + return typeOfOrganisation; } /** - * Sets the value of the specialisation property. + * Sets the value of the typeOfOrganisation property. * * @param value * allowed object is * {@link String } * */ - public void setSpecialisation(String value) { - this.specialisation = value; + public void setTypeOfOrganisation(String value) { + this.typeOfOrganisation = value; } /** diff --git a/id/server/stork2-commons/src/main/java/eu/stork/peps/complex/attributes/eu/stork/names/tc/stork/_1_0/assertion/ObjectFactory.java b/id/server/stork2-commons/src/main/java/eu/stork/peps/complex/attributes/eu/stork/names/tc/stork/_1_0/assertion/ObjectFactory.java index b387aab99..217ca4ec4 100644 --- a/id/server/stork2-commons/src/main/java/eu/stork/peps/complex/attributes/eu/stork/names/tc/stork/_1_0/assertion/ObjectFactory.java +++ b/id/server/stork2-commons/src/main/java/eu/stork/peps/complex/attributes/eu/stork/names/tc/stork/_1_0/assertion/ObjectFactory.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2014.10.09 at 10:11:43 AM GMT +// Generated on: 2014.11.27 at 06:25:14 PM CET // @@ -40,6 +40,7 @@ public class ObjectFactory { private final static QName _QualityAuthenticationAssuranceLevel_QNAME = new QName("urn:eu:stork:names:tc:STORK:1.0:assertion", "QualityAuthenticationAssuranceLevel"); private final static QName _IsAcademicStaff_QNAME = new QName("urn:eu:stork:names:tc:STORK:1.0:assertion", "isAcademicStaff"); private final static QName _MandateContent_QNAME = new QName("urn:eu:stork:names:tc:STORK:1.0:assertion", "mandateContent"); + private final static QName _IsHealthCareProfessionalDeprecated_QNAME = new QName("urn:eu:stork:names:tc:STORK:1.0:assertion", "isHealthCareProfessional_deprecated"); private final static QName _CanonicalRegisteredAddress_QNAME = new QName("urn:eu:stork:names:tc:STORK:1.0:assertion", "canonicalRegisteredAddress"); private final static QName _SpCountry_QNAME = new QName("urn:eu:stork:names:tc:STORK:1.0:assertion", "spCountry"); private final static QName _IsAdminStaff_QNAME = new QName("urn:eu:stork:names:tc:STORK:1.0:assertion", "isAdminStaff"); @@ -47,8 +48,8 @@ public class ObjectFactory { private final static QName _CountryCodeAddress_QNAME = new QName("urn:eu:stork:names:tc:STORK:1.0:assertion", "countryCodeAddress"); private final static QName _HasAccountInBank_QNAME = new QName("urn:eu:stork:names:tc:STORK:1.0:assertion", "hasAccountInBank"); private final static QName _CurrentStudiesSupplement_QNAME = new QName("urn:eu:stork:names:tc:STORK:1.0:assertion", "currentStudiesSupplement"); - private final static QName _RequestedAttribute_QNAME = new QName("urn:eu:stork:names:tc:STORK:1.0:assertion", "RequestedAttribute"); private final static QName _Mandate_QNAME = new QName("urn:eu:stork:names:tc:STORK:1.0:assertion", "mandate"); + private final static QName _RequestedAttribute_QNAME = new QName("urn:eu:stork:names:tc:STORK:1.0:assertion", "RequestedAttribute"); private final static QName _SpSector_QNAME = new QName("urn:eu:stork:names:tc:STORK:1.0:assertion", "spSector"); private final static QName _HasDegree_QNAME = new QName("urn:eu:stork:names:tc:STORK:1.0:assertion", "hasDegree"); private final static QName _DiplomaSupplement_QNAME = new QName("urn:eu:stork:names:tc:STORK:1.0:assertion", "diplomaSupplement"); @@ -79,19 +80,19 @@ public class ObjectFactory { } /** - * Create an instance of {@link RequestedAttributeType } + * Create an instance of {@link MandateType } * */ - public RequestedAttributeType createRequestedAttributeType() { - return new RequestedAttributeType(); + public MandateType createMandateType() { + return new MandateType(); } /** - * Create an instance of {@link MandateType } + * Create an instance of {@link RequestedAttributeType } * */ - public MandateType createMandateType() { - return new MandateType(); + public RequestedAttributeType createRequestedAttributeType() { + return new RequestedAttributeType(); } /** @@ -126,6 +127,14 @@ public class ObjectFactory { return new CanonicalAddressType(); } + /** + * Create an instance of {@link IsHealthCareProfessionalDeprecatedType } + * + */ + public IsHealthCareProfessionalDeprecatedType createIsHealthCareProfessionalDeprecatedType() { + return new IsHealthCareProfessionalDeprecatedType(); + } + /** * Create an instance of {@link MandateContentType } * @@ -230,14 +239,6 @@ public class ObjectFactory { return new TransactionLimitRestrictionType(); } - /** - * Create an instance of {@link OriginalMandateType } - * - */ - /*public OriginalMandateType createOriginalMandateType() { - return new OriginalMandateType(); - }*/ - /** * Create an instance of {@link IsHCPType } * @@ -309,6 +310,15 @@ public class ObjectFactory { return new JAXBElement(_MandateContent_QNAME, MandateContentType.class, null, value); } + /** + * Create an instance of {@link JAXBElement }{@code <}{@link IsHealthCareProfessionalDeprecatedType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:eu:stork:names:tc:STORK:1.0:assertion", name = "isHealthCareProfessional_deprecated") + public JAXBElement createIsHealthCareProfessionalDeprecated(IsHealthCareProfessionalDeprecatedType value) { + return new JAXBElement(_IsHealthCareProfessionalDeprecated_QNAME, IsHealthCareProfessionalDeprecatedType.class, null, value); + } + /** * Create an instance of {@link JAXBElement }{@code <}{@link CanonicalAddressType }{@code >}} * @@ -375,21 +385,21 @@ public class ObjectFactory { } /** - * Create an instance of {@link JAXBElement }{@code <}{@link RequestedAttributeType }{@code >}} + * Create an instance of {@link JAXBElement }{@code <}{@link MandateType }{@code >}} * */ - @XmlElementDecl(namespace = "urn:eu:stork:names:tc:STORK:1.0:assertion", name = "RequestedAttribute") - public JAXBElement createRequestedAttribute(RequestedAttributeType value) { - return new JAXBElement(_RequestedAttribute_QNAME, RequestedAttributeType.class, null, value); + @XmlElementDecl(namespace = "urn:eu:stork:names:tc:STORK:1.0:assertion", name = "mandate") + public JAXBElement createMandate(MandateType value) { + return new JAXBElement(_Mandate_QNAME, MandateType.class, null, value); } /** - * Create an instance of {@link JAXBElement }{@code <}{@link MandateType }{@code >}} + * Create an instance of {@link JAXBElement }{@code <}{@link RequestedAttributeType }{@code >}} * */ - @XmlElementDecl(namespace = "urn:eu:stork:names:tc:STORK:1.0:assertion", name = "mandate") - public JAXBElement createMandate(MandateType value) { - return new JAXBElement(_Mandate_QNAME, MandateType.class, null, value); + @XmlElementDecl(namespace = "urn:eu:stork:names:tc:STORK:1.0:assertion", name = "RequestedAttribute") + public JAXBElement createRequestedAttribute(RequestedAttributeType value) { + return new JAXBElement(_RequestedAttribute_QNAME, RequestedAttributeType.class, null, value); } /** diff --git a/id/server/stork2-commons/src/main/resources/schema/StorkcomplexAttributes.xsd b/id/server/stork2-commons/src/main/resources/schema/StorkcomplexAttributes.xsd index 463b39ee2..1dfd6b319 100644 --- a/id/server/stork2-commons/src/main/resources/schema/StorkcomplexAttributes.xsd +++ b/id/server/stork2-commons/src/main/resources/schema/StorkcomplexAttributes.xsd @@ -27,6 +27,7 @@ + @@ -274,7 +275,7 @@ - + @@ -360,4 +361,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3