Package org.hibernate.boot.jaxb.mapping
Class JaxbEntityListeners
java.lang.Object
org.hibernate.boot.jaxb.mapping.JaxbEntityListeners
- All Implemented Interfaces:
Serializable
See `@jakarta.persistence.EntityListeners`
Java class for entity-listeners complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="entity-listeners">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="entity-listener" type="{http://www.hibernate.org/xsd/orm/mapping}entity-listener" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the entityListener property.
-
Field Details
-
entityListener
-
-
Constructor Details
-
JaxbEntityListeners
public JaxbEntityListeners()
-
-
Method Details
-
getEntityListener
Gets the value of the entityListener property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the entityListener property.For example, to add a new item, do as follows:
getEntityListener().add(newItem);Objects of the following type(s) are allowed in the list
JaxbEntityListener- Returns:
- The value of the entityListener property.
-