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 javax.xml.bind.annotation.XmlAccessType; 012import javax.xml.bind.annotation.XmlAccessorType; 013import javax.xml.bind.annotation.XmlAttribute; 014import javax.xml.bind.annotation.XmlSchemaType; 015import javax.xml.bind.annotation.XmlType; 016 017 018/** 019 * 020 * 021 * @Target({METHOD, FIELD}) @Retention(RUNTIME) 022 * public @interface Basic { 023 * FetchType fetch() default EAGER; 024 * boolean optional() default true; 025 * } 026 * 027 * 028 * 029 * <p>Java class for basic complex type. 030 * 031 * <p>The following schema fragment specifies the expected content contained within this class. 032 * 033 * <pre> 034 * <complexType name="basic"> 035 * <complexContent> 036 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 037 * <sequence> 038 * <element name="column" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}column" minOccurs="0"/> 039 * <choice> 040 * <element name="lob" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}lob" minOccurs="0"/> 041 * <element name="temporal" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}temporal" minOccurs="0"/> 042 * <element name="enumerated" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}enumerated" minOccurs="0"/> 043 * <element name="convert" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}convert" minOccurs="0"/> 044 * </choice> 045 * </sequence> 046 * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 047 * <attribute name="fetch" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}fetch-type" /> 048 * <attribute name="optional" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 049 * <attribute name="access" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}access-type" /> 050 * </restriction> 051 * </complexContent> 052 * </complexType> 053 * </pre> 054 * 055 * 056 */ 057@XmlAccessorType(XmlAccessType.FIELD) 058@XmlType(name = "basic", propOrder = { 059 "column", 060 "lob", 061 "temporal", 062 "enumerated", 063 "convert" 064}) 065public class Basic { 066 067 protected Column column; 068 protected Lob lob; 069 @XmlSchemaType(name = "token") 070 protected TemporalType temporal; 071 @XmlSchemaType(name = "token") 072 protected EnumType enumerated; 073 protected Convert convert; 074 @XmlAttribute(name = "name", required = true) 075 protected String name; 076 @XmlAttribute(name = "fetch") 077 protected FetchType fetch; 078 @XmlAttribute(name = "optional") 079 protected Boolean optional; 080 @XmlAttribute(name = "access") 081 protected AccessType access; 082 083 /** 084 * Gets the value of the column property. 085 * 086 * @return 087 * possible object is 088 * {@link Column } 089 * 090 */ 091 public Column getColumn() { 092 return column; 093 } 094 095 /** 096 * Sets the value of the column property. 097 * 098 * @param value 099 * allowed object is 100 * {@link Column } 101 * 102 */ 103 public void setColumn(Column value) { 104 this.column = value; 105 } 106 107 /** 108 * Gets the value of the lob property. 109 * 110 * @return 111 * possible object is 112 * {@link Lob } 113 * 114 */ 115 public Lob getLob() { 116 return lob; 117 } 118 119 /** 120 * Sets the value of the lob property. 121 * 122 * @param value 123 * allowed object is 124 * {@link Lob } 125 * 126 */ 127 public void setLob(Lob value) { 128 this.lob = value; 129 } 130 131 /** 132 * Gets the value of the temporal property. 133 * 134 * @return 135 * possible object is 136 * {@link TemporalType } 137 * 138 */ 139 public TemporalType getTemporal() { 140 return temporal; 141 } 142 143 /** 144 * Sets the value of the temporal property. 145 * 146 * @param value 147 * allowed object is 148 * {@link TemporalType } 149 * 150 */ 151 public void setTemporal(TemporalType value) { 152 this.temporal = value; 153 } 154 155 /** 156 * Gets the value of the enumerated property. 157 * 158 * @return 159 * possible object is 160 * {@link EnumType } 161 * 162 */ 163 public EnumType getEnumerated() { 164 return enumerated; 165 } 166 167 /** 168 * Sets the value of the enumerated property. 169 * 170 * @param value 171 * allowed object is 172 * {@link EnumType } 173 * 174 */ 175 public void setEnumerated(EnumType value) { 176 this.enumerated = value; 177 } 178 179 /** 180 * Gets the value of the convert property. 181 * 182 * @return 183 * possible object is 184 * {@link Convert } 185 * 186 */ 187 public Convert getConvert() { 188 return convert; 189 } 190 191 /** 192 * Sets the value of the convert property. 193 * 194 * @param value 195 * allowed object is 196 * {@link Convert } 197 * 198 */ 199 public void setConvert(Convert value) { 200 this.convert = value; 201 } 202 203 /** 204 * Gets the value of the name property. 205 * 206 * @return 207 * possible object is 208 * {@link String } 209 * 210 */ 211 public String getName() { 212 return name; 213 } 214 215 /** 216 * Sets the value of the name property. 217 * 218 * @param value 219 * allowed object is 220 * {@link String } 221 * 222 */ 223 public void setName(String value) { 224 this.name = value; 225 } 226 227 /** 228 * Gets the value of the fetch property. 229 * 230 * @return 231 * possible object is 232 * {@link FetchType } 233 * 234 */ 235 public FetchType getFetch() { 236 return fetch; 237 } 238 239 /** 240 * Sets the value of the fetch property. 241 * 242 * @param value 243 * allowed object is 244 * {@link FetchType } 245 * 246 */ 247 public void setFetch(FetchType value) { 248 this.fetch = value; 249 } 250 251 /** 252 * Gets the value of the optional property. 253 * 254 * @return 255 * possible object is 256 * {@link Boolean } 257 * 258 */ 259 public Boolean isOptional() { 260 return optional; 261 } 262 263 /** 264 * Sets the value of the optional property. 265 * 266 * @param value 267 * allowed object is 268 * {@link Boolean } 269 * 270 */ 271 public void setOptional(Boolean value) { 272 this.optional = value; 273 } 274 275 /** 276 * Gets the value of the access property. 277 * 278 * @return 279 * possible object is 280 * {@link AccessType } 281 * 282 */ 283 public AccessType getAccess() { 284 return access; 285 } 286 287 /** 288 * Sets the value of the access property. 289 * 290 * @param value 291 * allowed object is 292 * {@link AccessType } 293 * 294 */ 295 public void setAccess(AccessType value) { 296 this.access = value; 297 } 298 299}