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.XmlAttribute; 016import javax.xml.bind.annotation.XmlElement; 017import javax.xml.bind.annotation.XmlType; 018 019 020/** 021 * 022 * 023 * @Target({METHOD, FIELD}) @Retention(RUNTIME) 024 * public @interface Embedded {} 025 * 026 * 027 * 028 * <p>Java class for embedded complex type. 029 * 030 * <p>The following schema fragment specifies the expected content contained within this class. 031 * 032 * <pre> 033 * <complexType name="embedded"> 034 * <complexContent> 035 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 036 * <sequence> 037 * <element name="attribute-override" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}attribute-override" maxOccurs="unbounded" minOccurs="0"/> 038 * <element name="association-override" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}association-override" maxOccurs="unbounded" minOccurs="0"/> 039 * <element name="convert" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}convert" maxOccurs="unbounded" minOccurs="0"/> 040 * </sequence> 041 * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 042 * <attribute name="access" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}access-type" /> 043 * </restriction> 044 * </complexContent> 045 * </complexType> 046 * </pre> 047 * 048 * 049 */ 050@XmlAccessorType(XmlAccessType.FIELD) 051@XmlType(name = "embedded", propOrder = { 052 "attributeOverride", 053 "associationOverride", 054 "convert" 055}) 056public class Embedded { 057 058 @XmlElement(name = "attribute-override") 059 protected List<AttributeOverride> attributeOverride; 060 @XmlElement(name = "association-override") 061 protected List<AssociationOverride> associationOverride; 062 protected List<Convert> convert; 063 @XmlAttribute(name = "name", required = true) 064 protected String name; 065 @XmlAttribute(name = "access") 066 protected AccessType access; 067 068 /** 069 * Gets the value of the attributeOverride property. 070 * 071 * <p> 072 * This accessor method returns a reference to the live list, 073 * not a snapshot. Therefore any modification you make to the 074 * returned list will be present inside the JAXB object. 075 * This is why there is not a <CODE>set</CODE> method for the attributeOverride property. 076 * 077 * <p> 078 * For example, to add a new item, do as follows: 079 * <pre> 080 * getAttributeOverride().add(newItem); 081 * </pre> 082 * 083 * 084 * <p> 085 * Objects of the following type(s) are allowed in the list 086 * {@link AttributeOverride } 087 * 088 * 089 */ 090 public List<AttributeOverride> getAttributeOverride() { 091 if (attributeOverride == null) { 092 attributeOverride = new ArrayList<AttributeOverride>(); 093 } 094 return this.attributeOverride; 095 } 096 097 /** 098 * Gets the value of the associationOverride property. 099 * 100 * <p> 101 * This accessor method returns a reference to the live list, 102 * not a snapshot. Therefore any modification you make to the 103 * returned list will be present inside the JAXB object. 104 * This is why there is not a <CODE>set</CODE> method for the associationOverride property. 105 * 106 * <p> 107 * For example, to add a new item, do as follows: 108 * <pre> 109 * getAssociationOverride().add(newItem); 110 * </pre> 111 * 112 * 113 * <p> 114 * Objects of the following type(s) are allowed in the list 115 * {@link AssociationOverride } 116 * 117 * 118 */ 119 public List<AssociationOverride> getAssociationOverride() { 120 if (associationOverride == null) { 121 associationOverride = new ArrayList<AssociationOverride>(); 122 } 123 return this.associationOverride; 124 } 125 126 /** 127 * Gets the value of the convert property. 128 * 129 * <p> 130 * This accessor method returns a reference to the live list, 131 * not a snapshot. Therefore any modification you make to the 132 * returned list will be present inside the JAXB object. 133 * This is why there is not a <CODE>set</CODE> method for the convert property. 134 * 135 * <p> 136 * For example, to add a new item, do as follows: 137 * <pre> 138 * getConvert().add(newItem); 139 * </pre> 140 * 141 * 142 * <p> 143 * Objects of the following type(s) are allowed in the list 144 * {@link Convert } 145 * 146 * 147 */ 148 public List<Convert> getConvert() { 149 if (convert == null) { 150 convert = new ArrayList<Convert>(); 151 } 152 return this.convert; 153 } 154 155 /** 156 * Gets the value of the name property. 157 * 158 * @return 159 * possible object is 160 * {@link String } 161 * 162 */ 163 public String getName() { 164 return name; 165 } 166 167 /** 168 * Sets the value of the name property. 169 * 170 * @param value 171 * allowed object is 172 * {@link String } 173 * 174 */ 175 public void setName(String value) { 176 this.name = value; 177 } 178 179 /** 180 * Gets the value of the access property. 181 * 182 * @return 183 * possible object is 184 * {@link AccessType } 185 * 186 */ 187 public AccessType getAccess() { 188 return access; 189 } 190 191 /** 192 * Sets the value of the access property. 193 * 194 * @param value 195 * allowed object is 196 * {@link AccessType } 197 * 198 */ 199 public void setAccess(AccessType value) { 200 this.access = value; 201 } 202 203}