Top Description Inners Fields Constructors Methods
org.hibernate.boot.jaxb.cfg.spi

public Class JaxbCfgHibernateConfiguration

extends Object
Class Inheritance
Annotations
@XmlAccessorType:FIELD
@XmlType
name:
propOrder:sessionFactory, security
@XmlRootElement
name:hibernate-configuration
namespace:http://www.hibernate.org/xsd/orm/cfg
Imports
java.util.ArrayList, .List, jakarta.xml.bind.annotation.XmlAccessType, .XmlAccessorType, .XmlAttribute, .XmlElement, .XmlElements, .XmlRootElement, .XmlType

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="session-factory">
          <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>
        </element>
        <element name="security" minOccurs="0">
          <complexType>
            <complexContent>
              <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                <sequence>
                  <element name="grant" maxOccurs="unbounded" minOccurs="0">
                    <complexType>
                      <complexContent>
                        <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                          <attribute name="actions" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                          <attribute name="entity-name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                          <attribute name="role" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                        </restriction>
                      </complexContent>
                    </complexType>
                  </element>
                </sequence>
                <attribute name="context" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
              </restriction>
            </complexContent>
          </complexType>
        </element>
      </sequence>
    </restriction>
  </complexContent>
</complexType>

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
JaxbCfgHibernateConfiguration.JaxbCfgSecurity

Java class for anonymous complex type.

public static class
JaxbCfgHibernateConfiguration.JaxbCfgSessionFactory

Java class for anonymous complex type.

Field Summary

Modifier and TypeField and Description
protected JaxbCfgHibernateConfiguration.JaxbCfgSecurity
protected JaxbCfgHibernateConfiguration.JaxbCfgSessionFactory

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public JaxbCfgHibernateConfiguration.JaxbCfgSecurity
getSecurity()

Gets the value of the security property.

public JaxbCfgHibernateConfiguration.JaxbCfgSessionFactory
getSessionFactory()

Gets the value of the sessionFactory property.

public void
setSecurity(JaxbCfgHibernateConfiguration.JaxbCfgSecurity value)

Sets the value of the security property.

public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

securityback to summary
protected JaxbCfgHibernateConfiguration.JaxbCfgSecurity security
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/cfg
sessionFactoryback to summary
protected JaxbCfgHibernateConfiguration.JaxbCfgSessionFactory sessionFactory
Annotations
@XmlElement
name:session-factory
namespace:http://www.hibernate.org/xsd/orm/cfg
required:true

Constructor Detail

JaxbCfgHibernateConfigurationback to summary
public JaxbCfgHibernateConfiguration()

Method Detail

getSecurityback to summary
public JaxbCfgHibernateConfiguration.JaxbCfgSecurity getSecurity()

Gets the value of the security property.

Returns:JaxbCfgHibernateConfiguration.JaxbCfgSecurity

possible object is JaxbCfgHibernateConfiguration.JaxbCfgSecurity

getSessionFactoryback to summary
public JaxbCfgHibernateConfiguration.JaxbCfgSessionFactory getSessionFactory()

Gets the value of the sessionFactory property.

Returns:JaxbCfgHibernateConfiguration.JaxbCfgSessionFactory

possible object is JaxbCfgHibernateConfiguration.JaxbCfgSessionFactory

setSecurityback to summary
public void setSecurity(JaxbCfgHibernateConfiguration.JaxbCfgSecurity value)

Sets the value of the security property.

Parameters
value:JaxbCfgHibernateConfiguration.JaxbCfgSecurity

allowed object is JaxbCfgHibernateConfiguration.JaxbCfgSecurity

setSessionFactoryback to summary
public void setSessionFactory(JaxbCfgHibernateConfiguration.JaxbCfgSessionFactory value)

Sets the value of the sessionFactory property.

Parameters
value:JaxbCfgHibernateConfiguration.JaxbCfgSessionFactory

allowed object is JaxbCfgHibernateConfiguration.JaxbCfgSessionFactory

org.hibernate.boot.jaxb.cfg.spi back to summary

public Class JaxbCfgHibernateConfiguration.JaxbCfgSecurity

