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 typeModifier 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 description
EntityListener
String getDescription()
description
elementdescription
EntityListener<T> removeDescription()
description
elementEntityListener
PrePersist<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
elementEntityListener
PostPersist<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
elementEntityListener
PreRemove<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
elementEntityListener
PostRemove<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
elementEntityListener
PreUpdate<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
elementEntityListener
PostUpdate<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
elementEntityListener
PostLoad<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
elementEntityListener
EntityListener<T> clazz(String clazz)
class
attributeclazz
- the value for the attribute class
EntityListener
String getClazz()
class
attributeclass
EntityListener<T> removeClazzAttr()
class
attributeEntityListener
Copyright © 2018 JBoss by Red Hat. All rights reserved.