Class JaxbMappedSuperclassImpl

java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbMappedSuperclassImpl
All Implemented Interfaces:
Serializable, JaxbEntityOrMappedSuperclass, JaxbLifecycleCallbackContainer, JaxbManagedType, JaxbMappedSuperclass

public class JaxbMappedSuperclassImpl extends Object implements Serializable, JaxbMappedSuperclass
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 {} <p>Java class for mapped-superclass complex type</p>. <p>The following schema fragment specifies the expected content contained within this class.</p> <pre>{@code <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://www.hibernate.org/xsd/orm/mapping}id-class" minOccurs="0"/> <element name="exclude-default-listeners" type="{http://www.hibernate.org/xsd/orm/mapping}emptyType" minOccurs="0"/> <element name="exclude-superclass-listeners" type="{http://www.hibernate.org/xsd/orm/mapping}emptyType" minOccurs="0"/> <element name="entity-listeners" type="{http://www.hibernate.org/xsd/orm/mapping}entity-listeners" minOccurs="0"/> <element name="pre-persist" type="{http://www.hibernate.org/xsd/orm/mapping}pre-persist" minOccurs="0"/> <element name="post-persist" type="{http://www.hibernate.org/xsd/orm/mapping}post-persist" minOccurs="0"/> <element name="pre-remove" type="{http://www.hibernate.org/xsd/orm/mapping}pre-remove" minOccurs="0"/> <element name="post-remove" type="{http://www.hibernate.org/xsd/orm/mapping}post-remove" minOccurs="0"/> <element name="pre-update" type="{http://www.hibernate.org/xsd/orm/mapping}pre-update" minOccurs="0"/> <element name="post-update" type="{http://www.hibernate.org/xsd/orm/mapping}post-update" minOccurs="0"/> <element name="post-load" type="{http://www.hibernate.org/xsd/orm/mapping}post-load" minOccurs="0"/> <element name="attributes" type="{http://www.hibernate.org/xsd/orm/mapping}attributes" minOccurs="0"/> </sequence> <attribute name="class" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="access" type="{http://www.hibernate.org/xsd/orm/mapping}access-type" /> <attribute name="metadata-complete" type="{http://www.w3.org/2001/XMLSchema}boolean" /> </restriction> </complexContent> </complexType> }</pre>
See Also: