View Javadoc
1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 
3   // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
4   // Any modifications to this file will be lost upon recompilation of the source schema. 
5   // Generated on: 2015.05.01 at 10:44:03 PM CEST 
6   //
7   
8   
9   package org.openehealth.ipf.commons.xml.svrl;
10  
11  import javax.xml.bind.annotation.XmlAccessType;
12  import javax.xml.bind.annotation.XmlAccessorType;
13  import javax.xml.bind.annotation.XmlAttribute;
14  import javax.xml.bind.annotation.XmlElement;
15  import javax.xml.bind.annotation.XmlRootElement;
16  import javax.xml.bind.annotation.XmlSchemaType;
17  import javax.xml.bind.annotation.XmlType;
18  import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
19  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
20  
21  
22  /**
23   * <p>Java class for anonymous complex type.
24   * 
25   * <p>The following schema fragment specifies the expected content contained within this class.
26   * 
27   * <pre>
28   * &lt;complexType>
29   *   &lt;complexContent>
30   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
31   *       &lt;sequence>
32   *         &lt;element ref="{http://purl.oclc.org/dsdl/svrl}text"/>
33   *       &lt;/sequence>
34   *       &lt;attribute name="diagnostic" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
35   *     &lt;/restriction>
36   *   &lt;/complexContent>
37   * &lt;/complexType>
38   * </pre>
39   * 
40   * 
41   */
42  @XmlAccessorType(XmlAccessType.FIELD)
43  @XmlType(name = "", propOrder = {
44      "text"
45  })
46  @XmlRootElement(name = "diagnostic-reference")
47  public class DiagnosticReference {
48  
49      @XmlElement(required = true)
50      protected String text;
51      @XmlAttribute(name = "diagnostic", required = true)
52      @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
53      @XmlSchemaType(name = "NMTOKEN")
54      protected String diagnostic;
55  
56      /**
57       * Gets the value of the text property.
58       * 
59       * @return
60       *     possible object is
61       *     {@link String }
62       *     
63       */
64      public String getText() {
65          return text;
66      }
67  
68      /**
69       * Sets the value of the text property.
70       * 
71       * @param value
72       *     allowed object is
73       *     {@link String }
74       *     
75       */
76      public void setText(String value) {
77          this.text = value;
78      }
79  
80      /**
81       * Gets the value of the diagnostic property.
82       * 
83       * @return
84       *     possible object is
85       *     {@link String }
86       *     
87       */
88      public String getDiagnostic() {
89          return diagnostic;
90      }
91  
92      /**
93       * Sets the value of the diagnostic property.
94       * 
95       * @param value
96       *     allowed object is
97       *     {@link String }
98       *     
99       */
100     public void setDiagnostic(String value) {
101         this.diagnostic = value;
102     }
103 
104 }