public class JaxbCfgEventListenerGroupType extends 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>
| Modifier and Type | Field and Description |
|---|---|
protected List<JaxbCfgEventListenerType> |
listener |
protected JaxbCfgEventTypeEnum |
type |
| Constructor and Description |
|---|
JaxbCfgEventListenerGroupType() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected List<JaxbCfgEventListenerType> listener
protected JaxbCfgEventTypeEnum type
public List<JaxbCfgEventListenerType> getListener()
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
public JaxbCfgEventTypeEnum getType()
JaxbCfgEventTypeEnumpublic void setType(JaxbCfgEventTypeEnum value)
value - allowed object is
JaxbCfgEventTypeEnumCopyright © 2001-2021 Red Hat, Inc. All Rights Reserved.