Package org.hibernate.boot.jaxb.cfg.spi
Class JaxbCfgHibernateConfiguration.JaxbCfgSecurity
java.lang.Object
org.hibernate.boot.jaxb.cfg.spi.JaxbCfgHibernateConfiguration.JaxbCfgSecurity
- Enclosing class:
- JaxbCfgHibernateConfiguration
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 ClassesModifier and TypeClassDescriptionstatic class
Java class for anonymous complex type -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the context property.getGrant()
Gets the value of the grant property.void
setContext
(String value) Sets the value of the context property.
-
Field Details
-
grant
-
context
-
-
Constructor Details
-
JaxbCfgSecurity
public JaxbCfgSecurity()
-
-
Method Details
-
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 JAXB 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
Gets the value of the context property.- Returns:
- possible object is
String
-
setContext
Sets the value of the context property.- Parameters:
value
- allowed object isString
-