Package org.hibernate.boot.jaxb.cfg.spi
Class JaxbCfgHibernateConfiguration.JaxbCfgSecurity
- java.lang.Object
-
- org.hibernate.boot.jaxb.cfg.spi.JaxbCfgHibernateConfiguration.JaxbCfgSecurity
-
- Enclosing class:
- JaxbCfgHibernateConfiguration
public static class JaxbCfgHibernateConfiguration.JaxbCfgSecurity 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="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 Class Summary
Nested Classes Modifier and Type Class Description static class
JaxbCfgHibernateConfiguration.JaxbCfgSecurity.JaxbCfgGrant
Java class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected String
context
protected List<JaxbCfgHibernateConfiguration.JaxbCfgSecurity.JaxbCfgGrant>
grant
-
Constructor Summary
Constructors Constructor Description JaxbCfgSecurity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContext()
Gets the value of the context property.List<JaxbCfgHibernateConfiguration.JaxbCfgSecurity.JaxbCfgGrant>
getGrant()
Gets the value of the grant property.void
setContext(String value)
Sets the value of the context property.
-
-
-
Field Detail
-
grant
protected List<JaxbCfgHibernateConfiguration.JaxbCfgSecurity.JaxbCfgGrant> grant
-
context
protected String context
-
-
Method Detail
-
getGrant
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:
- The value of the grant property.
-
getContext
public String getContext()
Gets the value of the context property.- Returns:
- possible object is
String
-
-