
public interface MappedSuperclass<T> extends Child<T>, OrmMappedSuperclassCommType<T,MappedSuperclass<T>,IdClass<MappedSuperclass<T>>,EntityListeners<MappedSuperclass<T>>,PrePersist<MappedSuperclass<T>>,PostPersist<MappedSuperclass<T>>,PreRemove<MappedSuperclass<T>>,PostRemove<MappedSuperclass<T>>,PreUpdate<MappedSuperclass<T>>,PostUpdate<MappedSuperclass<T>>,PostLoad<MappedSuperclass<T>>,Attributes<MappedSuperclass<T>>>
mapped-superclass xsd type| Modifier and Type | Method and Description |
|---|---|
MappedSuperclass<T> |
access(AccessType access)
Sets the
access attribute |
MappedSuperclass<T> |
access(String access)
Sets the
access attribute |
MappedSuperclass<T> |
clazz(String clazz)
Sets the
class attribute |
MappedSuperclass<T> |
description(String description)
Sets the
description element |
MappedSuperclass<T> |
excludeDefaultListeners()
Sets the
exclude-default-listeners element |
MappedSuperclass<T> |
excludeSuperclassListeners()
Sets the
exclude-superclass-listeners element |
AccessType |
getAccess()
Returns the
access attribute |
String |
getAccessAsString()
Returns the
access attribute |
String |
getClazz()
Returns the
class attribute |
String |
getDescription()
Returns the
description element |
Attributes<MappedSuperclass<T>> |
getOrCreateAttributes()
If not already created, a new
attributes element with the given value will be created. |
EntityListeners<MappedSuperclass<T>> |
getOrCreateEntityListeners()
If not already created, a new
entity-listeners element with the given value will be created. |
IdClass<MappedSuperclass<T>> |
getOrCreateIdClass()
If not already created, a new
id-class element with the given value will be created. |
PostLoad<MappedSuperclass<T>> |
getOrCreatePostLoad()
If not already created, a new
post-load element with the given value will be created. |
PostPersist<MappedSuperclass<T>> |
getOrCreatePostPersist()
If not already created, a new
post-persist element with the given value will be created. |
PostRemove<MappedSuperclass<T>> |
getOrCreatePostRemove()
If not already created, a new
post-remove element with the given value will be created. |
PostUpdate<MappedSuperclass<T>> |
getOrCreatePostUpdate()
If not already created, a new
post-update element with the given value will be created. |
PrePersist<MappedSuperclass<T>> |
getOrCreatePrePersist()
If not already created, a new
pre-persist element with the given value will be created. |
PreRemove<MappedSuperclass<T>> |
getOrCreatePreRemove()
If not already created, a new
pre-remove element with the given value will be created. |
PreUpdate<MappedSuperclass<T>> |
getOrCreatePreUpdate()
If not already created, a new
pre-update element with the given value will be created. |
Boolean |
isExcludeDefaultListeners()
Removes the
exclude-default-listeners element |
Boolean |
isExcludeSuperclassListeners()
Removes the
exclude-superclass-listeners element |
Boolean |
isMetadataComplete()
Returns the
metadata-complete attribute |
MappedSuperclass<T> |
metadataComplete(Boolean metadataComplete)
Sets the
metadata-complete attribute |
MappedSuperclass<T> |
removeAccess()
Removes the
access attribute |
MappedSuperclass<T> |
removeAttributes()
Removes the
attributes element |
MappedSuperclass<T> |
removeClazzAttr()
Removes the
class attribute |
MappedSuperclass<T> |
removeDescription()
Removes the
description element |
MappedSuperclass<T> |
removeEntityListeners()
Removes the
entity-listeners element |
MappedSuperclass<T> |
removeExcludeDefaultListeners()
Removes the
exclude-default-listeners element |
MappedSuperclass<T> |
removeExcludeSuperclassListeners()
Removes the
exclude-superclass-listeners element |
MappedSuperclass<T> |
removeIdClass()
Removes the
id-class element |
MappedSuperclass<T> |
removeMetadataComplete()
Removes the
metadata-complete attribute |
MappedSuperclass<T> |
removePostLoad()
Removes the
post-load element |
MappedSuperclass<T> |
removePostPersist()
Removes the
post-persist element |
MappedSuperclass<T> |
removePostRemove()
Removes the
post-remove element |
MappedSuperclass<T> |
removePostUpdate()
Removes the
post-update element |
MappedSuperclass<T> |
removePrePersist()
Removes the
pre-persist element |
MappedSuperclass<T> |
removePreRemove()
Removes the
pre-remove element |
MappedSuperclass<T> |
removePreUpdate()
Removes the
pre-update element |
MappedSuperclass<T> description(String description)
description elementdescription - the value for the element descriptionMappedSuperclassString getDescription()
description elementdescriptionMappedSuperclass<T> removeDescription()
description elementMappedSuperclassIdClass<MappedSuperclass<T>> getOrCreateIdClass()
id-class element with the given value will be created.
Otherwise, the existing id-class element will be returned.IdClass> MappedSuperclass<T> removeIdClass()
id-class elementMappedSuperclassMappedSuperclass<T> excludeDefaultListeners()
exclude-default-listeners elementMappedSuperclassBoolean isExcludeDefaultListeners()
exclude-default-listeners elementMappedSuperclassMappedSuperclass<T> removeExcludeDefaultListeners()
exclude-default-listeners elementMappedSuperclassMappedSuperclass<T> excludeSuperclassListeners()
exclude-superclass-listeners elementMappedSuperclassBoolean isExcludeSuperclassListeners()
exclude-superclass-listeners elementMappedSuperclassMappedSuperclass<T> removeExcludeSuperclassListeners()
exclude-superclass-listeners elementMappedSuperclassEntityListeners<MappedSuperclass<T>> getOrCreateEntityListeners()
entity-listeners element with the given value will be created.
Otherwise, the existing entity-listeners element will be returned.EntityListeners> MappedSuperclass<T> removeEntityListeners()
entity-listeners elementMappedSuperclassPrePersist<MappedSuperclass<T>> getOrCreatePrePersist()
pre-persist element with the given value will be created.
Otherwise, the existing pre-persist element will be returned.PrePersist> MappedSuperclass<T> removePrePersist()
pre-persist elementMappedSuperclassPostPersist<MappedSuperclass<T>> getOrCreatePostPersist()
post-persist element with the given value will be created.
Otherwise, the existing post-persist element will be returned.PostPersist> MappedSuperclass<T> removePostPersist()
post-persist elementMappedSuperclassPreRemove<MappedSuperclass<T>> getOrCreatePreRemove()
pre-remove element with the given value will be created.
Otherwise, the existing pre-remove element will be returned.PreRemove> MappedSuperclass<T> removePreRemove()
pre-remove elementMappedSuperclassPostRemove<MappedSuperclass<T>> getOrCreatePostRemove()
post-remove element with the given value will be created.
Otherwise, the existing post-remove element will be returned.PostRemove> MappedSuperclass<T> removePostRemove()
post-remove elementMappedSuperclassPreUpdate<MappedSuperclass<T>> getOrCreatePreUpdate()
pre-update element with the given value will be created.
Otherwise, the existing pre-update element will be returned.PreUpdate> MappedSuperclass<T> removePreUpdate()
pre-update elementMappedSuperclassPostUpdate<MappedSuperclass<T>> getOrCreatePostUpdate()
post-update element with the given value will be created.
Otherwise, the existing post-update element will be returned.PostUpdate> MappedSuperclass<T> removePostUpdate()
post-update elementMappedSuperclassPostLoad<MappedSuperclass<T>> getOrCreatePostLoad()
post-load element with the given value will be created.
Otherwise, the existing post-load element will be returned.PostLoad> MappedSuperclass<T> removePostLoad()
post-load elementMappedSuperclassAttributes<MappedSuperclass<T>> getOrCreateAttributes()
attributes element with the given value will be created.
Otherwise, the existing attributes element will be returned.Attributes> MappedSuperclass<T> removeAttributes()
attributes elementMappedSuperclassMappedSuperclass<T> clazz(String clazz)
class attributeclazz - the value for the attribute classMappedSuperclassString getClazz()
class attributeclassMappedSuperclass<T> removeClazzAttr()
class attributeMappedSuperclassMappedSuperclass<T> access(AccessType access)
access attributeaccess - the value for the attribute accessMappedSuperclassMappedSuperclass<T> access(String access)
access attributeaccess - the value for the attribute accessMappedSuperclassAccessType getAccess()
access attributeaccessString getAccessAsString()
access attributeaccessMappedSuperclass<T> removeAccess()
access attributeMappedSuperclassMappedSuperclass<T> metadataComplete(Boolean metadataComplete)
metadata-complete attributemetadataComplete - the value for the attribute metadata-completeMappedSuperclassBoolean isMetadataComplete()
metadata-complete attributemetadata-completeMappedSuperclass<T> removeMetadataComplete()
metadata-complete attributeMappedSuperclassCopyright © 2021 JBoss by Red Hat. All rights reserved.