Class JaxbMappedSuperclass
- java.lang.Object
-
- org.hibernate.boot.jaxb.mapping.spi.JaxbMappedSuperclass
-
- All Implemented Interfaces:
java.io.Serializable,EntityOrMappedSuperclass,LifecycleCallbackContainer,ManagedType
public class JaxbMappedSuperclass extends java.lang.Object implements java.io.Serializable, EntityOrMappedSuperclass, LifecycleCallbackContainer, ManagedType
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.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected AccessTypeaccessprotected JaxbAttributesattributesprotected java.lang.Stringclazzprotected java.lang.Stringdescriptionprotected JaxbEntityListenersentityListenersprotected JaxbEmptyTypeexcludeDefaultListenersprotected JaxbEmptyTypeexcludeSuperclassListenersprotected JaxbIdClassidClassprotected java.lang.BooleanmetadataCompleteprotected JaxbPostLoadpostLoadprotected JaxbPostPersistpostPersistprotected JaxbPostRemovepostRemoveprotected JaxbPostUpdatepostUpdateprotected JaxbPrePersistprePersistprotected JaxbPreRemovepreRemoveprotected JaxbPreUpdatepreUpdate
-
Constructor Summary
Constructors Constructor Description JaxbMappedSuperclass()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessTypegetAccess()Gets the value of the access property.JaxbAttributesgetAttributes()Gets the value of the attributes property.java.lang.StringgetClazz()Gets the value of the clazz property.java.lang.StringgetDescription()Gets the value of the description property.JaxbEntityListenersgetEntityListeners()Gets the value of the entityListeners property.JaxbEmptyTypegetExcludeDefaultListeners()Gets the value of the excludeDefaultListeners property.JaxbEmptyTypegetExcludeSuperclassListeners()Gets the value of the excludeSuperclassListeners property.JaxbIdClassgetIdClass()Gets the value of the idClass property.JaxbPostLoadgetPostLoad()Gets the value of the postLoad property.JaxbPostPersistgetPostPersist()Gets the value of the postPersist property.JaxbPostRemovegetPostRemove()Gets the value of the postRemove property.JaxbPostUpdategetPostUpdate()Gets the value of the postUpdate property.JaxbPrePersistgetPrePersist()Gets the value of the prePersist property.JaxbPreRemovegetPreRemove()Gets the value of the preRemove property.JaxbPreUpdategetPreUpdate()Gets the value of the preUpdate property.java.lang.BooleanisMetadataComplete()Gets the value of the metadataComplete property.voidsetAccess(AccessType value)Sets the value of the access property.voidsetAttributes(JaxbAttributes value)Sets the value of the attributes property.voidsetClazz(java.lang.String value)Sets the value of the clazz property.voidsetDescription(java.lang.String value)Sets the value of the description property.voidsetEntityListeners(JaxbEntityListeners value)Sets the value of the entityListeners property.voidsetExcludeDefaultListeners(JaxbEmptyType value)Sets the value of the excludeDefaultListeners property.voidsetExcludeSuperclassListeners(JaxbEmptyType value)Sets the value of the excludeSuperclassListeners property.voidsetIdClass(JaxbIdClass value)Sets the value of the idClass property.voidsetMetadataComplete(java.lang.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 Detail
-
description
protected java.lang.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 java.lang.String clazz
-
access
protected AccessType access
-
metadataComplete
protected java.lang.Boolean metadataComplete
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
Gets the value of the description property.- Specified by:
getDescriptionin interfaceLifecycleCallbackContainer- Specified by:
getDescriptionin interfaceManagedType- Returns:
- possible object is
String
-
setDescription
public void setDescription(java.lang.String value)
Sets the value of the description property.- Specified by:
setDescriptionin interfaceLifecycleCallbackContainer- Specified by:
setDescriptionin interfaceManagedType- Parameters:
value- allowed object isString
-
getIdClass
public JaxbIdClass getIdClass()
Gets the value of the idClass property.- Specified by:
getIdClassin interfaceEntityOrMappedSuperclass- Returns:
- possible object is
JaxbIdClass
-
setIdClass
public void setIdClass(JaxbIdClass value)
Sets the value of the idClass property.- Specified by:
setIdClassin interfaceEntityOrMappedSuperclass- Parameters:
value- allowed object isJaxbIdClass
-
getExcludeDefaultListeners
public JaxbEmptyType getExcludeDefaultListeners()
Gets the value of the excludeDefaultListeners property.- Specified by:
getExcludeDefaultListenersin interfaceEntityOrMappedSuperclass- Returns:
- possible object is
JaxbEmptyType
-
setExcludeDefaultListeners
public void setExcludeDefaultListeners(JaxbEmptyType value)
Sets the value of the excludeDefaultListeners property.- Specified by:
setExcludeDefaultListenersin interfaceEntityOrMappedSuperclass- Parameters:
value- allowed object isJaxbEmptyType
-
getExcludeSuperclassListeners
public JaxbEmptyType getExcludeSuperclassListeners()
Gets the value of the excludeSuperclassListeners property.- Specified by:
getExcludeSuperclassListenersin interfaceEntityOrMappedSuperclass- Returns:
- possible object is
JaxbEmptyType
-
setExcludeSuperclassListeners
public void setExcludeSuperclassListeners(JaxbEmptyType value)
Sets the value of the excludeSuperclassListeners property.- Specified by:
setExcludeSuperclassListenersin interfaceEntityOrMappedSuperclass- Parameters:
value- allowed object isJaxbEmptyType
-
getEntityListeners
public JaxbEntityListeners getEntityListeners()
Gets the value of the entityListeners property.- Specified by:
getEntityListenersin interfaceEntityOrMappedSuperclass- Returns:
- possible object is
JaxbEntityListeners
-
setEntityListeners
public void setEntityListeners(JaxbEntityListeners value)
Sets the value of the entityListeners property.- Specified by:
setEntityListenersin interfaceEntityOrMappedSuperclass- Parameters:
value- allowed object isJaxbEntityListeners
-
getPrePersist
public JaxbPrePersist getPrePersist()
Gets the value of the prePersist property.- Specified by:
getPrePersistin interfaceEntityOrMappedSuperclass- Specified by:
getPrePersistin interfaceLifecycleCallbackContainer- Returns:
- possible object is
JaxbPrePersist
-
setPrePersist
public void setPrePersist(JaxbPrePersist value)
Sets the value of the prePersist property.- Specified by:
setPrePersistin interfaceEntityOrMappedSuperclass- Specified by:
setPrePersistin interfaceLifecycleCallbackContainer- Parameters:
value- allowed object isJaxbPrePersist
-
getPostPersist
public JaxbPostPersist getPostPersist()
Gets the value of the postPersist property.- Specified by:
getPostPersistin interfaceEntityOrMappedSuperclass- Specified by:
getPostPersistin interfaceLifecycleCallbackContainer- Returns:
- possible object is
JaxbPostPersist
-
setPostPersist
public void setPostPersist(JaxbPostPersist value)
Sets the value of the postPersist property.- Specified by:
setPostPersistin interfaceEntityOrMappedSuperclass- Specified by:
setPostPersistin interfaceLifecycleCallbackContainer- Parameters:
value- allowed object isJaxbPostPersist
-
getPreRemove
public JaxbPreRemove getPreRemove()
Gets the value of the preRemove property.- Specified by:
getPreRemovein interfaceEntityOrMappedSuperclass- Specified by:
getPreRemovein interfaceLifecycleCallbackContainer- Returns:
- possible object is
JaxbPreRemove
-
setPreRemove
public void setPreRemove(JaxbPreRemove value)
Sets the value of the preRemove property.- Specified by:
setPreRemovein interfaceEntityOrMappedSuperclass- Specified by:
setPreRemovein interfaceLifecycleCallbackContainer- Parameters:
value- allowed object isJaxbPreRemove
-
getPostRemove
public JaxbPostRemove getPostRemove()
Gets the value of the postRemove property.- Specified by:
getPostRemovein interfaceEntityOrMappedSuperclass- Specified by:
getPostRemovein interfaceLifecycleCallbackContainer- Returns:
- possible object is
JaxbPostRemove
-
setPostRemove
public void setPostRemove(JaxbPostRemove value)
Sets the value of the postRemove property.- Specified by:
setPostRemovein interfaceEntityOrMappedSuperclass- Specified by:
setPostRemovein interfaceLifecycleCallbackContainer- Parameters:
value- allowed object isJaxbPostRemove
-
getPreUpdate
public JaxbPreUpdate getPreUpdate()
Gets the value of the preUpdate property.- Specified by:
getPreUpdatein interfaceEntityOrMappedSuperclass- Specified by:
getPreUpdatein interfaceLifecycleCallbackContainer- Returns:
- possible object is
JaxbPreUpdate
-
setPreUpdate
public void setPreUpdate(JaxbPreUpdate value)
Sets the value of the preUpdate property.- Specified by:
setPreUpdatein interfaceEntityOrMappedSuperclass- Specified by:
setPreUpdatein interfaceLifecycleCallbackContainer- Parameters:
value- allowed object isJaxbPreUpdate
-
getPostUpdate
public JaxbPostUpdate getPostUpdate()
Gets the value of the postUpdate property.- Specified by:
getPostUpdatein interfaceEntityOrMappedSuperclass- Specified by:
getPostUpdatein interfaceLifecycleCallbackContainer- Returns:
- possible object is
JaxbPostUpdate
-
setPostUpdate
public void setPostUpdate(JaxbPostUpdate value)
Sets the value of the postUpdate property.- Specified by:
setPostUpdatein interfaceEntityOrMappedSuperclass- Specified by:
setPostUpdatein interfaceLifecycleCallbackContainer- Parameters:
value- allowed object isJaxbPostUpdate
-
getPostLoad
public JaxbPostLoad getPostLoad()
Gets the value of the postLoad property.- Specified by:
getPostLoadin interfaceEntityOrMappedSuperclass- Specified by:
getPostLoadin interfaceLifecycleCallbackContainer- Returns:
- possible object is
JaxbPostLoad
-
setPostLoad
public void setPostLoad(JaxbPostLoad value)
Sets the value of the postLoad property.- Specified by:
setPostLoadin interfaceEntityOrMappedSuperclass- Specified by:
setPostLoadin interfaceLifecycleCallbackContainer- Parameters:
value- allowed object isJaxbPostLoad
-
getAttributes
public JaxbAttributes getAttributes()
Gets the value of the attributes property.- Specified by:
getAttributesin interfaceEntityOrMappedSuperclass- Specified by:
getAttributesin interfaceManagedType- Returns:
- possible object is
JaxbAttributes
-
setAttributes
public void setAttributes(JaxbAttributes value)
Sets the value of the attributes property.- Specified by:
setAttributesin interfaceEntityOrMappedSuperclass- Parameters:
value- allowed object isJaxbAttributes
-
getClazz
public java.lang.String getClazz()
Gets the value of the clazz property.- Specified by:
getClazzin interfaceLifecycleCallbackContainer- Specified by:
getClazzin interfaceManagedType- Returns:
- possible object is
String
-
setClazz
public void setClazz(java.lang.String value)
Sets the value of the clazz property.- Specified by:
setClazzin interfaceLifecycleCallbackContainer- Specified by:
setClazzin interfaceManagedType- Parameters:
value- allowed object isString
-
getAccess
public AccessType getAccess()
Gets the value of the access property.- Specified by:
getAccessin interfaceManagedType- Returns:
- possible object is
String
-
setAccess
public void setAccess(AccessType value)
Sets the value of the access property.- Specified by:
setAccessin interfaceManagedType- Parameters:
value- allowed object isString
-
isMetadataComplete
public java.lang.Boolean isMetadataComplete()
Gets the value of the metadataComplete property.- Specified by:
isMetadataCompletein interfaceManagedType- Returns:
- possible object is
Boolean
-
setMetadataComplete
public void setMetadataComplete(java.lang.Boolean value)
Sets the value of the metadataComplete property.- Specified by:
setMetadataCompletein interfaceManagedType- Parameters:
value- allowed object isBoolean
-
-