Package | Description |
---|---|
org.jboss.shrinkwrap.descriptor.api.orm21 |
Provides the interfaces and enumeration types as defined in the schema
|
Modifier and Type | Method and Description |
---|---|
EntityListener<T> |
EntityListener.clazz(String clazz)
Sets the
class attribute |
EntityListener<EntityListeners<T>> |
EntityListeners.createEntityListener()
Creates a new
entity-listener element |
EntityListener<T> |
EntityListener.description(String description)
Sets the
description element |
EntityListener<EntityListeners<T>> |
EntityListeners.getOrCreateEntityListener()
If not already created, a new
entity-listener element will be created and returned. |
EntityListener<T> |
EntityListener.removeClazzAttr()
Removes the
class attribute |
EntityListener<T> |
EntityListener.removeDescription()
Removes the
description element |
EntityListener<T> |
EntityListener.removePostLoad()
Removes the
post-load element |
EntityListener<T> |
EntityListener.removePostPersist()
Removes the
post-persist element |
EntityListener<T> |
EntityListener.removePostRemove()
Removes the
post-remove element |
EntityListener<T> |
EntityListener.removePostUpdate()
Removes the
post-update element |
EntityListener<T> |
EntityListener.removePrePersist()
Removes the
pre-persist element |
EntityListener<T> |
EntityListener.removePreRemove()
Removes the
pre-remove element |
EntityListener<T> |
EntityListener.removePreUpdate()
Removes the
pre-update element |
Modifier and Type | Method and Description |
---|---|
List<EntityListener<EntityListeners<T>>> |
EntityListeners.getAllEntityListener()
Returns all
entity-listener elements |
PostLoad<EntityListener<T>> |
EntityListener.getOrCreatePostLoad()
If not already created, a new
post-load element with the given value will be created. |
PostPersist<EntityListener<T>> |
EntityListener.getOrCreatePostPersist()
If not already created, a new
post-persist element with the given value will be created. |
PostRemove<EntityListener<T>> |
EntityListener.getOrCreatePostRemove()
If not already created, a new
post-remove element with the given value will be created. |
PostUpdate<EntityListener<T>> |
EntityListener.getOrCreatePostUpdate()
If not already created, a new
post-update element with the given value will be created. |
PrePersist<EntityListener<T>> |
EntityListener.getOrCreatePrePersist()
If not already created, a new
pre-persist element with the given value will be created. |
PreRemove<EntityListener<T>> |
EntityListener.getOrCreatePreRemove()
If not already created, a new
pre-remove element with the given value will be created. |
PreUpdate<EntityListener<T>> |
EntityListener.getOrCreatePreUpdate()
If not already created, a new
pre-update element with the given value will be created. |
Copyright © 2019 JBoss by Red Hat. All rights reserved.