]> gerrit.simantics Code Review - simantics/interop.git/blob - org.simantics.xml.sax/src/org/w3/_2001/xmlschema/Annotated.java
XML Schema converter
[simantics/interop.git] / org.simantics.xml.sax / src / org / w3 / _2001 / xmlschema / Annotated.java
1 //\r
2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 \r
3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> \r
4 // Any modifications to this file will be lost upon recompilation of the source schema. \r
5 // Generated on: 2015.06.17 at 02:58:58 PM EEST \r
6 //\r
7 \r
8 \r
9 package org.w3._2001.xmlschema;\r
10 \r
11 import javax.xml.bind.annotation.XmlAccessType;\r
12 import javax.xml.bind.annotation.XmlAccessorType;\r
13 import javax.xml.bind.annotation.XmlAttribute;\r
14 import javax.xml.bind.annotation.XmlID;\r
15 import javax.xml.bind.annotation.XmlSchemaType;\r
16 import javax.xml.bind.annotation.XmlSeeAlso;\r
17 import javax.xml.bind.annotation.XmlType;\r
18 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;\r
19 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;\r
20 \r
21 \r
22 /**\r
23  * \r
24  *        This type is extended by all types which allow annotation\r
25  *        other than <schema> itself\r
26  *      \r
27  * \r
28  * <p>Java class for annotated complex type.\r
29  * \r
30  * <p>The following schema fragment specifies the expected content contained within this class.\r
31  * \r
32  * <pre>\r
33  * &lt;complexType name="annotated">\r
34  *   &lt;complexContent>\r
35  *     &lt;extension base="{http://www.w3.org/2001/XMLSchema}openAttrs">\r
36  *       &lt;sequence>\r
37  *         &lt;element ref="{http://www.w3.org/2001/XMLSchema}annotation" minOccurs="0"/>\r
38  *       &lt;/sequence>\r
39  *       &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />\r
40  *       &lt;anyAttribute processContents='lax' namespace='##other'/>\r
41  *     &lt;/extension>\r
42  *   &lt;/complexContent>\r
43  * &lt;/complexType>\r
44  * </pre>\r
45  * \r
46  * \r
47  */\r
48 @XmlAccessorType(XmlAccessType.FIELD)\r
49 @XmlType(name = "annotated", propOrder = {\r
50     "annotation"\r
51 })\r
52 @XmlSeeAlso({\r
53     ExtensionType.class,\r
54     Element.class,\r
55     AttributeGroup.class,\r
56     ComplexType.class,\r
57     Attribute.class,\r
58     RestrictionType.class,\r
59     SimpleType.class,\r
60     Group.class,\r
61     SimpleContent.class,\r
62     List.class,\r
63     Restriction.class,\r
64     Facet.class,\r
65     Wildcard.class,\r
66     Union.class,\r
67     Notation.class,\r
68     Import.class,\r
69     Include.class,\r
70     Field.class,\r
71     Keybase.class,\r
72     ComplexContent.class,\r
73     Selector.class\r
74 })\r
75 public class Annotated\r
76     extends OpenAttrs\r
77 {\r
78 \r
79     protected Annotation annotation;\r
80     @XmlAttribute(name = "id")\r
81     @XmlJavaTypeAdapter(CollapsedStringAdapter.class)\r
82     @XmlID\r
83     @XmlSchemaType(name = "ID")\r
84     protected String id;\r
85 \r
86     /**\r
87      * Gets the value of the annotation property.\r
88      * \r
89      * @return\r
90      *     possible object is\r
91      *     {@link Annotation }\r
92      *     \r
93      */\r
94     public Annotation getAnnotation() {\r
95         return annotation;\r
96     }\r
97 \r
98     /**\r
99      * Sets the value of the annotation property.\r
100      * \r
101      * @param value\r
102      *     allowed object is\r
103      *     {@link Annotation }\r
104      *     \r
105      */\r
106     public void setAnnotation(Annotation value) {\r
107         this.annotation = value;\r
108     }\r
109 \r
110     /**\r
111      * Gets the value of the id property.\r
112      * \r
113      * @return\r
114      *     possible object is\r
115      *     {@link String }\r
116      *     \r
117      */\r
118     public String getId() {\r
119         return id;\r
120     }\r
121 \r
122     /**\r
123      * Sets the value of the id property.\r
124      * \r
125      * @param value\r
126      *     allowed object is\r
127      *     {@link String }\r
128      *     \r
129      */\r
130     public void setId(String value) {\r
131         this.id = value;\r
132     }\r
133 \r
134 }\r