]> gerrit.simantics Code Review - simantics/interop.git/blob - org.simantics.xml.sax/src/org/w3/_2001/xmlschema/Keybase.java
XML Schema converter
[simantics/interop.git] / org.simantics.xml.sax / src / org / w3 / _2001 / xmlschema / Keybase.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 java.util.ArrayList;\r
12 import java.util.List;\r
13 import javax.xml.bind.annotation.XmlAccessType;\r
14 import javax.xml.bind.annotation.XmlAccessorType;\r
15 import javax.xml.bind.annotation.XmlAttribute;\r
16 import javax.xml.bind.annotation.XmlElement;\r
17 import javax.xml.bind.annotation.XmlSchemaType;\r
18 import javax.xml.bind.annotation.XmlSeeAlso;\r
19 import javax.xml.bind.annotation.XmlType;\r
20 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;\r
21 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;\r
22 \r
23 \r
24 /**\r
25  * <p>Java class for keybase complex type.\r
26  * \r
27  * <p>The following schema fragment specifies the expected content contained within this class.\r
28  * \r
29  * <pre>\r
30  * &lt;complexType name="keybase">\r
31  *   &lt;complexContent>\r
32  *     &lt;extension base="{http://www.w3.org/2001/XMLSchema}annotated">\r
33  *       &lt;sequence>\r
34  *         &lt;element ref="{http://www.w3.org/2001/XMLSchema}selector"/>\r
35  *         &lt;element ref="{http://www.w3.org/2001/XMLSchema}field" maxOccurs="unbounded"/>\r
36  *       &lt;/sequence>\r
37  *       &lt;attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />\r
38  *       &lt;anyAttribute processContents='lax' namespace='##other'/>\r
39  *     &lt;/extension>\r
40  *   &lt;/complexContent>\r
41  * &lt;/complexType>\r
42  * </pre>\r
43  * \r
44  * \r
45  */\r
46 @XmlAccessorType(XmlAccessType.FIELD)\r
47 @XmlType(name = "keybase", propOrder = {\r
48     "selector",\r
49     "field"\r
50 })\r
51 @XmlSeeAlso({\r
52     Keyref.class\r
53 })\r
54 public class Keybase\r
55     extends Annotated\r
56 {\r
57 \r
58     @XmlElement(required = true)\r
59     protected Selector selector;\r
60     @XmlElement(required = true)\r
61     protected List<Field> field;\r
62     @XmlAttribute(name = "name", required = true)\r
63     @XmlJavaTypeAdapter(CollapsedStringAdapter.class)\r
64     @XmlSchemaType(name = "NCName")\r
65     protected String name;\r
66 \r
67     /**\r
68      * Gets the value of the selector property.\r
69      * \r
70      * @return\r
71      *     possible object is\r
72      *     {@link Selector }\r
73      *     \r
74      */\r
75     public Selector getSelector() {\r
76         return selector;\r
77     }\r
78 \r
79     /**\r
80      * Sets the value of the selector property.\r
81      * \r
82      * @param value\r
83      *     allowed object is\r
84      *     {@link Selector }\r
85      *     \r
86      */\r
87     public void setSelector(Selector value) {\r
88         this.selector = value;\r
89     }\r
90 \r
91     /**\r
92      * Gets the value of the field property.\r
93      * \r
94      * <p>\r
95      * This accessor method returns a reference to the live list,\r
96      * not a snapshot. Therefore any modification you make to the\r
97      * returned list will be present inside the JAXB object.\r
98      * This is why there is not a <CODE>set</CODE> method for the field property.\r
99      * \r
100      * <p>\r
101      * For example, to add a new item, do as follows:\r
102      * <pre>\r
103      *    getField().add(newItem);\r
104      * </pre>\r
105      * \r
106      * \r
107      * <p>\r
108      * Objects of the following type(s) are allowed in the list\r
109      * {@link Field }\r
110      * \r
111      * \r
112      */\r
113     public List<Field> getField() {\r
114         if (field == null) {\r
115             field = new ArrayList<Field>();\r
116         }\r
117         return this.field;\r
118     }\r
119 \r
120     /**\r
121      * Gets the value of the name property.\r
122      * \r
123      * @return\r
124      *     possible object is\r
125      *     {@link String }\r
126      *     \r
127      */\r
128     public String getName() {\r
129         return name;\r
130     }\r
131 \r
132     /**\r
133      * Sets the value of the name property.\r
134      * \r
135      * @param value\r
136      *     allowed object is\r
137      *     {@link String }\r
138      *     \r
139      */\r
140     public void setName(String value) {\r
141         this.name = value;\r
142     }\r
143 \r
144 }\r