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.rim;
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.XmlType;
15  import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
16  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
17  import javax.xml.datatype.Duration;
18  
19  
20  /**
21   * Mapping of the same named interface in ebRIM.
22   * 
23   * <p>Java class for RegistryType complex type.
24   * 
25   * <p>The following schema fragment specifies the expected content contained within this class.
26   * 
27   * <pre>
28   * &lt;complexType name="RegistryType">
29   *   &lt;complexContent>
30   *     &lt;extension base="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}RegistryObjectType">
31   *       &lt;attribute name="operator" use="required" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}referenceURI" />
32   *       &lt;attribute name="specificationVersion" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
33   *       &lt;attribute name="replicationSyncLatency" type="{http://www.w3.org/2001/XMLSchema}duration" default="P1D" />
34   *       &lt;attribute name="catalogingLatency" type="{http://www.w3.org/2001/XMLSchema}duration" default="P1D" />
35   *       &lt;attribute name="conformanceProfile" default="registryLite">
36   *         &lt;simpleType>
37   *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
38   *             &lt;enumeration value="registryFull"/>
39   *             &lt;enumeration value="registryLite"/>
40   *           &lt;/restriction>
41   *         &lt;/simpleType>
42   *       &lt;/attribute>
43   *     &lt;/extension>
44   *   &lt;/complexContent>
45   * &lt;/complexType>
46   * </pre>
47   * 
48   * 
49   */
50  @XmlAccessorType(XmlAccessType.FIELD)
51  @XmlType(name = "RegistryType")
52  public class RegistryType
53      extends RegistryObjectType
54  {
55  
56      @XmlAttribute(required = true)
57      protected String operator;
58      @XmlAttribute(required = true)
59      protected String specificationVersion;
60      @XmlAttribute
61      protected Duration replicationSyncLatency;
62      @XmlAttribute
63      protected Duration catalogingLatency;
64      @XmlAttribute
65      @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
66      protected String conformanceProfile;
67  
68      /**
69       * Gets the value of the operator property.
70       * 
71       * @return
72       *     possible object is
73       *     {@link String }
74       *     
75       */
76      public String getOperator() {
77          return operator;
78      }
79  
80      /**
81       * Sets the value of the operator property.
82       * 
83       * @param value
84       *     allowed object is
85       *     {@link String }
86       *     
87       */
88      public void setOperator(String value) {
89          this.operator = value;
90      }
91  
92      /**
93       * Gets the value of the specificationVersion property.
94       * 
95       * @return
96       *     possible object is
97       *     {@link String }
98       *     
99       */
100     public String getSpecificationVersion() {
101         return specificationVersion;
102     }
103 
104     /**
105      * Sets the value of the specificationVersion property.
106      * 
107      * @param value
108      *     allowed object is
109      *     {@link String }
110      *     
111      */
112     public void setSpecificationVersion(String value) {
113         this.specificationVersion = value;
114     }
115 
116     /**
117      * Gets the value of the replicationSyncLatency property.
118      * 
119      * @return
120      *     possible object is
121      *     {@link Duration }
122      *     
123      */
124     public Duration getReplicationSyncLatency() {
125         return replicationSyncLatency;
126     }
127 
128     /**
129      * Sets the value of the replicationSyncLatency property.
130      * 
131      * @param value
132      *     allowed object is
133      *     {@link Duration }
134      *     
135      */
136     public void setReplicationSyncLatency(Duration value) {
137         this.replicationSyncLatency = value;
138     }
139 
140     /**
141      * Gets the value of the catalogingLatency property.
142      * 
143      * @return
144      *     possible object is
145      *     {@link Duration }
146      *     
147      */
148     public Duration getCatalogingLatency() {
149         return catalogingLatency;
150     }
151 
152     /**
153      * Sets the value of the catalogingLatency property.
154      * 
155      * @param value
156      *     allowed object is
157      *     {@link Duration }
158      *     
159      */
160     public void setCatalogingLatency(Duration value) {
161         this.catalogingLatency = value;
162     }
163 
164     /**
165      * Gets the value of the conformanceProfile property.
166      * 
167      * @return
168      *     possible object is
169      *     {@link String }
170      *     
171      */
172     public String getConformanceProfile() {
173         if (conformanceProfile == null) {
174             return "registryLite";
175         } else {
176             return conformanceProfile;
177         }
178     }
179 
180     /**
181      * Sets the value of the conformanceProfile property.
182      * 
183      * @param value
184      *     allowed object is
185      *     {@link String }
186      *     
187      */
188     public void setConformanceProfile(String value) {
189         this.conformanceProfile = value;
190     }
191 
192 }