001// 002// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 003// See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a> 004// Any modifications to this file will be lost upon recompilation of the source schema. 005// Generated on: 2018.12.10 at 03:02:30 PM PST 006// 007 008 009package org.microbean.jpa.jaxb; 010 011import java.util.ArrayList; 012import java.util.List; 013import javax.xml.bind.annotation.XmlAccessType; 014import javax.xml.bind.annotation.XmlAccessorType; 015import javax.xml.bind.annotation.XmlElement; 016import javax.xml.bind.annotation.XmlType; 017 018 019/** 020 * <p>Java class for embeddable-attributes complex type. 021 * 022 * <p>The following schema fragment specifies the expected content contained within this class. 023 * 024 * <pre> 025 * <complexType name="embeddable-attributes"> 026 * <complexContent> 027 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 028 * <sequence> 029 * <element name="basic" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}basic" maxOccurs="unbounded" minOccurs="0"/> 030 * <element name="many-to-one" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}many-to-one" maxOccurs="unbounded" minOccurs="0"/> 031 * <element name="one-to-many" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}one-to-many" maxOccurs="unbounded" minOccurs="0"/> 032 * <element name="one-to-one" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}one-to-one" maxOccurs="unbounded" minOccurs="0"/> 033 * <element name="many-to-many" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}many-to-many" maxOccurs="unbounded" minOccurs="0"/> 034 * <element name="element-collection" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}element-collection" maxOccurs="unbounded" minOccurs="0"/> 035 * <element name="embedded" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}embedded" maxOccurs="unbounded" minOccurs="0"/> 036 * <element name="transient" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}transient" maxOccurs="unbounded" minOccurs="0"/> 037 * </sequence> 038 * </restriction> 039 * </complexContent> 040 * </complexType> 041 * </pre> 042 * 043 * 044 */ 045@XmlAccessorType(XmlAccessType.FIELD) 046@XmlType(name = "embeddable-attributes", propOrder = { 047 "basic", 048 "manyToOne", 049 "oneToMany", 050 "oneToOne", 051 "manyToMany", 052 "elementCollection", 053 "embedded", 054 "_transient" 055}) 056public class EmbeddableAttributes { 057 058 protected List<Basic> basic; 059 @XmlElement(name = "many-to-one") 060 protected List<ManyToOne> manyToOne; 061 @XmlElement(name = "one-to-many") 062 protected List<OneToMany> oneToMany; 063 @XmlElement(name = "one-to-one") 064 protected List<OneToOne> oneToOne; 065 @XmlElement(name = "many-to-many") 066 protected List<ManyToMany> manyToMany; 067 @XmlElement(name = "element-collection") 068 protected List<ElementCollection> elementCollection; 069 protected List<Embedded> embedded; 070 @XmlElement(name = "transient") 071 protected List<Transient> _transient; 072 073 /** 074 * Gets the value of the basic property. 075 * 076 * <p> 077 * This accessor method returns a reference to the live list, 078 * not a snapshot. Therefore any modification you make to the 079 * returned list will be present inside the JAXB object. 080 * This is why there is not a <CODE>set</CODE> method for the basic property. 081 * 082 * <p> 083 * For example, to add a new item, do as follows: 084 * <pre> 085 * getBasic().add(newItem); 086 * </pre> 087 * 088 * 089 * <p> 090 * Objects of the following type(s) are allowed in the list 091 * {@link Basic } 092 * 093 * 094 */ 095 public List<Basic> getBasic() { 096 if (basic == null) { 097 basic = new ArrayList<Basic>(); 098 } 099 return this.basic; 100 } 101 102 /** 103 * Gets the value of the manyToOne property. 104 * 105 * <p> 106 * This accessor method returns a reference to the live list, 107 * not a snapshot. Therefore any modification you make to the 108 * returned list will be present inside the JAXB object. 109 * This is why there is not a <CODE>set</CODE> method for the manyToOne property. 110 * 111 * <p> 112 * For example, to add a new item, do as follows: 113 * <pre> 114 * getManyToOne().add(newItem); 115 * </pre> 116 * 117 * 118 * <p> 119 * Objects of the following type(s) are allowed in the list 120 * {@link ManyToOne } 121 * 122 * 123 */ 124 public List<ManyToOne> getManyToOne() { 125 if (manyToOne == null) { 126 manyToOne = new ArrayList<ManyToOne>(); 127 } 128 return this.manyToOne; 129 } 130 131 /** 132 * Gets the value of the oneToMany property. 133 * 134 * <p> 135 * This accessor method returns a reference to the live list, 136 * not a snapshot. Therefore any modification you make to the 137 * returned list will be present inside the JAXB object. 138 * This is why there is not a <CODE>set</CODE> method for the oneToMany property. 139 * 140 * <p> 141 * For example, to add a new item, do as follows: 142 * <pre> 143 * getOneToMany().add(newItem); 144 * </pre> 145 * 146 * 147 * <p> 148 * Objects of the following type(s) are allowed in the list 149 * {@link OneToMany } 150 * 151 * 152 */ 153 public List<OneToMany> getOneToMany() { 154 if (oneToMany == null) { 155 oneToMany = new ArrayList<OneToMany>(); 156 } 157 return this.oneToMany; 158 } 159 160 /** 161 * Gets the value of the oneToOne property. 162 * 163 * <p> 164 * This accessor method returns a reference to the live list, 165 * not a snapshot. Therefore any modification you make to the 166 * returned list will be present inside the JAXB object. 167 * This is why there is not a <CODE>set</CODE> method for the oneToOne property. 168 * 169 * <p> 170 * For example, to add a new item, do as follows: 171 * <pre> 172 * getOneToOne().add(newItem); 173 * </pre> 174 * 175 * 176 * <p> 177 * Objects of the following type(s) are allowed in the list 178 * {@link OneToOne } 179 * 180 * 181 */ 182 public List<OneToOne> getOneToOne() { 183 if (oneToOne == null) { 184 oneToOne = new ArrayList<OneToOne>(); 185 } 186 return this.oneToOne; 187 } 188 189 /** 190 * Gets the value of the manyToMany property. 191 * 192 * <p> 193 * This accessor method returns a reference to the live list, 194 * not a snapshot. Therefore any modification you make to the 195 * returned list will be present inside the JAXB object. 196 * This is why there is not a <CODE>set</CODE> method for the manyToMany property. 197 * 198 * <p> 199 * For example, to add a new item, do as follows: 200 * <pre> 201 * getManyToMany().add(newItem); 202 * </pre> 203 * 204 * 205 * <p> 206 * Objects of the following type(s) are allowed in the list 207 * {@link ManyToMany } 208 * 209 * 210 */ 211 public List<ManyToMany> getManyToMany() { 212 if (manyToMany == null) { 213 manyToMany = new ArrayList<ManyToMany>(); 214 } 215 return this.manyToMany; 216 } 217 218 /** 219 * Gets the value of the elementCollection property. 220 * 221 * <p> 222 * This accessor method returns a reference to the live list, 223 * not a snapshot. Therefore any modification you make to the 224 * returned list will be present inside the JAXB object. 225 * This is why there is not a <CODE>set</CODE> method for the elementCollection property. 226 * 227 * <p> 228 * For example, to add a new item, do as follows: 229 * <pre> 230 * getElementCollection().add(newItem); 231 * </pre> 232 * 233 * 234 * <p> 235 * Objects of the following type(s) are allowed in the list 236 * {@link ElementCollection } 237 * 238 * 239 */ 240 public List<ElementCollection> getElementCollection() { 241 if (elementCollection == null) { 242 elementCollection = new ArrayList<ElementCollection>(); 243 } 244 return this.elementCollection; 245 } 246 247 /** 248 * Gets the value of the embedded property. 249 * 250 * <p> 251 * This accessor method returns a reference to the live list, 252 * not a snapshot. Therefore any modification you make to the 253 * returned list will be present inside the JAXB object. 254 * This is why there is not a <CODE>set</CODE> method for the embedded property. 255 * 256 * <p> 257 * For example, to add a new item, do as follows: 258 * <pre> 259 * getEmbedded().add(newItem); 260 * </pre> 261 * 262 * 263 * <p> 264 * Objects of the following type(s) are allowed in the list 265 * {@link Embedded } 266 * 267 * 268 */ 269 public List<Embedded> getEmbedded() { 270 if (embedded == null) { 271 embedded = new ArrayList<Embedded>(); 272 } 273 return this.embedded; 274 } 275 276 /** 277 * Gets the value of the transient property. 278 * 279 * <p> 280 * This accessor method returns a reference to the live list, 281 * not a snapshot. Therefore any modification you make to the 282 * returned list will be present inside the JAXB object. 283 * This is why there is not a <CODE>set</CODE> method for the transient property. 284 * 285 * <p> 286 * For example, to add a new item, do as follows: 287 * <pre> 288 * getTransient().add(newItem); 289 * </pre> 290 * 291 * 292 * <p> 293 * Objects of the following type(s) are allowed in the list 294 * {@link Transient } 295 * 296 * 297 */ 298 public List<Transient> getTransient() { 299 if (_transient == null) { 300 _transient = new ArrayList<Transient>(); 301 } 302 return this._transient; 303 } 304 305}