Class JaxbCfgEventListenerGroupType

java.lang.Object
org.hibernate.boot.jaxb.cfg.spi.JaxbCfgEventListenerGroupType

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>
 
  • Field Details

  • Constructor Details

    • JaxbCfgEventListenerGroupType

      public JaxbCfgEventListenerGroupType()
  • Method Details

    • getListener

      public 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

      Returns:
      The value of the listener property.
    • 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 is JaxbCfgEventTypeEnum