public static class JaxbCfgHibernateConfiguration.JaxbCfgSecurity
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="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>
Modifier and Type | Class and Description |
---|---|
static class |
JaxbCfgHibernateConfiguration.JaxbCfgSecurity.JaxbCfgGrant
Java class for anonymous complex type.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
context |
protected java.util.List<JaxbCfgHibernateConfiguration.JaxbCfgSecurity.JaxbCfgGrant> |
grant |
Constructor and Description |
---|
JaxbCfgSecurity() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContext()
Gets the value of the context property.
|
java.util.List<JaxbCfgHibernateConfiguration.JaxbCfgSecurity.JaxbCfgGrant> |
getGrant()
Gets the value of the grant property.
|
void |
setContext(java.lang.String value)
Sets the value of the context property.
|
protected java.util.List<JaxbCfgHibernateConfiguration.JaxbCfgSecurity.JaxbCfgGrant> grant
protected java.lang.String context
public java.util.List<JaxbCfgHibernateConfiguration.JaxbCfgSecurity.JaxbCfgGrant> getGrant()
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
public java.lang.String getContext()
String
public void setContext(java.lang.String value)
value
- allowed object is
String
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.