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.XmlSchemaType;
15  import javax.xml.bind.annotation.XmlType;
16  
17  
18  /**
19   * <p>Java class for LocalizedStringType complex type.
20   * 
21   * <p>The following schema fragment specifies the expected content contained within this class.
22   * 
23   * <pre>
24   * &lt;complexType name="LocalizedStringType">
25   *   &lt;complexContent>
26   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
27   *       &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}lang default="en-US""/>
28   *       &lt;attribute name="charset" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" default="UTF-8" />
29   *       &lt;attribute name="value" use="required" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}FreeFormText" />
30   *     &lt;/restriction>
31   *   &lt;/complexContent>
32   * &lt;/complexType>
33   * </pre>
34   * 
35   * 
36   */
37  @XmlAccessorType(XmlAccessType.FIELD)
38  @XmlType(name = "LocalizedStringType")
39  public class LocalizedStringType {
40  
41      @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace")
42      protected String lang;
43      @XmlAttribute
44      @XmlSchemaType(name = "anySimpleType")
45      protected String charset;
46      @XmlAttribute(required = true)
47      protected String value;
48  
49      /**
50       * Gets the value of the lang property.
51       * 
52       * @return
53       *     possible object is
54       *     {@link String }
55       *     
56       */
57      public String getLang() {
58          if (lang == null) {
59              return "en-US";
60          } else {
61              return lang;
62          }
63      }
64  
65      /**
66       * Sets the value of the lang property.
67       * 
68       * @param value
69       *     allowed object is
70       *     {@link String }
71       *     
72       */
73      public void setLang(String value) {
74          this.lang = value;
75      }
76  
77      /**
78       * Gets the value of the charset property.
79       * 
80       * @return
81       *     possible object is
82       *     {@link String }
83       *     
84       */
85      public String getCharset() {
86          if (charset == null) {
87              return "UTF-8";
88          } else {
89              return charset;
90          }
91      }
92  
93      /**
94       * Sets the value of the charset property.
95       * 
96       * @param value
97       *     allowed object is
98       *     {@link String }
99       *     
100      */
101     public void setCharset(String value) {
102         this.charset = value;
103     }
104 
105     /**
106      * Gets the value of the value property.
107      * 
108      * @return
109      *     possible object is
110      *     {@link String }
111      *     
112      */
113     public String getValue() {
114         return value;
115     }
116 
117     /**
118      * Sets the value of the value property.
119      * 
120      * @param value
121      *     allowed object is
122      *     {@link String }
123      *     
124      */
125     public void setValue(String value) {
126         this.value = value;
127     }
128 
129 }