extends Object
Class Inheritance
  • java.lang.Object
  • org.hibernate.boot.jaxb.cfg.spi.JaxbCfgHibernateConfiguration.JaxbCfgSecurity
Annotations
@XmlAccessorType:FIELD
@XmlType
name:
propOrder:grant

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="grant" maxOccurs="unbounded" minOccurs="0">
          <complexType>
            <complexContent>
              <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                <attribute name="actions" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                <attribute name="entity-name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                <attribute name="role" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
              </restriction>
            </complexContent>
          </complexType>
        </element>
      </sequence>
      <attribute name="context" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
    </restriction>
  </complexContent>
</complexType>

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
JaxbCfgHibernateConfiguration.JaxbCfgSecurity.JaxbCfgGrant

Java class for anonymous complex type.

Field Summary

Modifier and TypeField and Description
protected String
protected List<JaxbCfgHibernateConfiguration.JaxbCfgSecurity.JaxbCfgGrant>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

possible object is String
getContext
()

Gets the value of the context property.

public List<JaxbCfgHibernateConfiguration.JaxbCfgSecurity.JaxbCfgGrant>

Returns:

The value of the grant property.
getGrant
()

Gets the value of the grant property.

public void
setContext(String
allowed object is String
value
)

Sets the value of the context property.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

contextback to summary
protected String context
Annotations
@XmlAttribute
name:context
required:true
grantback to summary
protected List<JaxbCfgHibernateConfiguration.JaxbCfgSecurity.JaxbCfgGrant> grant
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/cfg

Constructor Detail

JaxbCfgSecurityback to summary
public JaxbCfgSecurity()

Method Detail

getContextback to summary
public String getContext()

Gets the value of the context property.

Returns:String

possible object is String

getGrantback to summary
public List<JaxbCfgHibernateConfiguration.JaxbCfgSecurity.JaxbCfgGrant> getGrant()

Gets the value of the grant 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 Jakarta XML Binding object. This is why there is not a set method for the grant property.

For example, to add a new item, do as follows:

   getGrant().add(newItem);

Objects of the following type(s) are allowed in the list JaxbCfgHibernateConfiguration.JaxbCfgSecurity.JaxbCfgGrant

Returns:List<JaxbCfgHibernateConfiguration.JaxbCfgSecurity.JaxbCfgGrant>

The value of the grant property.

setContextback to summary
public void setContext(String value)

Sets the value of the context property.

Parameters
value:String

allowed object is String

org.hibernate.boot.jaxb.cfg.spi back to summary

public Class JaxbCfgHibernateConfiguration.JaxbCfgSecurity.JaxbCfgGrant

extends Object
Class Inheritance
  • java.lang.Object
  • org.hibernate.boot.jaxb.cfg.spi.JaxbCfgHibernateConfiguration.JaxbCfgSecurity.JaxbCfgGrant
Annotations
@XmlAccessorType:FIELD
@XmlType
name:

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">
      <attribute name="actions" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="entity-name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="role" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
    </restriction>
  </complexContent>
</complexType>

Field Summary

Modifier and TypeField and Description
protected String
protected String
protected String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

possible object is String
getActions
()

Gets the value of the actions property.

public String

Returns:

possible object is String
getEntityName
()

Gets the value of the entityName property.

public String

Returns:

possible object is String
getRole
()

Gets the value of the role property.

public void
setActions(String
allowed object is String
value
)

Sets the value of the actions property.

public void
setEntityName(String
allowed object is String
value
)

Sets the value of the entityName property.

public void
setRole(String
allowed object is String
value
)

Sets the value of the role property.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

actionsback to summary
protected String actions
Annotations
@XmlAttribute
name:actions
required:true
entityNameback to summary
protected String entityName
Annotations
@XmlAttribute
name:entity-name
required:true
roleback to summary
protected String role
Annotations
@XmlAttribute
name:role
required:true

Constructor Detail

JaxbCfgGrantback to summary
public JaxbCfgGrant()

Method Detail

getActionsback to summary
public String getActions()

Gets the value of the actions property.

Returns:String

possible object is String

getEntityNameback to summary
public String getEntityName()

Gets the value of the entityName property.

Returns:String

possible object is String

getRoleback to summary
public String getRole()

Gets the value of the role property.

Returns:String

