Package org.hibernate.boot.jaxb.mapping
Class JaxbMappedSuperclass
java.lang.Object
org.hibernate.boot.jaxb.mapping.JaxbMappedSuperclass
- All Implemented Interfaces:
Serializable,EntityOrMappedSuperclass,LifecycleCallbackContainer,ManagedType
See `@jakarta.persistence.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://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="attribute-accessor" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="metadata-complete" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</restriction>
</complexContent>
</complexType>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AccessTypeprotected Stringprotected JaxbAttributesprotected Stringprotected Stringprotected JaxbEntityListenersprotected JaxbEmptyTypeprotected JaxbEmptyTypeprotected JaxbIdClassprotected Booleanprotected JaxbPostLoadprotected JaxbPostPersistprotected JaxbPostRemoveprotected JaxbPostUpdateprotected JaxbPrePersistprotected JaxbPreRemoveprotected JaxbPreUpdate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the access property.Gets the value of the attributeAccessor property.Gets the value of the attributes property.getClazz()Gets the value of the clazz property.Gets the value of the description property.Gets the value of the entityListeners property.Gets the value of the excludeDefaultListeners property.Gets the value of the excludeSuperclassListeners property.Gets the value of the idClass property.Gets the value of the postLoad property.Gets the value of the postPersist property.Gets the value of the postRemove property.Gets the value of the postUpdate property.Gets the value of the prePersist property.Gets the value of the preRemove property.Gets the value of the preUpdate property.Gets the value of the metadataComplete property.voidsetAccess(AccessType value) Sets the value of the access property.voidsetAttributeAccessor(String value) Sets the value of the attributeAccessor property.voidsetAttributes(JaxbAttributes value) Sets the value of the attributes property.voidSets the value of the clazz property.voidsetDescription(String value) Sets the value of the description property.voidSets the value of the entityListeners property.voidSets the value of the excludeDefaultListeners property.voidSets the value of the excludeSuperclassListeners property.voidsetIdClass(JaxbIdClass value) Sets the value of the idClass property.voidsetMetadataComplete(Boolean value) Sets the value of the metadataComplete property.voidsetPostLoad(JaxbPostLoad value) Sets the value of the postLoad property.voidsetPostPersist(JaxbPostPersist value) Sets the value of the postPersist property.voidsetPostRemove(JaxbPostRemove value) Sets the value of the postRemove property.voidsetPostUpdate(JaxbPostUpdate value) Sets the value of the postUpdate property.voidsetPrePersist(JaxbPrePersist value) Sets the value of the prePersist property.voidsetPreRemove(JaxbPreRemove value) Sets the value of the preRemove property.voidsetPreUpdate(JaxbPreUpdate value) Sets the value of the preUpdate property.
-
Field Details
-
description
-
idClass
-
excludeDefaultListeners
-
excludeSuperclassListeners
-
entityListeners
-
prePersist
-
postPersist
-
preRemove
-
postRemove
-
preUpdate
-
postUpdate
-
postLoad
-
attributes
-
clazz
-
access
-
attributeAccessor
-
metadataComplete
-
-
Constructor Details
-
JaxbMappedSuperclass
public JaxbMappedSuperclass()
-
-
Method Details
-
getDescription
Gets the value of the description property.- Specified by:
getDescriptionin interfaceManagedType- Returns:
- possible object is
String
-
setDescription
Sets the value of the description property.- Specified by:
setDescriptionin interfaceManagedType- Parameters:
value- allowed object isString
-
getIdClass
Gets the value of the idClass property.- Specified by:
getIdClassin interfaceEntityOrMappedSuperclass- Returns:
- possible object is
JaxbIdClass
-
setIdClass
Sets the value of the idClass property.- Specified by:
setIdClassin interfaceEntityOrMappedSuperclass- Parameters:
value- allowed object isJaxbIdClass
-
getExcludeDefaultListeners
Gets the value of the excludeDefaultListeners property.- Specified by:
getExcludeDefaultListenersin interfaceEntityOrMappedSuperclass- Returns:
- possible object is
JaxbEmptyType
-
setExcludeDefaultListeners
Sets the value of the excludeDefaultListeners property.- Specified by:
setExcludeDefaultListenersin interfaceEntityOrMappedSuperclass- Parameters:
value- allowed object isJaxbEmptyType
-
getExcludeSuperclassListeners
Gets the value of the excludeSuperclassListeners property.- Specified by:
getExcludeSuperclassListenersin interfaceEntityOrMappedSuperclass- Returns:
- possible object is
JaxbEmptyType
-
setExcludeSuperclassListeners
Sets the value of the excludeSuperclassListeners property.- Specified by:
setExcludeSuperclassListenersin interfaceEntityOrMappedSuperclass- Parameters:
value- allowed object isJaxbEmptyType
-
getEntityListeners
Gets the value of the entityListeners property.- Specified by:
getEntityListenersin interfaceEntityOrMappedSuperclass- Returns:
- possible object is
JaxbEntityListeners
-
setEntityListeners
Sets the value of the entityListeners property.- Specified by:
setEntityListenersin interfaceEntityOrMappedSuperclass- Parameters:
value- allowed object isJaxbEntityListeners
-
getPrePersist
Gets the value of the prePersist property.- Specified by:
getPrePersistin interfaceEntityOrMappedSuperclass- Specified by:
getPrePersistin interfaceLifecycleCallbackContainer- Returns:
- possible object is
JaxbPrePersist
-
setPrePersist
Sets the value of the prePersist property.- Specified by:
setPrePersistin interfaceEntityOrMappedSuperclass- Specified by:
setPrePersistin interfaceLifecycleCallbackContainer- Parameters:
value- allowed object isJaxbPrePersist
-
getPostPersist
Gets the value of the postPersist property.- Specified by:
getPostPersistin interfaceEntityOrMappedSuperclass- Specified by:
getPostPersistin interfaceLifecycleCallbackContainer- Returns:
- possible object is
JaxbPostPersist
-
setPostPersist
Sets the value of the postPersist property.- Specified by:
setPostPersistin interfaceEntityOrMappedSuperclass- Specified by:
setPostPersistin interfaceLifecycleCallbackContainer- Parameters:
value- allowed object isJaxbPostPersist
-
getPreRemove
Gets the value of the preRemove property.- Specified by:
getPreRemovein interfaceEntityOrMappedSuperclass- Specified by:
getPreRemovein interfaceLifecycleCallbackContainer- Returns:
- possible object is
JaxbPreRemove
-
setPreRemove
Sets the value of the preRemove property.- Specified by:
setPreRemovein interfaceEntityOrMappedSuperclass- Specified by:
setPreRemovein interfaceLifecycleCallbackContainer- Parameters:
value- allowed object isJaxbPreRemove
-
getPostRemove
Gets the value of the postRemove property.- Specified by:
getPostRemovein interfaceEntityOrMappedSuperclass- Specified by:
getPostRemovein interfaceLifecycleCallbackContainer- Returns:
- possible object is
JaxbPostRemove
-
setPostRemove
Sets the value of the postRemove property.- Specified by:
setPostRemovein interfaceEntityOrMappedSuperclass- Specified by:
setPostRemovein interfaceLifecycleCallbackContainer- Parameters:
value- allowed object isJaxbPostRemove
-
getPreUpdate
Gets the value of the preUpdate property.- Specified by:
getPreUpdatein interfaceEntityOrMappedSuperclass- Specified by:
getPreUpdatein interfaceLifecycleCallbackContainer- Returns:
- possible object is
JaxbPreUpdate
-
setPreUpdate
Sets the value of the preUpdate property.- Specified by:
setPreUpdatein interfaceEntityOrMappedSuperclass- Specified by:
setPreUpdatein interfaceLifecycleCallbackContainer- Parameters:
value- allowed object isJaxbPreUpdate
-
getPostUpdate
Gets the value of the postUpdate property.- Specified by:
getPostUpdatein interfaceEntityOrMappedSuperclass- Specified by:
getPostUpdatein interfaceLifecycleCallbackContainer- Returns:
- possible object is
JaxbPostUpdate
-
setPostUpdate
Sets the value of the postUpdate property.- Specified by:
setPostUpdatein interfaceEntityOrMappedSuperclass- Specified by:
setPostUpdatein interfaceLifecycleCallbackContainer- Parameters:
value- allowed object isJaxbPostUpdate
-
getPostLoad
Gets the value of the postLoad property.- Specified by:
getPostLoadin interfaceEntityOrMappedSuperclass- Specified by:
getPostLoadin interfaceLifecycleCallbackContainer- Returns:
- possible object is
JaxbPostLoad
-
setPostLoad
Sets the value of the postLoad property.- Specified by:
setPostLoadin interfaceEntityOrMappedSuperclass- Specified by:
setPostLoadin interfaceLifecycleCallbackContainer- Parameters:
value- allowed object isJaxbPostLoad
-
getAttributes
Gets the value of the attributes property.- Specified by:
getAttributesin interfaceEntityOrMappedSuperclass- Specified by:
getAttributesin interfaceManagedType- Returns:
- possible object is
JaxbAttributes
-
setAttributes
Sets the value of the attributes property.- Specified by:
setAttributesin interfaceEntityOrMappedSuperclass- Parameters:
value- allowed object isJaxbAttributes
-
getClazz
Gets the value of the clazz property.- Specified by:
getClazzin interfaceManagedType- Returns:
- possible object is
String
-
setClazz
Sets the value of the clazz property.- Specified by:
setClazzin interfaceManagedType- Parameters:
value- allowed object isString
-
getAccess
Gets the value of the access property.- Specified by:
getAccessin interfaceManagedType- Returns:
- possible object is
String
-
setAccess
Sets the value of the access property.- Specified by:
setAccessin interfaceManagedType- Parameters:
value- allowed object isString
-
getAttributeAccessor
Gets the value of the attributeAccessor property.- Returns:
- possible object is
String
-
setAttributeAccessor
Sets the value of the attributeAccessor property.- Parameters:
value- allowed object isString
-
isMetadataComplete
Gets the value of the metadataComplete property.- Specified by:
isMetadataCompletein interfaceManagedType- Returns:
- possible object is
Boolean
-
setMetadataComplete
Sets the value of the metadataComplete property.- Specified by:
setMetadataCompletein interfaceManagedType- Parameters:
value- allowed object isBoolean
-