|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EntityListener<T>
This interface defines the contract for the entity-listener
xsd type
Method Summary | |
---|---|
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> |
removeClazz()
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 |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
EntityListener<T> description(String description)
description
element
description
- the value for the element description
EntityListener
String getDescription()
description
element
description
EntityListener<T> removeDescription()
description
element
EntityListener
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
element
EntityListener
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
element
EntityListener
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
element
EntityListener
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
element
EntityListener
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
element
EntityListener
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
element
EntityListener
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
element
EntityListener
EntityListener<T> clazz(String clazz)
class
attribute
clazz
- the value for the attribute class
EntityListener
String getClazz()
class
attribute
class
EntityListener<T> removeClazz()
class
attribute
EntityListener
|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |