]> gerrit.simantics Code Review - simantics/interop.git/blob - org.simantics.xml.sax/src/org/simantics/xml/sax/configuration/Rename.java
Dependency analysis for XML-schemas consisting of multiple files
[simantics/interop.git] / org.simantics.xml.sax / src / org / simantics / xml / sax / configuration / Rename.java
1 //\r
2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 \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: 2017.01.24 at 12:54:40 PM EET \r
6 //\r
7 \r
8 \r
9 package org.simantics.xml.sax.configuration;\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.XmlElements;\r
18 import javax.xml.bind.annotation.XmlType;\r
19 \r
20 \r
21 /**\r
22  * <p>Java class for anonymous complex type.\r
23  * \r
24  * <p>The following schema fragment specifies the expected content contained within this class.\r
25  * \r
26  * <pre>\r
27  * &lt;complexType>\r
28  *   &lt;complexContent>\r
29  *     &lt;extension base="{http://www.simantics.org/xml/sax/configuration/}ConversionRule">\r
30  *       &lt;sequence maxOccurs="unbounded">\r
31  *         &lt;choice>\r
32  *           &lt;element ref="{http://www.simantics.org/xml/sax/configuration/}Element"/>\r
33  *           &lt;element ref="{http://www.simantics.org/xml/sax/configuration/}ComplexType"/>\r
34  *           &lt;element ref="{http://www.simantics.org/xml/sax/configuration/}Attribute"/>\r
35  *         &lt;/choice>\r
36  *       &lt;/sequence>\r
37  *       &lt;attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />\r
38  *     &lt;/extension>\r
39  *   &lt;/complexContent>\r
40  * &lt;/complexType>\r
41  * </pre>\r
42  * \r
43  * \r
44  */\r
45 @XmlAccessorType(XmlAccessType.FIELD)\r
46 @XmlType(name = "", propOrder = {\r
47     "elementOrComplexTypeOrAttribute"\r
48 })\r
49 public class Rename\r
50     extends ConversionRule\r
51 {\r
52 \r
53     @XmlElements({\r
54         @XmlElement(name = "Element", type = Element.class),\r
55         @XmlElement(name = "ComplexType", type = ComplexType.class),\r
56         @XmlElement(name = "Attribute", type = Attribute.class)\r
57     })\r
58     protected List<Object> elementOrComplexTypeOrAttribute;\r
59     @XmlAttribute(name = "Name")\r
60     protected String name;\r
61 \r
62     /**\r
63      * Gets the value of the elementOrComplexTypeOrAttribute property.\r
64      * \r
65      * <p>\r
66      * This accessor method returns a reference to the live list,\r
67      * not a snapshot. Therefore any modification you make to the\r
68      * returned list will be present inside the JAXB object.\r
69      * This is why there is not a <CODE>set</CODE> method for the elementOrComplexTypeOrAttribute property.\r
70      * \r
71      * <p>\r
72      * For example, to add a new item, do as follows:\r
73      * <pre>\r
74      *    getElementOrComplexTypeOrAttribute().add(newItem);\r
75      * </pre>\r
76      * \r
77      * \r
78      * <p>\r
79      * Objects of the following type(s) are allowed in the list\r
80      * {@link Element }\r
81      * {@link ComplexType }\r
82      * {@link Attribute }\r
83      * \r
84      * \r
85      */\r
86     public List<Object> getElementOrComplexTypeOrAttribute() {\r
87         if (elementOrComplexTypeOrAttribute == null) {\r
88             elementOrComplexTypeOrAttribute = new ArrayList<Object>();\r
89         }\r
90         return this.elementOrComplexTypeOrAttribute;\r
91     }\r
92 \r
93     /**\r
94      * Gets the value of the name property.\r
95      * \r
96      * @return\r
97      *     possible object is\r
98      *     {@link String }\r
99      *     \r
100      */\r
101     public String getName() {\r
102         return name;\r
103     }\r
104 \r
105     /**\r
106      * Sets the value of the name property.\r
107      * \r
108      * @param value\r
109      *     allowed object is\r
110      *     {@link String }\r
111      *     \r
112      */\r
113     public void setName(String value) {\r
114         this.name = value;\r
115     }\r
116 \r
117 }\r