
public interface EntityListener<T> extends Child<T>, OrmEntityListenerCommType<T,EntityListener<T>,PrePersist<EntityListener<T>>,PostPersist<EntityListener<T>>,PreRemove<EntityListener<T>>,PostRemove<EntityListener<T>>,PreUpdate<EntityListener<T>>,PostUpdate<EntityListener<T>>,PostLoad<EntityListener<T>>>
entity-listener xsd type| Modifier and Type | Method and Description |
|---|---|
EntityListener<T> |
clazz(String clazz)
Sets the
class attribute |
EntityListener<T> |
description(String description)
Sets the
description element |
String |
getClazz()
Returns the
class attribute |
String |
getDescription()
Returns the
description element |
PostLoad<EntityListener<T>> |
getOrCreatePostLoad()
If not already created, a new
post-load element with the given value will be created. |
PostPersist<EntityListener<T>> |
getOrCreatePostPersist()
If not already created, a new
post-persist element with the given value will be created. |
PostRemove<EntityListener<T>> |
getOrCreatePostRemove()
If not already created, a new
post-remove element with the given value will be created. |
PostUpdate<EntityListener<T>> |
getOrCreatePostUpdate()
If not already created, a new
post-update element with the given value will be created. |
PrePersist<EntityListener<T>> |
getOrCreatePrePersist()
If not already created, a new
pre-persist element with the given value will be created. |
PreRemove<EntityListener<T>> |
getOrCreatePreRemove()
If not already created, a new
pre-remove element with the given value will be created. |
PreUpdate<EntityListener<T>> |
getOrCreatePreUpdate()
If not already created, a new
pre-update element with the given value will be created. |
EntityListener<T> |
removeClazzAttr()
Removes the
class attribute |
EntityListener<T> |
removeDescription()
Removes the
description element |
EntityListener<T> |
removePostLoad()
Removes the
post-load element |
EntityListener<T> |
removePostPersist()
Removes the
post-persist element |
EntityListener<T> |
removePostRemove()
Removes the
post-remove element |
EntityListener<T> |
removePostUpdate()
Removes the
post-update element |
EntityListener<T> |
removePrePersist()
Removes the
pre-persist element |
EntityListener<T> |
removePreRemove()
Removes the
pre-remove element |
EntityListener<T> |
removePreUpdate()
Removes the
pre-update element |
EntityListener<T> description(String description)
description elementdescription - the value for the element descriptionEntityListenerString getDescription()
description elementdescriptionEntityListener<T> removeDescription()
description elementEntityListenerPrePersist<EntityListener<T>> getOrCreatePrePersist()
pre-persist element with the given value will be created.
Otherwise, the existing pre-persist element will be returned.PrePersist> EntityListener<T> removePrePersist()
pre-persist elementEntityListenerPostPersist<EntityListener<T>> getOrCreatePostPersist()
post-persist element with the given value will be created.
Otherwise, the existing post-persist element will be returned.PostPersist> EntityListener<T> removePostPersist()
post-persist elementEntityListenerPreRemove<EntityListener<T>> getOrCreatePreRemove()
pre-remove element with the given value will be created.
Otherwise, the existing pre-remove element will be returned.PreRemove> EntityListener<T> removePreRemove()
pre-remove elementEntityListenerPostRemove<EntityListener<T>> getOrCreatePostRemove()
post-remove element with the given value will be created.
Otherwise, the existing post-remove element will be returned.PostRemove> EntityListener<T> removePostRemove()
post-remove elementEntityListenerPreUpdate<EntityListener<T>> getOrCreatePreUpdate()
pre-update element with the given value will be created.
Otherwise, the existing pre-update element will be returned.PreUpdate> EntityListener<T> removePreUpdate()
pre-update elementEntityListenerPostUpdate<EntityListener<T>> getOrCreatePostUpdate()
post-update element with the given value will be created.
Otherwise, the existing post-update element will be returned.PostUpdate> EntityListener<T> removePostUpdate()
post-update elementEntityListenerPostLoad<EntityListener<T>> getOrCreatePostLoad()
post-load element with the given value will be created.
Otherwise, the existing post-load element will be returned.PostLoad> EntityListener<T> removePostLoad()
post-load elementEntityListenerEntityListener<T> clazz(String clazz)
class attributeclazz - the value for the attribute classEntityListenerString getClazz()
class attributeclassEntityListener<T> removeClazzAttr()
class attributeEntityListenerCopyright © 2021 JBoss by Red Hat. All rights reserved.