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.XmlElement; 015import javax.xml.bind.annotation.XmlType; 016 017 018/** 019 * 020 * 021 * Defines the settings and mappings for a mapped superclass. Is 022 * allowed to be sparsely populated and used in conjunction with 023 * the annotations. Alternatively, the metadata-complete attribute 024 * can be used to indicate that no annotations are to be processed 025 * If this is the case then the defaulting rules will be recursively 026 * applied. 027 * 028 * @Target(TYPE) @Retention(RUNTIME) 029 * public @interface MappedSuperclass{} 030 * 031 * 032 * 033 * <p>Java class for mapped-superclass complex type. 034 * 035 * <p>The following schema fragment specifies the expected content contained within this class. 036 * 037 * <pre> 038 * <complexType name="mapped-superclass"> 039 * <complexContent> 040 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 041 * <sequence> 042 * <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 043 * <element name="id-class" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}id-class" minOccurs="0"/> 044 * <element name="exclude-default-listeners" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}emptyType" minOccurs="0"/> 045 * <element name="exclude-superclass-listeners" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}emptyType" minOccurs="0"/> 046 * <element name="entity-listeners" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}entity-listeners" minOccurs="0"/> 047 * <element name="pre-persist" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}pre-persist" minOccurs="0"/> 048 * <element name="post-persist" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}post-persist" minOccurs="0"/> 049 * <element name="pre-remove" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}pre-remove" minOccurs="0"/> 050 * <element name="post-remove" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}post-remove" minOccurs="0"/> 051 * <element name="pre-update" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}pre-update" minOccurs="0"/> 052 * <element name="post-update" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}post-update" minOccurs="0"/> 053 * <element name="post-load" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}post-load" minOccurs="0"/> 054 * <element name="attributes" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}attributes" minOccurs="0"/> 055 * </sequence> 056 * <attribute name="class" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 057 * <attribute name="access" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}access-type" /> 058 * <attribute name="metadata-complete" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 059 * </restriction> 060 * </complexContent> 061 * </complexType> 062 * </pre> 063 * 064 * 065 */ 066@XmlAccessorType(XmlAccessType.FIELD) 067@XmlType(name = "mapped-superclass", propOrder = { 068 "description", 069 "idClass", 070 "excludeDefaultListeners", 071 "excludeSuperclassListeners", 072 "entityListeners", 073 "prePersist", 074 "postPersist", 075 "preRemove", 076 "postRemove", 077 "preUpdate", 078 "postUpdate", 079 "postLoad", 080 "attributes" 081}) 082public class MappedSuperclass { 083 084 protected String description; 085 @XmlElement(name = "id-class") 086 protected IdClass idClass; 087 @XmlElement(name = "exclude-default-listeners") 088 protected EmptyType excludeDefaultListeners; 089 @XmlElement(name = "exclude-superclass-listeners") 090 protected EmptyType excludeSuperclassListeners; 091 @XmlElement(name = "entity-listeners") 092 protected EntityListeners entityListeners; 093 @XmlElement(name = "pre-persist") 094 protected PrePersist prePersist; 095 @XmlElement(name = "post-persist") 096 protected PostPersist postPersist; 097 @XmlElement(name = "pre-remove") 098 protected PreRemove preRemove; 099 @XmlElement(name = "post-remove") 100 protected PostRemove postRemove; 101 @XmlElement(name = "pre-update") 102 protected PreUpdate preUpdate; 103 @XmlElement(name = "post-update") 104 protected PostUpdate postUpdate; 105 @XmlElement(name = "post-load") 106 protected PostLoad postLoad; 107 protected Attributes attributes; 108 @XmlAttribute(name = "class", required = true) 109 protected String clazz; 110 @XmlAttribute(name = "access") 111 protected AccessType access; 112 @XmlAttribute(name = "metadata-complete") 113 protected Boolean metadataComplete; 114 115 /** 116 * Gets the value of the description property. 117 * 118 * @return 119 * possible object is 120 * {@link String } 121 * 122 */ 123 public String getDescription() { 124 return description; 125 } 126 127 /** 128 * Sets the value of the description property. 129 * 130 * @param value 131 * allowed object is 132 * {@link String } 133 * 134 */ 135 public void setDescription(String value) { 136 this.description = value; 137 } 138 139 /** 140 * Gets the value of the idClass property. 141 * 142 * @return 143 * possible object is 144 * {@link IdClass } 145 * 146 */ 147 public IdClass getIdClass() { 148 return idClass; 149 } 150 151 /** 152 * Sets the value of the idClass property. 153 * 154 * @param value 155 * allowed object is 156 * {@link IdClass } 157 * 158 */ 159 public void setIdClass(IdClass value) { 160 this.idClass = value; 161 } 162 163 /** 164 * Gets the value of the excludeDefaultListeners property. 165 * 166 * @return 167 * possible object is 168 * {@link EmptyType } 169 * 170 */ 171 public EmptyType getExcludeDefaultListeners() { 172 return excludeDefaultListeners; 173 } 174 175 /** 176 * Sets the value of the excludeDefaultListeners property. 177 * 178 * @param value 179 * allowed object is 180 * {@link EmptyType } 181 * 182 */ 183 public void setExcludeDefaultListeners(EmptyType value) { 184 this.excludeDefaultListeners = value; 185 } 186 187 /** 188 * Gets the value of the excludeSuperclassListeners property. 189 * 190 * @return 191 * possible object is 192 * {@link EmptyType } 193 * 194 */ 195 public EmptyType getExcludeSuperclassListeners() { 196 return excludeSuperclassListeners; 197 } 198 199 /** 200 * Sets the value of the excludeSuperclassListeners property. 201 * 202 * @param value 203 * allowed object is 204 * {@link EmptyType } 205 * 206 */ 207 public void setExcludeSuperclassListeners(EmptyType value) { 208 this.excludeSuperclassListeners = value; 209 } 210 211 /** 212 * Gets the value of the entityListeners property. 213 * 214 * @return 215 * possible object is 216 * {@link EntityListeners } 217 * 218 */ 219 public EntityListeners getEntityListeners() { 220 return entityListeners; 221 } 222 223 /** 224 * Sets the value of the entityListeners property. 225 * 226 * @param value 227 * allowed object is 228 * {@link EntityListeners } 229 * 230 */ 231 public void setEntityListeners(EntityListeners value) { 232 this.entityListeners = value; 233 } 234 235 /** 236 * Gets the value of the prePersist property. 237 * 238 * @return 239 * possible object is 240 * {@link PrePersist } 241 * 242 */ 243 public PrePersist getPrePersist() { 244 return prePersist; 245 } 246 247 /** 248 * Sets the value of the prePersist property. 249 * 250 * @param value 251 * allowed object is 252 * {@link PrePersist } 253 * 254 */ 255 public void setPrePersist(PrePersist value) { 256 this.prePersist = value; 257 } 258 259 /** 260 * Gets the value of the postPersist property. 261 * 262 * @return 263 * possible object is 264 * {@link PostPersist } 265 * 266 */ 267 public PostPersist getPostPersist() { 268 return postPersist; 269 } 270 271 /** 272 * Sets the value of the postPersist property. 273 * 274 * @param value 275 * allowed object is 276 * {@link PostPersist } 277 * 278 */ 279 public void setPostPersist(PostPersist value) { 280 this.postPersist = value; 281 } 282 283 /** 284 * Gets the value of the preRemove property. 285 * 286 * @return 287 * possible object is 288 * {@link PreRemove } 289 * 290 */ 291 public PreRemove getPreRemove() { 292 return preRemove; 293 } 294 295 /** 296 * Sets the value of the preRemove property. 297 * 298 * @param value 299 * allowed object is 300 * {@link PreRemove } 301 * 302 */ 303 public void setPreRemove(PreRemove value) { 304 this.preRemove = value; 305 } 306 307 /** 308 * Gets the value of the postRemove property. 309 * 310 * @return 311 * possible object is 312 * {@link PostRemove } 313 * 314 */ 315 public PostRemove getPostRemove() { 316 return postRemove; 317 } 318 319 /** 320 * Sets the value of the postRemove property. 321 * 322 * @param value 323 * allowed object is 324 * {@link PostRemove } 325 * 326 */ 327 public void setPostRemove(PostRemove value) { 328 this.postRemove = value; 329 } 330 331 /** 332 * Gets the value of the preUpdate property. 333 * 334 * @return 335 * possible object is 336 * {@link PreUpdate } 337 * 338 */ 339 public PreUpdate getPreUpdate() { 340 return preUpdate; 341 } 342 343 /** 344 * Sets the value of the preUpdate property. 345 * 346 * @param value 347 * allowed object is 348 * {@link PreUpdate } 349 * 350 */ 351 public void setPreUpdate(PreUpdate value) { 352 this.preUpdate = value; 353 } 354 355 /** 356 * Gets the value of the postUpdate property. 357 * 358 * @return 359 * possible object is 360 * {@link PostUpdate } 361 * 362 */ 363 public PostUpdate getPostUpdate() { 364 return postUpdate; 365 } 366 367 /** 368 * Sets the value of the postUpdate property. 369 * 370 * @param value 371 * allowed object is 372 * {@link PostUpdate } 373 * 374 */ 375 public void setPostUpdate(PostUpdate value) { 376 this.postUpdate = value; 377 } 378 379 /** 380 * Gets the value of the postLoad property. 381 * 382 * @return 383 * possible object is 384 * {@link PostLoad } 385 * 386 */ 387 public PostLoad getPostLoad() { 388 return postLoad; 389 } 390 391 /** 392 * Sets the value of the postLoad property. 393 * 394 * @param value 395 * allowed object is 396 * {@link PostLoad } 397 * 398 */ 399 public void setPostLoad(PostLoad value) { 400 this.postLoad = value; 401 } 402 403 /** 404 * Gets the value of the attributes property. 405 * 406 * @return 407 * possible object is 408 * {@link Attributes } 409 * 410 */ 411 public Attributes getAttributes() { 412 return attributes; 413 } 414 415 /** 416 * Sets the value of the attributes property. 417 * 418 * @param value 419 * allowed object is 420 * {@link Attributes } 421 * 422 */ 423 public void setAttributes(Attributes value) { 424 this.attributes = value; 425 } 426 427 /** 428 * Gets the value of the clazz property. 429 * 430 * @return 431 * possible object is 432 * {@link String } 433 * 434 */ 435 public String getClazz() { 436 return clazz; 437 } 438 439 /** 440 * Sets the value of the clazz property. 441 * 442 * @param value 443 * allowed object is 444 * {@link String } 445 * 446 */ 447 public void setClazz(String value) { 448 this.clazz = value; 449 } 450 451 /** 452 * Gets the value of the access property. 453 * 454 * @return 455 * possible object is 456 * {@link AccessType } 457 * 458 */ 459 public AccessType getAccess() { 460 return access; 461 } 462 463 /** 464 * Sets the value of the access property. 465 * 466 * @param value 467 * allowed object is 468 * {@link AccessType } 469 * 470 */ 471 public void setAccess(AccessType value) { 472 this.access = value; 473 } 474 475 /** 476 * Gets the value of the metadataComplete property. 477 * 478 * @return 479 * possible object is 480 * {@link Boolean } 481 * 482 */ 483 public Boolean isMetadataComplete() { 484 return metadataComplete; 485 } 486 487 /** 488 * Sets the value of the metadataComplete property. 489 * 490 * @param value 491 * allowed object is 492 * {@link Boolean } 493 * 494 */ 495 public void setMetadataComplete(Boolean value) { 496 this.metadataComplete = value; 497 } 498 499}