Package org.hibernate.boot.jaxb.cfg.spi
Class JaxbCfgEventListenerGroupType
- java.lang.Object
-
- org.hibernate.boot.jaxb.cfg.spi.JaxbCfgEventListenerGroupType
-
public class JaxbCfgEventListenerGroupType extends java.lang.Object
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
Fields Modifier and Type Field Description protected java.util.List<JaxbCfgEventListenerType>
listener
protected JaxbCfgEventTypeEnum
type
-
Constructor Summary
Constructors Constructor Description JaxbCfgEventListenerGroupType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<JaxbCfgEventListenerType>
getListener()
Gets the value of the listener property.JaxbCfgEventTypeEnum
getType()
Gets the value of the type property.void
setType(JaxbCfgEventTypeEnum value)
Sets the value of the type property.
-
-
-
Field Detail
-
listener
protected java.util.List<JaxbCfgEventListenerType> listener
-
type
protected JaxbCfgEventTypeEnum type
-
-
Method Detail
-
getListener
public java.util.List<JaxbCfgEventListenerType> 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
set
method 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
-
getType
public JaxbCfgEventTypeEnum getType()
Gets the value of the type property.- Returns:
- possible object is
JaxbCfgEventTypeEnum
-
setType
public void setType(JaxbCfgEventTypeEnum value)
Sets the value of the type property.- Parameters:
value
- allowed object isJaxbCfgEventTypeEnum
-
-