Package org.hibernate.boot.jaxb.mapping
Class JaxbMappedSuperclass
- java.lang.Object
-
- org.hibernate.boot.jaxb.mapping.JaxbMappedSuperclass
-
- All Implemented Interfaces:
Serializable
,EntityOrMappedSuperclass
,LifecycleCallbackContainer
,ManagedType
public class JaxbMappedSuperclass extends Object implements Serializable, EntityOrMappedSuperclass
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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected AccessType
access
protected String
attributeAccessor
protected JaxbAttributes
attributes
protected String
clazz
protected String
description
protected JaxbEntityListeners
entityListeners
protected JaxbEmptyType
excludeDefaultListeners
protected JaxbEmptyType
excludeSuperclassListeners
protected JaxbIdClass
idClass
protected Boolean
metadataComplete
protected JaxbPostLoad
postLoad
protected JaxbPostPersist
postPersist
protected JaxbPostRemove
postRemove
protected JaxbPostUpdate
postUpdate
protected JaxbPrePersist
prePersist
protected JaxbPreRemove
preRemove
protected JaxbPreUpdate
preUpdate
-
Constructor Summary
Constructors Constructor Description JaxbMappedSuperclass()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessType
getAccess()
Gets the value of the access property.String
getAttributeAccessor()
Gets the value of the attributeAccessor property.JaxbAttributes
getAttributes()
Gets the value of the attributes property.String
getClazz()
Gets the value of the clazz property.String
getDescription()
Gets the value of the description property.JaxbEntityListeners
getEntityListeners()
Gets the value of the entityListeners property.JaxbEmptyType
getExcludeDefaultListeners()
Gets the value of the excludeDefaultListeners property.JaxbEmptyType
getExcludeSuperclassListeners()
Gets the value of the excludeSuperclassListeners property.JaxbIdClass
getIdClass()
Gets the value of the idClass property.JaxbPostLoad
getPostLoad()
Gets the value of the postLoad property.JaxbPostPersist
getPostPersist()
Gets the value of the postPersist property.JaxbPostRemove
getPostRemove()
Gets the value of the postRemove property.JaxbPostUpdate
getPostUpdate()
Gets the value of the postUpdate property.JaxbPrePersist
getPrePersist()
Gets the value of the prePersist property.JaxbPreRemove
getPreRemove()
Gets the value of the preRemove property.JaxbPreUpdate
getPreUpdate()
Gets the value of the preUpdate property.Boolean
isMetadataComplete()
Gets the value of the metadataComplete property.void
setAccess(AccessType value)
Sets the value of the access property.void
setAttributeAccessor(String value)
Sets the value of the attributeAccessor property.void
setAttributes(JaxbAttributes value)
Sets the value of the attributes property.void
setClazz(String value)
Sets the value of the clazz property.void
setDescription(String value)
Sets the value of the description property.void
setEntityListeners(JaxbEntityListeners value)
Sets the value of the entityListeners property.void
setExcludeDefaultListeners(JaxbEmptyType value)
Sets the value of the excludeDefaultListeners property.void
setExcludeSuperclassListeners(JaxbEmptyType value)
Sets the value of the excludeSuperclassListeners property.void
setIdClass(JaxbIdClass value)
Sets the value of the idClass property.void
setMetadataComplete(Boolean value)
Sets the value of the metadataComplete property.void
setPostLoad(JaxbPostLoad value)
Sets the value of the postLoad property.void
setPostPersist(JaxbPostPersist value)
Sets the value of the postPersist property.void
setPostRemove(JaxbPostRemove value)
Sets the value of the postRemove property.void
setPostUpdate(JaxbPostUpdate value)
Sets the value of the postUpdate property.void
setPrePersist(JaxbPrePersist value)
Sets the value of the prePersist property.void
setPreRemove(JaxbPreRemove value)
Sets the value of the preRemove property.void
setPreUpdate(JaxbPreUpdate value)
Sets the value of the preUpdate property.
-
-
-
Field Detail
-
description
protected String description
-
idClass
protected JaxbIdClass idClass
-
excludeDefaultListeners
protected JaxbEmptyType excludeDefaultListeners
-
excludeSuperclassListeners
protected JaxbEmptyType excludeSuperclassListeners
-
entityListeners
protected JaxbEntityListeners entityListeners
-
prePersist
protected JaxbPrePersist prePersist
-
postPersist
protected JaxbPostPersist postPersist
-
preRemove
protected JaxbPreRemove preRemove
-
postRemove
protected JaxbPostRemove postRemove
-
preUpdate
protected JaxbPreUpdate preUpdate
-
postUpdate
protected JaxbPostUpdate postUpdate
-
postLoad
protected JaxbPostLoad postLoad
-
attributes
protected JaxbAttributes attributes
-
clazz
protected String clazz
-
access
protected AccessType access
-
attributeAccessor
protected String attributeAccessor
-
metadataComplete
protected Boolean metadataComplete
-
-
Method Detail
-
getDescription
public String getDescription()
Gets the value of the description property.- Specified by:
getDescription
in interfaceManagedType
- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Specified by:
setDescription
in interfaceManagedType
- Parameters:
value
- allowed object isString
-
getIdClass
public JaxbIdClass getIdClass()
Gets the value of the idClass property.- Specified by:
getIdClass
in interfaceEntityOrMappedSuperclass
- Returns:
- possible object is
JaxbIdClass
-
setIdClass
public void setIdClass(JaxbIdClass value)
Sets the value of the idClass property.- Specified by:
setIdClass
in interfaceEntityOrMappedSuperclass
- Parameters:
value
- allowed object isJaxbIdClass
-
getExcludeDefaultListeners
public JaxbEmptyType getExcludeDefaultListeners()
Gets the value of the excludeDefaultListeners property.- Specified by:
getExcludeDefaultListeners
in interfaceEntityOrMappedSuperclass
- Returns:
- possible object is
JaxbEmptyType
-
setExcludeDefaultListeners
public void setExcludeDefaultListeners(JaxbEmptyType value)
Sets the value of the excludeDefaultListeners property.- Specified by:
setExcludeDefaultListeners
in interfaceEntityOrMappedSuperclass
- Parameters:
value
- allowed object isJaxbEmptyType
-
getExcludeSuperclassListeners
public JaxbEmptyType getExcludeSuperclassListeners()
Gets the value of the excludeSuperclassListeners property.- Specified by:
getExcludeSuperclassListeners
in interfaceEntityOrMappedSuperclass
- Returns:
- possible object is
JaxbEmptyType
-
setExcludeSuperclassListeners
public void setExcludeSuperclassListeners(JaxbEmptyType value)
Sets the value of the excludeSuperclassListeners property.- Specified by:
setExcludeSuperclassListeners
in interfaceEntityOrMappedSuperclass
- Parameters:
value
- allowed object isJaxbEmptyType
-
getEntityListeners
public JaxbEntityListeners getEntityListeners()
Gets the value of the entityListeners property.- Specified by:
getEntityListeners
in interfaceEntityOrMappedSuperclass
- Returns:
- possible object is
JaxbEntityListeners
-
setEntityListeners
public void setEntityListeners(JaxbEntityListeners value)
Sets the value of the entityListeners property.- Specified by:
setEntityListeners
in interfaceEntityOrMappedSuperclass
- Parameters:
value
- allowed object isJaxbEntityListeners
-
getPrePersist
public JaxbPrePersist getPrePersist()
Gets the value of the prePersist property.- Specified by:
getPrePersist
in interfaceEntityOrMappedSuperclass
- Specified by:
getPrePersist
in interfaceLifecycleCallbackContainer
- Returns:
- possible object is
JaxbPrePersist
-
setPrePersist
public void setPrePersist(JaxbPrePersist value)
Sets the value of the prePersist property.- Specified by:
setPrePersist
in interfaceEntityOrMappedSuperclass
- Specified by:
setPrePersist
in interfaceLifecycleCallbackContainer
- Parameters:
value
- allowed object isJaxbPrePersist
-
getPostPersist
public JaxbPostPersist getPostPersist()
Gets the value of the postPersist property.- Specified by:
getPostPersist
in interfaceEntityOrMappedSuperclass
- Specified by:
getPostPersist
in interfaceLifecycleCallbackContainer
- Returns:
- possible object is
JaxbPostPersist
-
setPostPersist
public void setPostPersist(JaxbPostPersist value)
Sets the value of the postPersist property.- Specified by:
setPostPersist
in interfaceEntityOrMappedSuperclass
- Specified by:
setPostPersist
in interfaceLifecycleCallbackContainer
- Parameters:
value
- allowed object isJaxbPostPersist
-
getPreRemove
public JaxbPreRemove getPreRemove()
Gets the value of the preRemove property.- Specified by:
getPreRemove
in interfaceEntityOrMappedSuperclass
- Specified by:
getPreRemove
in interfaceLifecycleCallbackContainer
- Returns:
- possible object is
JaxbPreRemove
-
setPreRemove
public void setPreRemove(JaxbPreRemove value)
Sets the value of the preRemove property.- Specified by:
setPreRemove
in interfaceEntityOrMappedSuperclass
- Specified by:
setPreRemove
in interfaceLifecycleCallbackContainer
- Parameters:
value
- allowed object isJaxbPreRemove
-
getPostRemove
public JaxbPostRemove getPostRemove()
Gets the value of the postRemove property.- Specified by:
getPostRemove
in interfaceEntityOrMappedSuperclass
- Specified by:
getPostRemove
in interfaceLifecycleCallbackContainer
- Returns:
- possible object is
JaxbPostRemove
-
setPostRemove
public void setPostRemove(JaxbPostRemove value)
Sets the value of the postRemove property.- Specified by:
setPostRemove
in interfaceEntityOrMappedSuperclass
- Specified by:
setPostRemove
in interfaceLifecycleCallbackContainer
- Parameters:
value
- allowed object isJaxbPostRemove
-
getPreUpdate
public JaxbPreUpdate getPreUpdate()
Gets the value of the preUpdate property.- Specified by:
getPreUpdate
in interfaceEntityOrMappedSuperclass
- Specified by:
getPreUpdate
in interfaceLifecycleCallbackContainer
- Returns:
- possible object is
JaxbPreUpdate
-
setPreUpdate
public void setPreUpdate(JaxbPreUpdate value)
Sets the value of the preUpdate property.- Specified by:
setPreUpdate
in interfaceEntityOrMappedSuperclass
- Specified by:
setPreUpdate
in interfaceLifecycleCallbackContainer
- Parameters:
value
- allowed object isJaxbPreUpdate
-
getPostUpdate
public JaxbPostUpdate getPostUpdate()
Gets the value of the postUpdate property.- Specified by:
getPostUpdate
in interfaceEntityOrMappedSuperclass
- Specified by:
getPostUpdate
in interfaceLifecycleCallbackContainer
- Returns:
- possible object is
JaxbPostUpdate
-
setPostUpdate
public void setPostUpdate(JaxbPostUpdate value)
Sets the value of the postUpdate property.- Specified by:
setPostUpdate
in interfaceEntityOrMappedSuperclass
- Specified by:
setPostUpdate
in interfaceLifecycleCallbackContainer
- Parameters:
value
- allowed object isJaxbPostUpdate
-
getPostLoad
public JaxbPostLoad getPostLoad()
Gets the value of the postLoad property.- Specified by:
getPostLoad
in interfaceEntityOrMappedSuperclass
- Specified by:
getPostLoad
in interfaceLifecycleCallbackContainer
- Returns:
- possible object is
JaxbPostLoad
-
setPostLoad
public void setPostLoad(JaxbPostLoad value)
Sets the value of the postLoad property.- Specified by:
setPostLoad
in interfaceEntityOrMappedSuperclass
- Specified by:
setPostLoad
in interfaceLifecycleCallbackContainer
- Parameters:
value
- allowed object isJaxbPostLoad
-
getAttributes
public JaxbAttributes getAttributes()
Gets the value of the attributes property.- Specified by:
getAttributes
in interfaceEntityOrMappedSuperclass
- Specified by:
getAttributes
in interfaceManagedType
- Returns:
- possible object is
JaxbAttributes
-
setAttributes
public void setAttributes(JaxbAttributes value)
Sets the value of the attributes property.- Specified by:
setAttributes
in interfaceEntityOrMappedSuperclass
- Parameters:
value
- allowed object isJaxbAttributes
-
getClazz
public String getClazz()
Gets the value of the clazz property.- Specified by:
getClazz
in interfaceManagedType
- Returns:
- possible object is
String
-
setClazz
public void setClazz(String value)
Sets the value of the clazz property.- Specified by:
setClazz
in interfaceManagedType
- Parameters:
value
- allowed object isString
-
getAccess
public AccessType getAccess()
Gets the value of the access property.- Specified by:
getAccess
in interfaceManagedType
- Returns:
- possible object is
String
-
setAccess
public void setAccess(AccessType value)
Sets the value of the access property.- Specified by:
setAccess
in interfaceManagedType
- Parameters:
value
- allowed object isString
-
getAttributeAccessor
public String getAttributeAccessor()
Gets the value of the attributeAccessor property.- Returns:
- possible object is
String
-
setAttributeAccessor
public void setAttributeAccessor(String value)
Sets the value of the attributeAccessor property.- Parameters:
value
- allowed object isString
-
isMetadataComplete
public Boolean isMetadataComplete()
Gets the value of the metadataComplete property.- Specified by:
isMetadataComplete
in interfaceManagedType
- Returns:
- possible object is
Boolean
-
setMetadataComplete
public void setMetadataComplete(Boolean value)
Sets the value of the metadataComplete property.- Specified by:
setMetadataComplete
in interfaceManagedType
- Parameters:
value
- allowed object isBoolean
-
-