Package org.hibernate.processor.xml.jaxb
Class MappedSuperclass
- java.lang.Object
-
- org.hibernate.processor.xml.jaxb.MappedSuperclass
-
public class MappedSuperclass extends Object
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.
-
-
Field Summary
Fields Modifier and Type Field Description protected AccessType
access
protected Attributes
attributes
protected String
clazz
protected String
description
protected EntityListeners
entityListeners
protected EmptyType
excludeDefaultListeners
protected EmptyType
excludeSuperclassListeners
protected IdClass
idClass
protected Boolean
metadataComplete
protected PostLoad
postLoad
protected PostPersist
postPersist
protected PostRemove
postRemove
protected PostUpdate
postUpdate
protected PrePersist
prePersist
protected PreRemove
preRemove
protected PreUpdate
preUpdate
-
Constructor Summary
Constructors Constructor Description MappedSuperclass()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessType
getAccess()
Gets the value of the access property.Attributes
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.EntityListeners
getEntityListeners()
Gets the value of the entityListeners property.EmptyType
getExcludeDefaultListeners()
Gets the value of the excludeDefaultListeners property.EmptyType
getExcludeSuperclassListeners()
Gets the value of the excludeSuperclassListeners property.IdClass
getIdClass()
Gets the value of the idClass property.PostLoad
getPostLoad()
Gets the value of the postLoad property.PostPersist
getPostPersist()
Gets the value of the postPersist property.PostRemove
getPostRemove()
Gets the value of the postRemove property.PostUpdate
getPostUpdate()
Gets the value of the postUpdate property.PrePersist
getPrePersist()
Gets the value of the prePersist property.PreRemove
getPreRemove()
Gets the value of the preRemove property.PreUpdate
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
setAttributes(Attributes 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(EntityListeners value)
Sets the value of the entityListeners property.void
setExcludeDefaultListeners(EmptyType value)
Sets the value of the excludeDefaultListeners property.void
setExcludeSuperclassListeners(EmptyType value)
Sets the value of the excludeSuperclassListeners property.void
setIdClass(IdClass value)
Sets the value of the idClass property.void
setMetadataComplete(Boolean value)
Sets the value of the metadataComplete property.void
setPostLoad(PostLoad value)
Sets the value of the postLoad property.void
setPostPersist(PostPersist value)
Sets the value of the postPersist property.void
setPostRemove(PostRemove value)
Sets the value of the postRemove property.void
setPostUpdate(PostUpdate value)
Sets the value of the postUpdate property.void
setPrePersist(PrePersist value)
Sets the value of the prePersist property.void
setPreRemove(PreRemove value)
Sets the value of the preRemove property.void
setPreUpdate(PreUpdate value)
Sets the value of the preUpdate property.
-
-
-
Field Detail
-
description
protected String description
-
idClass
protected IdClass idClass
-
excludeDefaultListeners
protected EmptyType excludeDefaultListeners
-
excludeSuperclassListeners
protected EmptyType excludeSuperclassListeners
-
entityListeners
protected EntityListeners entityListeners
-
prePersist
protected PrePersist prePersist
-
postPersist
protected PostPersist postPersist
-
preRemove
protected PreRemove preRemove
-
postRemove
protected PostRemove postRemove
-
preUpdate
protected PreUpdate preUpdate
-
postUpdate
protected PostUpdate postUpdate
-
postLoad
protected PostLoad postLoad
-
attributes
protected Attributes attributes
-
clazz
protected String clazz
-
access
protected AccessType access
-
metadataComplete
protected Boolean metadataComplete
-
-
Method Detail
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value
- allowed object isString
-
getIdClass
public IdClass getIdClass()
Gets the value of the idClass property.- Returns:
- possible object is
IdClass
-
setIdClass
public void setIdClass(IdClass value)
Sets the value of the idClass property.- Parameters:
value
- allowed object isIdClass
-
getExcludeDefaultListeners
public EmptyType getExcludeDefaultListeners()
Gets the value of the excludeDefaultListeners property.- Returns:
- possible object is
EmptyType
-
setExcludeDefaultListeners
public void setExcludeDefaultListeners(EmptyType value)
Sets the value of the excludeDefaultListeners property.- Parameters:
value
- allowed object isEmptyType
-
getExcludeSuperclassListeners
public EmptyType getExcludeSuperclassListeners()
Gets the value of the excludeSuperclassListeners property.- Returns:
- possible object is
EmptyType
-
setExcludeSuperclassListeners
public void setExcludeSuperclassListeners(EmptyType value)
Sets the value of the excludeSuperclassListeners property.- Parameters:
value
- allowed object isEmptyType
-
getEntityListeners
public EntityListeners getEntityListeners()
Gets the value of the entityListeners property.- Returns:
- possible object is
EntityListeners
-
setEntityListeners
public void setEntityListeners(EntityListeners value)
Sets the value of the entityListeners property.- Parameters:
value
- allowed object isEntityListeners
-
getPrePersist
public PrePersist getPrePersist()
Gets the value of the prePersist property.- Returns:
- possible object is
PrePersist
-
setPrePersist
public void setPrePersist(PrePersist value)
Sets the value of the prePersist property.- Parameters:
value
- allowed object isPrePersist
-
getPostPersist
public PostPersist getPostPersist()
Gets the value of the postPersist property.- Returns:
- possible object is
PostPersist
-
setPostPersist
public void setPostPersist(PostPersist value)
Sets the value of the postPersist property.- Parameters:
value
- allowed object isPostPersist
-
getPreRemove
public PreRemove getPreRemove()
Gets the value of the preRemove property.- Returns:
- possible object is
PreRemove
-
setPreRemove
public void setPreRemove(PreRemove value)
Sets the value of the preRemove property.- Parameters:
value
- allowed object isPreRemove
-
getPostRemove
public PostRemove getPostRemove()
Gets the value of the postRemove property.- Returns:
- possible object is
PostRemove
-
setPostRemove
public void setPostRemove(PostRemove value)
Sets the value of the postRemove property.- Parameters:
value
- allowed object isPostRemove
-
getPreUpdate
public PreUpdate getPreUpdate()
Gets the value of the preUpdate property.- Returns:
- possible object is
PreUpdate
-
setPreUpdate
public void setPreUpdate(PreUpdate value)
Sets the value of the preUpdate property.- Parameters:
value
- allowed object isPreUpdate
-
getPostUpdate
public PostUpdate getPostUpdate()
Gets the value of the postUpdate property.- Returns:
- possible object is
PostUpdate
-
setPostUpdate
public void setPostUpdate(PostUpdate value)
Sets the value of the postUpdate property.- Parameters:
value
- allowed object isPostUpdate
-
getPostLoad
public PostLoad getPostLoad()
Gets the value of the postLoad property.- Returns:
- possible object is
PostLoad
-
setPostLoad
public void setPostLoad(PostLoad value)
Sets the value of the postLoad property.- Parameters:
value
- allowed object isPostLoad
-
getAttributes
public Attributes getAttributes()
Gets the value of the attributes property.- Returns:
- possible object is
Attributes
-
setAttributes
public void setAttributes(Attributes value)
Sets the value of the attributes property.- Parameters:
value
- allowed object isAttributes
-
getClazz
public String getClazz()
Gets the value of the clazz property.- Returns:
- possible object is
String
-
setClazz
public void setClazz(String value)
Sets the value of the clazz property.- Parameters:
value
- allowed object isString
-
getAccess
public AccessType getAccess()
Gets the value of the access property.- Returns:
- possible object is
AccessType
-
setAccess
public void setAccess(AccessType value)
Sets the value of the access property.- Parameters:
value
- allowed object isAccessType
-
isMetadataComplete
public Boolean isMetadataComplete()
Gets the value of the metadataComplete property.- Returns:
- possible object is
Boolean
-
-