Class JaxbCfgHibernateConfiguration.JaxbCfgSessionFactory
- java.lang.Object
-
- org.hibernate.boot.jaxb.cfg.spi.JaxbCfgHibernateConfiguration.JaxbCfgSessionFactory
-
- Enclosing class:
- JaxbCfgHibernateConfiguration
public static class JaxbCfgHibernateConfiguration.JaxbCfgSessionFactory extends java.lang.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="property" type="{http://www.hibernate.org/xsd/orm/cfg}ConfigPropertyType" maxOccurs="unbounded" minOccurs="0"/> <element name="mapping" type="{http://www.hibernate.org/xsd/orm/cfg}MappingReferenceType" maxOccurs="unbounded" minOccurs="0"/> <choice maxOccurs="unbounded" minOccurs="0"> <element name="class-cache" type="{http://www.hibernate.org/xsd/orm/cfg}EntityCacheType"/> <element name="collection-cache" type="{http://www.hibernate.org/xsd/orm/cfg}CollectionCacheType"/> </choice> <element name="event" type="{http://www.hibernate.org/xsd/orm/cfg}EventListenerGroupType" maxOccurs="unbounded" minOccurs="0"/> <element name="listener" type="{http://www.hibernate.org/xsd/orm/cfg}EventListenerType" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<java.lang.Object>
classCacheOrCollectionCache
protected java.util.List<JaxbCfgEventListenerGroupType>
event
protected java.util.List<JaxbCfgEventListenerType>
listener
protected java.util.List<JaxbCfgMappingReferenceType>
mapping
protected java.lang.String
name
protected java.util.List<JaxbCfgConfigPropertyType>
property
-
Constructor Summary
Constructors Constructor Description JaxbCfgSessionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.Object>
getClassCacheOrCollectionCache()
Gets the value of the classCacheOrCollectionCache property.java.util.List<JaxbCfgEventListenerGroupType>
getEvent()
Gets the value of the event property.java.util.List<JaxbCfgEventListenerType>
getListener()
Gets the value of the listener property.java.util.List<JaxbCfgMappingReferenceType>
getMapping()
Gets the value of the mapping property.java.lang.String
getName()
Gets the value of the name property.java.util.List<JaxbCfgConfigPropertyType>
getProperty()
Gets the value of the property property.void
setName(java.lang.String value)
Sets the value of the name property.
-
-
-
Field Detail
-
property
protected java.util.List<JaxbCfgConfigPropertyType> property
-
mapping
protected java.util.List<JaxbCfgMappingReferenceType> mapping
-
classCacheOrCollectionCache
protected java.util.List<java.lang.Object> classCacheOrCollectionCache
-
event
protected java.util.List<JaxbCfgEventListenerGroupType> event
-
listener
protected java.util.List<JaxbCfgEventListenerType> listener
-
name
protected java.lang.String name
-
-
Method Detail
-
getProperty
public java.util.List<JaxbCfgConfigPropertyType> getProperty()
Gets the value of the property 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 property property.For example, to add a new item, do as follows:
getProperty().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbCfgConfigPropertyType
-
getMapping
public java.util.List<JaxbCfgMappingReferenceType> getMapping()
Gets the value of the mapping 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 mapping property.For example, to add a new item, do as follows:
getMapping().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbCfgMappingReferenceType
-
getClassCacheOrCollectionCache
public java.util.List<java.lang.Object> getClassCacheOrCollectionCache()
Gets the value of the classCacheOrCollectionCache 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 classCacheOrCollectionCache property.For example, to add a new item, do as follows:
getClassCacheOrCollectionCache().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbCfgEntityCacheType
JaxbCfgCollectionCacheType
-
getEvent
public java.util.List<JaxbCfgEventListenerGroupType> getEvent()
Gets the value of the event 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 event property.For example, to add a new item, do as follows:
getEvent().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbCfgEventListenerGroupType
-
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
-
getName
public java.lang.String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(java.lang.String value)
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
-