diff options
| author | Florian Reimair <florian.reimair@iaik.tugraz.at> | 2014-11-27 18:35:28 +0100 | 
|---|---|---|
| committer | Florian Reimair <florian.reimair@iaik.tugraz.at> | 2014-11-27 18:35:28 +0100 | 
| commit | 3eab8b05d4974d996a9966909daeb090e16e6cab (patch) | |
| tree | d7d6952432d41ed7340613aa18a548687d716b0c /id/server/stork2-commons | |
| parent | ebe6db47b0ba7c6c8f8c6632f1a38a822ac32277 (diff) | |
| download | moa-id-spss-3eab8b05d4974d996a9966909daeb090e16e6cab.tar.gz moa-id-spss-3eab8b05d4974d996a9966909daeb090e16e6cab.tar.bz2 moa-id-spss-3eab8b05d4974d996a9966909daeb090e16e6cab.zip | |
reenabled new isHCP attribute for stork
Diffstat (limited to 'id/server/stork2-commons')
4 files changed, 262 insertions, 51 deletions
| 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 <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>  +// 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; + + +/** + * <p>Java class for isHealthCareProfessional_deprecatedType complex type. + *  + * <p>The following schema fragment specifies the expected content contained within this class. + *  + * <pre> + * <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> + * </pre> + *  + *  + */ +@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 <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>   // 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 <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>   // 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();      }      /** @@ -127,6 +128,14 @@ public class ObjectFactory {      }      /** +     * Create an instance of {@link IsHealthCareProfessionalDeprecatedType } +     *  +     */ +    public IsHealthCareProfessionalDeprecatedType createIsHealthCareProfessionalDeprecatedType() { +        return new IsHealthCareProfessionalDeprecatedType(); +    } + +    /**       * Create an instance of {@link MandateContentType }       *        */ @@ -231,14 +240,6 @@ public class ObjectFactory {      }      /** -     * Create an instance of {@link OriginalMandateType } -     *  -     */ -    /*public OriginalMandateType createOriginalMandateType() { -        return new OriginalMandateType(); -    }*/ - -    /**       * Create an instance of {@link IsHCPType }       *        */ @@ -310,6 +311,15 @@ public class ObjectFactory {      }      /** +     * 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<IsHealthCareProfessionalDeprecatedType> createIsHealthCareProfessionalDeprecated(IsHealthCareProfessionalDeprecatedType value) { +        return new JAXBElement<IsHealthCareProfessionalDeprecatedType>(_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<RequestedAttributeType> createRequestedAttribute(RequestedAttributeType value) { -        return new JAXBElement<RequestedAttributeType>(_RequestedAttribute_QNAME, RequestedAttributeType.class, null, value); +    @XmlElementDecl(namespace = "urn:eu:stork:names:tc:STORK:1.0:assertion", name = "mandate") +    public JAXBElement<MandateType> createMandate(MandateType value) { +        return new JAXBElement<MandateType>(_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<MandateType> createMandate(MandateType value) { -        return new JAXBElement<MandateType>(_Mandate_QNAME, MandateType.class, null, value); +    @XmlElementDecl(namespace = "urn:eu:stork:names:tc:STORK:1.0:assertion", name = "RequestedAttribute") +    public JAXBElement<RequestedAttributeType> createRequestedAttribute(RequestedAttributeType value) { +        return new JAXBElement<RequestedAttributeType>(_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 @@  <xs:element name="acTitle" type="stork:acTitleType"/>  <xs:element name="hasAccountInBank" type="stork:hasAccountInBankType"/>  <xs:element name="isHealthCareProfessional" type="stork:isHealthCareProfessionalType"/> +<xs:element name="isHealthCareProfessional_deprecated" type="stork:isHealthCareProfessional_deprecatedType"/>  <xs:element name="canonicalRegisteredAddress" type="stork:canonicalAddressType"/>  <xs:element name="AQAA" type="stork:QualityAuthenticationAssuranceLevelType"/>  <xs:element name="mandate" type="stork:mandateType"/> @@ -274,7 +275,7 @@  <xs:element name="AQAA" type="stork:QualityAuthenticationAssuranceLevelType"/>  </xs:sequence>  </xs:complexType> -<xs:complexType name="isHealthCareProfessionalType"> +<xs:complexType name="isHealthCareProfessional_deprecatedType">  <xs:sequence>  <xs:element name="nameOfOrganisation" type="xs:string"/>  <xs:element ref="stork:HCPType"/> @@ -360,4 +361,36 @@  <xs:minLength value="2"/>  </xs:restriction>  </xs:simpleType> + +	<xs:complexType name="isHealthCareProfessionalType"> +		<xs:sequence> +			<xs:element name="typeOfHCP"> +				<xs:simpleType> +					<xs:restriction base="xs:anyURI"> +						<xs:enumeration value="dentist" /> +						<xs:enumeration value="nurse" /> +						<xs:enumeration value="pharmacist" /> +						<xs:enumeration value="physician" /> +						<xs:enumeration value="nurse midwife" /> +						<xs:enumeration value="admission clerk" /> +						<xs:enumeration value="ancillary services" /> +						<xs:enumeration value="clinical services" /> +					</xs:restriction> +				</xs:simpleType> +			</xs:element> +			<xs:element name="nameOfOrganisation" type="xs:string" /> +			<xs:element name="typeOfOrganisation"> +				<xs:simpleType> +					<xs:restriction base="xs:anyURI"> +						<xs:enumeration value="Hospital" /> +						<xs:enumeration value="Resident Physician" /> +						<xs:enumeration value="Pharmacy" /> +						<xs:enumeration value="Other" /> +						<xs:enumeration value="Unknown" /> +					</xs:restriction> +				</xs:simpleType> +			</xs:element> +			<xs:element name="AQAA" type="stork:QualityAuthenticationAssuranceLevelType" /> +		</xs:sequence> +	</xs:complexType>  </xs:schema> | 
