org.hibernate.jpamodelgen.xml.jaxb.MappedSuperclass Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-jpamodelgen-jakarta Show documentation
Show all versions of hibernate-jpamodelgen-jakarta Show documentation
Annotation Processor to generate JPA 3 static metamodel classes
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.1
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2022.09.27 at 12:27:10 PM UTC
//
package org.hibernate.jpamodelgen.xml.jaxb;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
/**
*
*
* Defines the settings and mappings for a mapped superclass. Is
* allowed to be sparsely populated and used in conjunction with
* the annotations. Alternatively, the metadata-complete attribute
* can be used to indicate that no annotations are to be processed
* If this is the case then the defaulting rules will be recursively
* applied.
*
* @Target(TYPE) @Retention(RUNTIME)
* public @interface MappedSuperclass{}
*
*
*
* Java class for mapped-superclass complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="mapped-superclass">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="id-class" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}id-class" minOccurs="0"/>
* <element name="exclude-default-listeners" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}emptyType" minOccurs="0"/>
* <element name="exclude-superclass-listeners" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}emptyType" minOccurs="0"/>
* <element name="entity-listeners" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}entity-listeners" minOccurs="0"/>
* <element name="pre-persist" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}pre-persist" minOccurs="0"/>
* <element name="post-persist" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}post-persist" minOccurs="0"/>
* <element name="pre-remove" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}pre-remove" minOccurs="0"/>
* <element name="post-remove" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}post-remove" minOccurs="0"/>
* <element name="pre-update" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}pre-update" minOccurs="0"/>
* <element name="post-update" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}post-update" minOccurs="0"/>
* <element name="post-load" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}post-load" minOccurs="0"/>
* <element name="attributes" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}attributes" minOccurs="0"/>
* </sequence>
* <attribute name="class" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="access" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}access-type" />
* <attribute name="metadata-complete" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "mapped-superclass", propOrder = {
"description",
"idClass",
"excludeDefaultListeners",
"excludeSuperclassListeners",
"entityListeners",
"prePersist",
"postPersist",
"preRemove",
"postRemove",
"preUpdate",
"postUpdate",
"postLoad",
"attributes"
})
public class MappedSuperclass {
protected String description;
@XmlElement(name = "id-class")
protected IdClass idClass;
@XmlElement(name = "exclude-default-listeners")
protected EmptyType excludeDefaultListeners;
@XmlElement(name = "exclude-superclass-listeners")
protected EmptyType excludeSuperclassListeners;
@XmlElement(name = "entity-listeners")
protected EntityListeners entityListeners;
@XmlElement(name = "pre-persist")
protected PrePersist prePersist;
@XmlElement(name = "post-persist")
protected PostPersist postPersist;
@XmlElement(name = "pre-remove")
protected PreRemove preRemove;
@XmlElement(name = "post-remove")
protected PostRemove postRemove;
@XmlElement(name = "pre-update")
protected PreUpdate preUpdate;
@XmlElement(name = "post-update")
protected PostUpdate postUpdate;
@XmlElement(name = "post-load")
protected PostLoad postLoad;
protected Attributes attributes;
@XmlAttribute(name = "class", required = true)
protected String clazz;
@XmlAttribute(name = "access")
protected AccessType access;
@XmlAttribute(name = "metadata-complete")
protected Boolean metadataComplete;
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the idClass property.
*
* @return
* possible object is
* {@link IdClass }
*
*/
public IdClass getIdClass() {
return idClass;
}
/**
* Sets the value of the idClass property.
*
* @param value
* allowed object is
* {@link IdClass }
*
*/
public void setIdClass(IdClass value) {
this.idClass = value;
}
/**
* Gets the value of the excludeDefaultListeners property.
*
* @return
* possible object is
* {@link EmptyType }
*
*/
public EmptyType getExcludeDefaultListeners() {
return excludeDefaultListeners;
}
/**
* Sets the value of the excludeDefaultListeners property.
*
* @param value
* allowed object is
* {@link EmptyType }
*
*/
public void setExcludeDefaultListeners(EmptyType value) {
this.excludeDefaultListeners = value;
}
/**
* Gets the value of the excludeSuperclassListeners property.
*
* @return
* possible object is
* {@link EmptyType }
*
*/
public EmptyType getExcludeSuperclassListeners() {
return excludeSuperclassListeners;
}
/**
* Sets the value of the excludeSuperclassListeners property.
*
* @param value
* allowed object is
* {@link EmptyType }
*
*/
public void setExcludeSuperclassListeners(EmptyType value) {
this.excludeSuperclassListeners = value;
}
/**
* Gets the value of the entityListeners property.
*
* @return
* possible object is
* {@link EntityListeners }
*
*/
public EntityListeners getEntityListeners() {
return entityListeners;
}
/**
* Sets the value of the entityListeners property.
*
* @param value
* allowed object is
* {@link EntityListeners }
*
*/
public void setEntityListeners(EntityListeners value) {
this.entityListeners = value;
}
/**
* Gets the value of the prePersist property.
*
* @return
* possible object is
* {@link PrePersist }
*
*/
public PrePersist getPrePersist() {
return prePersist;
}
/**
* Sets the value of the prePersist property.
*
* @param value
* allowed object is
* {@link PrePersist }
*
*/
public void setPrePersist(PrePersist value) {
this.prePersist = value;
}
/**
* Gets the value of the postPersist property.
*
* @return
* possible object is
* {@link PostPersist }
*
*/
public PostPersist getPostPersist() {
return postPersist;
}
/**
* Sets the value of the postPersist property.
*
* @param value
* allowed object is
* {@link PostPersist }
*
*/
public void setPostPersist(PostPersist value) {
this.postPersist = value;
}
/**
* Gets the value of the preRemove property.
*
* @return
* possible object is
* {@link PreRemove }
*
*/
public PreRemove getPreRemove() {
return preRemove;
}
/**
* Sets the value of the preRemove property.
*
* @param value
* allowed object is
* {@link PreRemove }
*
*/
public void setPreRemove(PreRemove value) {
this.preRemove = value;
}
/**
* Gets the value of the postRemove property.
*
* @return
* possible object is
* {@link PostRemove }
*
*/
public PostRemove getPostRemove() {
return postRemove;
}
/**
* Sets the value of the postRemove property.
*
* @param value
* allowed object is
* {@link PostRemove }
*
*/
public void setPostRemove(PostRemove value) {
this.postRemove = value;
}
/**
* Gets the value of the preUpdate property.
*
* @return
* possible object is
* {@link PreUpdate }
*
*/
public PreUpdate getPreUpdate() {
return preUpdate;
}
/**
* Sets the value of the preUpdate property.
*
* @param value
* allowed object is
* {@link PreUpdate }
*
*/
public void setPreUpdate(PreUpdate value) {
this.preUpdate = value;
}
/**
* Gets the value of the postUpdate property.
*
* @return
* possible object is
* {@link PostUpdate }
*
*/
public PostUpdate getPostUpdate() {
return postUpdate;
}
/**
* Sets the value of the postUpdate property.
*
* @param value
* allowed object is
* {@link PostUpdate }
*
*/
public void setPostUpdate(PostUpdate value) {
this.postUpdate = value;
}
/**
* Gets the value of the postLoad property.
*
* @return
* possible object is
* {@link PostLoad }
*
*/
public PostLoad getPostLoad() {
return postLoad;
}
/**
* Sets the value of the postLoad property.
*
* @param value
* allowed object is
* {@link PostLoad }
*
*/
public void setPostLoad(PostLoad value) {
this.postLoad = value;
}
/**
* Gets the value of the attributes property.
*
* @return
* possible object is
* {@link Attributes }
*
*/
public Attributes getAttributes() {
return attributes;
}
/**
* Sets the value of the attributes property.
*
* @param value
* allowed object is
* {@link Attributes }
*
*/
public void setAttributes(Attributes value) {
this.attributes = value;
}
/**
* Gets the value of the clazz property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getClazz() {
return clazz;
}
/**
* Sets the value of the clazz property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setClazz(String value) {
this.clazz = value;
}
/**
* Gets the value of the access property.
*
* @return
* possible object is
* {@link AccessType }
*
*/
public AccessType getAccess() {
return access;
}
/**
* Sets the value of the access property.
*
* @param value
* allowed object is
* {@link AccessType }
*
*/
public void setAccess(AccessType value) {
this.access = value;
}
/**
* Gets the value of the metadataComplete property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isMetadataComplete() {
return metadataComplete;
}
/**
* Sets the value of the metadataComplete property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setMetadataComplete(Boolean value) {
this.metadataComplete = value;
}
}