]> gerrit.simantics Code Review - simantics/interop.git/blob - org.simantics.xml.sax/src/org/simantics/xml/sax/configuration/AttributeComposition.java
Initial support for XML export (order of Elements is not kept)
[simantics/interop.git] / org.simantics.xml.sax / src / org / simantics / xml / sax / configuration / AttributeComposition.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.XmlType;\r
18 \r
19 \r
20 /**\r
21  * <p>Java class for anonymous complex type.\r
22  * \r
23  * <p>The following schema fragment specifies the expected content contained within this class.\r
24  * \r
25  * <pre>\r
26  * &lt;complexType>\r
27  *   &lt;complexContent>\r
28  *     &lt;extension base="{http://www.simantics.org/xml/sax/configuration/}ConversionRule">\r
29  *       &lt;sequence maxOccurs="unbounded">\r
30  *         &lt;element ref="{http://www.simantics.org/xml/sax/configuration/}Attribute"/>\r
31  *       &lt;/sequence>\r
32  *       &lt;attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}string" />\r
33  *       &lt;attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />\r
34  *     &lt;/extension>\r
35  *   &lt;/complexContent>\r
36  * &lt;/complexType>\r
37  * </pre>\r
38  * \r
39  * \r
40  */\r
41 @XmlAccessorType(XmlAccessType.FIELD)\r
42 @XmlType(name = "", propOrder = {\r
43     "attribute"\r
44 })\r
45 public class AttributeComposition\r
46     extends ConversionRule\r
47 {\r
48 \r
49     @XmlElement(name = "Attribute", required = true)\r
50     protected List<Attribute> attribute;\r
51     @XmlAttribute(name = "Type")\r
52     protected String type;\r
53     @XmlAttribute(name = "Name")\r
54     protected String name;\r
55 \r
56     /**\r
57      * Gets the value of the attribute property.\r
58      * \r
59      * <p>\r
60      * This accessor method returns a reference to the live list,\r
61      * not a snapshot. Therefore any modification you make to the\r
62      * returned list will be present inside the JAXB object.\r
63      * This is why there is not a <CODE>set</CODE> method for the attribute property.\r
64      * \r
65      * <p>\r
66      * For example, to add a new item, do as follows:\r
67      * <pre>\r
68      *    getAttribute().add(newItem);\r
69      * </pre>\r
70      * \r
71      * \r
72      * <p>\r
73      * Objects of the following type(s) are allowed in the list\r
74      * {@link Attribute }\r
75      * \r
76      * \r
77      */\r
78     public List<Attribute> getAttribute() {\r
79         if (attribute == null) {\r
80             attribute = new ArrayList<Attribute>();\r
81         }\r
82         return this.attribute;\r
83     }\r
84 \r
85     /**\r
86      * Gets the value of the type property.\r
87      * \r
88      * @return\r
89      *     possible object is\r
90      *     {@link String }\r
91      *     \r
92      */\r
93     public String getType() {\r
94         return type;\r
95     }\r
96 \r
97     /**\r
98      * Sets the value of the type property.\r
99      * \r
100      * @param value\r
101      *     allowed object is\r
102      *     {@link String }\r
103      *     \r
104      */\r
105     public void setType(String value) {\r
106         this.type = value;\r
107     }\r
108 \r
109     /**\r
110      * Gets the value of the name property.\r
111      * \r
112      * @return\r
113      *     possible object is\r
114      *     {@link String }\r
115      *     \r
116      */\r
117     public String getName() {\r
118         return name;\r
119     }\r
120 \r
121     /**\r
122      * Sets the value of the name property.\r
123      * \r
124      * @param value\r
125      *     allowed object is\r
126      *     {@link String }\r
127      *     \r
128      */\r
129     public void setName(String value) {\r
130         this.name = value;\r
131     }\r
132 \r
133 }\r