public static class JaxbHibernateConfiguration.JaxbSessionFactory.JaxbEvent extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="listener" type="{http://www.hibernate.org/xsd/hibernate-configuration}listener-element" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="type" use="required" type="{http://www.hibernate.org/xsd/hibernate-configuration}type-attribute" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<JaxbListenerElement> |
listener |
protected JaxbTypeAttribute |
type |
| Constructor and Description |
|---|
JaxbHibernateConfiguration.JaxbSessionFactory.JaxbEvent() |
| Modifier and Type | Method and Description |
|---|---|
List<JaxbListenerElement> |
getListener()
Gets the value of the listener property.
|
JaxbTypeAttribute |
getType()
Gets the value of the type property.
|
void |
setType(JaxbTypeAttribute value)
Sets the value of the type property.
|
protected List<JaxbListenerElement> listener
protected JaxbTypeAttribute type
public JaxbHibernateConfiguration.JaxbSessionFactory.JaxbEvent()
public List<JaxbListenerElement> 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
JaxbListenerElement
public JaxbTypeAttribute getType()
JaxbTypeAttributepublic void setType(JaxbTypeAttribute value)
value - allowed object is
JaxbTypeAttributeCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.