Package org.hibernate.boot.jaxb.cfg.spi
Class JaxbCfgEventListenerGroupType
java.lang.Object
org.hibernate.boot.jaxb.cfg.spi.JaxbCfgEventListenerGroupType
Java class for EventListenerGroupType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="EventListenerGroupType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="listener" type="{http://www.hibernate.org/xsd/orm/cfg}EventListenerType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="type" use="required" type="{http://www.hibernate.org/xsd/orm/cfg}EventTypeEnum" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<JaxbCfgEventListenerType> protected JaxbCfgEventTypeEnum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the listener property.getType()Gets the value of the type property.voidsetType(JaxbCfgEventTypeEnum value) Sets the value of the type property.
-
Field Details
-
listener
-
type
-
-
Constructor Details
-
JaxbCfgEventListenerGroupType
public JaxbCfgEventListenerGroupType()
-
-
Method Details
-
getListener
Gets the value of the listener 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 JAXB object. This is why there is not a
setmethod for the listener property.For example, to add a new item, do as follows:
getListener().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbCfgEventListenerType- Returns:
- The value of the listener property.
-
getType
Gets the value of the type property.- Returns:
- possible object is
JaxbCfgEventTypeEnum
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isJaxbCfgEventTypeEnum
-