类 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>
-
-
字段概要
字段 修饰符和类型 字段 说明 protected List<JaxbCfgEventListenerType>listenerprotected JaxbCfgEventTypeEnumtype
-
构造器概要
构造器 构造器 说明 JaxbCfgEventListenerGroupType()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 List<JaxbCfgEventListenerType>getListener()Gets the value of the listener property.JaxbCfgEventTypeEnumgetType()Gets the value of the type property.voidsetType(JaxbCfgEventTypeEnum value)Sets the value of the type property.
-
-
-
字段详细资料
-
listener
protected List<JaxbCfgEventListenerType> listener
-
type
protected JaxbCfgEventTypeEnum type
-
-
方法详细资料
-
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
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
-
getType
public JaxbCfgEventTypeEnum getType()
Gets the value of the type property.- 返回:
- possible object is
JaxbCfgEventTypeEnum
-
setType
public void setType(JaxbCfgEventTypeEnum value)
Sets the value of the type property.- 参数:
value- allowed object isJaxbCfgEventTypeEnum
-
-