View Javadoc
1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.9-03/31/2009 04:14 PM(snajper)-fcs 
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: 2009.04.30 at 06:20:20 PM CEST 
6   //
7   
8   
9   package org.openehealth.ipf.commons.ihe.xds.core.stub.ebrs30.rs;
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.XmlRootElement;
15  import javax.xml.bind.annotation.XmlType;
16  import javax.xml.bind.annotation.XmlValue;
17  
18  
19  /**
20   * <p>Java class for anonymous complex type.
21   * 
22   * <p>The following schema fragment specifies the expected content contained within this class.
23   * 
24   * <pre>
25   * &lt;complexType>
26   *   &lt;simpleContent>
27   *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
28   *       &lt;attribute name="codeContext" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
29   *       &lt;attribute name="errorCode" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
30   *       &lt;attribute name="severity" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}referenceURI" default="urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error" />
31   *       &lt;attribute name="location" type="{http://www.w3.org/2001/XMLSchema}string" />
32   *     &lt;/extension>
33   *   &lt;/simpleContent>
34   * &lt;/complexType>
35   * </pre>
36   * 
37   * 
38   */
39  @XmlAccessorType(XmlAccessType.FIELD)
40  @XmlType(name = "", propOrder = {
41      "value"
42  })
43  @XmlRootElement(name = "RegistryError")
44  public class RegistryError {
45  
46      @XmlValue
47      protected String value;
48      @XmlAttribute(required = true)
49      protected String codeContext;
50      @XmlAttribute(required = true)
51      protected String errorCode;
52      @XmlAttribute
53      protected String severity;
54      @XmlAttribute
55      protected String location;
56  
57      /**
58       * Gets the value of the value property.
59       * 
60       * @return
61       *     possible object is
62       *     {@link String }
63       *     
64       */
65      public String getValue() {
66          return value;
67      }
68  
69      /**
70       * Sets the value of the value property.
71       * 
72       * @param value
73       *     allowed object is
74       *     {@link String }
75       *     
76       */
77      public void setValue(String value) {
78          this.value = value;
79      }
80  
81      /**
82       * Gets the value of the codeContext property.
83       * 
84       * @return
85       *     possible object is
86       *     {@link String }
87       *     
88       */
89      public String getCodeContext() {
90          return codeContext;
91      }
92  
93      /**
94       * Sets the value of the codeContext property.
95       * 
96       * @param value
97       *     allowed object is
98       *     {@link String }
99       *     
100      */
101     public void setCodeContext(String value) {
102         this.codeContext = value;
103     }
104 
105     /**
106      * Gets the value of the errorCode property.
107      * 
108      * @return
109      *     possible object is
110      *     {@link String }
111      *     
112      */
113     public String getErrorCode() {
114         return errorCode;
115     }
116 
117     /**
118      * Sets the value of the errorCode property.
119      * 
120      * @param value
121      *     allowed object is
122      *     {@link String }
123      *     
124      */
125     public void setErrorCode(String value) {
126         this.errorCode = value;
127     }
128 
129     /**
130      * Gets the value of the severity property.
131      * 
132      * @return
133      *     possible object is
134      *     {@link String }
135      *     
136      */
137     public String getSeverity() {
138         if (severity == null) {
139             return "urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error";
140         } else {
141             return severity;
142         }
143     }
144 
145     /**
146      * Sets the value of the severity property.
147      * 
148      * @param value
149      *     allowed object is
150      *     {@link String }
151      *     
152      */
153     public void setSeverity(String value) {
154         this.severity = value;
155     }
156 
157     /**
158      * Gets the value of the location property.
159      * 
160      * @return
161      *     possible object is
162      *     {@link String }
163      *     
164      */
165     public String getLocation() {
166         return location;
167     }
168 
169     /**
170      * Sets the value of the location property.
171      * 
172      * @param value
173      *     allowed object is
174      *     {@link String }
175      *     
176      */
177     public void setLocation(String value) {
178         this.location = value;
179     }
180 
181 }