possible object is String

setActionsback to summary
public void setActions(String value)

Sets the value of the actions property.

Parameters
value:String

allowed object is String

setEntityNameback to summary
public void setEntityName(String value)

Sets the value of the entityName property.

Parameters
value:String

allowed object is String

setRoleback to summary
public void setRole(String value)

Sets the value of the role property.

Parameters
value:String

allowed object is String

org.hibernate.boot.jaxb.cfg.spi back to summary

public Class JaxbCfgHibernateConfiguration.JaxbCfgSessionFactory

extends Object
Class Inheritance
  • java.lang.Object
  • org.hibernate.boot.jaxb.cfg.spi.JaxbCfgHibernateConfiguration.JaxbCfgSessionFactory
Annotations
@XmlAccessorType:FIELD
@XmlType
name:
propOrder:property, mapping, classCacheOrCollectionCache, event, listener

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

Modifier and TypeField and Description
protected List<Object>
protected List<JaxbCfgEventListenerGroupType>
protected List<JaxbCfgEventListenerType>
protected List<JaxbCfgMappingReferenceType>
protected String
protected List<JaxbCfgConfigPropertyType>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public List<Object>

Returns:

The value of the classCacheOrCollectionCache property.
getClassCacheOrCollectionCache
()

Gets the value of the classCacheOrCollectionCache property.

public List<JaxbCfgEventListenerGroupType>

Returns:

The value of the event property.
getEvent
()

Gets the value of the event property.

public List<JaxbCfgEventListenerType>

Returns:

The value of the listener property.
getListener
()

Gets the value of the listener property.

public List<JaxbCfgMappingReferenceType>

Returns:

The value of the mapping property.
getMapping
()

Gets the value of the mapping property.

public String

Returns:

possible object is String
getName
()

Gets the value of the name property.

public List<JaxbCfgConfigPropertyType>

Returns:

The value of the property property.
getProperty
()

Gets the value of the property property.

public void
setName(String
allowed object is String
value
)

Sets the value of the name property.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

classCacheOrCollectionCacheback to summary
protected List<Object> classCacheOrCollectionCache
Annotations
@XmlElements:@jakarta.xml.bind.annotation.XmlElement(name="class-cache", namespace="http://www.hibernate.org/xsd/orm/cfg", type=org.hibernate.boot.jaxb.cfg.spi.JaxbCfgEntityCacheType.class), @jakarta.xml.bind.annotation.XmlElement(name="collection-cache", namespace="http://www.hibernate.org/xsd/orm/cfg", type=org.hibernate.boot.jaxb.cfg.spi.JaxbCfgCollectionCacheType.class)
eventback to summary
protected List<JaxbCfgEventListenerGroupType> event
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/cfg
listenerback to summary
protected List<JaxbCfgEventListenerType> listener
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/cfg
mappingback to summary
protected List<JaxbCfgMappingReferenceType> mapping
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/cfg
nameback to summary
protected String name
Annotations
@XmlAttribute
name:name
propertyback to summary
protected List<JaxbCfgConfigPropertyType> property
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/cfg

Constructor Detail

JaxbCfgSessionFactoryback to summary
public JaxbCfgSessionFactory()

Method Detail

getClassCacheOrCollectionCacheback to summary
public List<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 Jakarta XML Binding 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 JaxbCfgCollectionCacheType JaxbCfgEntityCacheType

Returns:List<Object>

The value of the classCacheOrCollectionCache property.

getEventback to summary
public 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 Jakarta XML Binding 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

Returns:List<JaxbCfgEventListenerGroupType>

The value of the event property.

getListenerback to summary
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 Jakarta XML Binding 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:List<JaxbCfgEventListenerType>

The value of the listener property.

getMappingback to summary
public 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 Jakarta XML Binding 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

Returns:List<JaxbCfgMappingReferenceType>

The value of the mapping property.

getNameback to summary
public String getName()

Gets the value of the name property.

Returns:String

possible object is String

getPropertyback to summary
public 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 Jakarta XML Binding 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

Returns:List<JaxbCfgConfigPropertyType>

The value of the property property.

setNameback to summary
public void setName(String value)

Sets the value of the name property.

Parameters
value:String

allowed object is String