Classes in this File | Line Coverage | Branch Coverage | Complexity | |||||||
CategoryType |
|
| 0.0;0 |
1 | // |
|
2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-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: 2008.06.11 at 12:15:37 AM EDT |
|
6 | // |
|
7 | ||
8 | ||
9 | package yarfraw.generated.atom10.elements; |
|
10 | ||
11 | import java.util.HashMap; |
|
12 | import java.util.Map; |
|
13 | import javax.xml.bind.annotation.XmlAccessType; |
|
14 | import javax.xml.bind.annotation.XmlAccessorType; |
|
15 | import javax.xml.bind.annotation.XmlAnyAttribute; |
|
16 | import javax.xml.bind.annotation.XmlAttribute; |
|
17 | import javax.xml.bind.annotation.XmlSchemaType; |
|
18 | import javax.xml.bind.annotation.XmlType; |
|
19 | import javax.xml.namespace.QName; |
|
20 | ||
21 | ||
22 | /** |
|
23 | * |
|
24 | * The Atom cagegory construct is defined in section 4.2.2 of the format spec. |
|
25 | * |
|
26 | * |
|
27 | * <p>Java class for categoryType complex type. |
|
28 | * |
|
29 | * <p>The following schema fragment specifies the expected content contained within this class. |
|
30 | * |
|
31 | * <pre> |
|
32 | * <complexType name="categoryType"> |
|
33 | * <complexContent> |
|
34 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|
35 | * <attGroup ref="{http://www.w3.org/2005/Atom}commonAttributes"/> |
|
36 | * <attribute name="term" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> |
|
37 | * <attribute name="scheme" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> |
|
38 | * <attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" /> |
|
39 | * </restriction> |
|
40 | * </complexContent> |
|
41 | * </complexType> |
|
42 | * </pre> |
|
43 | * |
|
44 | * |
|
45 | */ |
|
46 | @XmlAccessorType(XmlAccessType.FIELD) |
|
47 | @XmlType(name = "categoryType") |
|
48 | 90 | public class CategoryType { |
49 | ||
50 | @XmlAttribute(required = true) |
|
51 | protected String term; |
|
52 | @XmlAttribute |
|
53 | @XmlSchemaType(name = "anyURI") |
|
54 | protected String scheme; |
|
55 | @XmlAttribute |
|
56 | protected String label; |
|
57 | @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") |
|
58 | @XmlSchemaType(name = "anyURI") |
|
59 | protected String base; |
|
60 | @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") |
|
61 | protected String lang; |
|
62 | 90 | @XmlAnyAttribute |
63 | private Map<QName, String> otherAttributes = new HashMap<QName, String>(); |
|
64 | ||
65 | /** |
|
66 | * Gets the value of the term property. |
|
67 | * |
|
68 | * @return |
|
69 | * possible object is |
|
70 | * {@link String } |
|
71 | * |
|
72 | */ |
|
73 | public String getTerm() { |
|
74 | 78 | return term; |
75 | } |
|
76 | ||
77 | /** |
|
78 | * Sets the value of the term property. |
|
79 | * |
|
80 | * @param value |
|
81 | * allowed object is |
|
82 | * {@link String } |
|
83 | * |
|
84 | */ |
|
85 | public void setTerm(String value) { |
|
86 | 12 | this.term = value; |
87 | 12 | } |
88 | ||
89 | /** |
|
90 | * Gets the value of the scheme property. |
|
91 | * |
|
92 | * @return |
|
93 | * possible object is |
|
94 | * {@link String } |
|
95 | * |
|
96 | */ |
|
97 | public String getScheme() { |
|
98 | 78 | return scheme; |
99 | } |
|
100 | ||
101 | /** |
|
102 | * Sets the value of the scheme property. |
|
103 | * |
|
104 | * @param value |
|
105 | * allowed object is |
|
106 | * {@link String } |
|
107 | * |
|
108 | */ |
|
109 | public void setScheme(String value) { |
|
110 | 12 | this.scheme = value; |
111 | 12 | } |
112 | ||
113 | /** |
|
114 | * Gets the value of the label property. |
|
115 | * |
|
116 | * @return |
|
117 | * possible object is |
|
118 | * {@link String } |
|
119 | * |
|
120 | */ |
|
121 | public String getLabel() { |
|
122 | 78 | return label; |
123 | } |
|
124 | ||
125 | /** |
|
126 | * Sets the value of the label property. |
|
127 | * |
|
128 | * @param value |
|
129 | * allowed object is |
|
130 | * {@link String } |
|
131 | * |
|
132 | */ |
|
133 | public void setLabel(String value) { |
|
134 | 12 | this.label = value; |
135 | 12 | } |
136 | ||
137 | /** |
|
138 | * Gets the value of the base property. |
|
139 | * |
|
140 | * @return |
|
141 | * possible object is |
|
142 | * {@link String } |
|
143 | * |
|
144 | */ |
|
145 | public String getBase() { |
|
146 | 78 | return base; |
147 | } |
|
148 | ||
149 | /** |
|
150 | * Sets the value of the base property. |
|
151 | * |
|
152 | * @param value |
|
153 | * allowed object is |
|
154 | * {@link String } |
|
155 | * |
|
156 | */ |
|
157 | public void setBase(String value) { |
|
158 | 0 | this.base = value; |
159 | 0 | } |
160 | ||
161 | /** |
|
162 | * Gets the value of the lang property. |
|
163 | * |
|
164 | * @return |
|
165 | * possible object is |
|
166 | * {@link String } |
|
167 | * |
|
168 | */ |
|
169 | public String getLang() { |
|
170 | 78 | return lang; |
171 | } |
|
172 | ||
173 | /** |
|
174 | * Sets the value of the lang property. |
|
175 | * |
|
176 | * @param value |
|
177 | * allowed object is |
|
178 | * {@link String } |
|
179 | * |
|
180 | */ |
|
181 | public void setLang(String value) { |
|
182 | 0 | this.lang = value; |
183 | 0 | } |
184 | ||
185 | /** |
|
186 | * Gets a map that contains attributes that aren't bound to any typed property on this class. |
|
187 | * |
|
188 | * <p> |
|
189 | * the map is keyed by the name of the attribute and |
|
190 | * the value is the string value of the attribute. |
|
191 | * |
|
192 | * the map returned by this method is live, and you can add new attribute |
|
193 | * by updating the map directly. Because of this design, there's no setter. |
|
194 | * |
|
195 | * |
|
196 | * @return |
|
197 | * always non-null |
|
198 | */ |
|
199 | public Map<QName, String> getOtherAttributes() { |
|
200 | 90 | return otherAttributes; |
201 | } |
|
202 | ||
203 | } |