类 JaxbCfgHibernateConfiguration.JaxbCfgSecurity
- java.lang.Object
-
- org.hibernate.boot.jaxb.cfg.spi.JaxbCfgHibernateConfiguration.JaxbCfgSecurity
-
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>
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classJaxbCfgHibernateConfiguration.JaxbCfgSecurity.JaxbCfgGrantJava class for anonymous complex type.
-
字段概要
字段 修饰符和类型 字段 说明 protected Stringcontextprotected List<JaxbCfgHibernateConfiguration.JaxbCfgSecurity.JaxbCfgGrant>grant
-
构造器概要
构造器 构造器 说明 JaxbCfgSecurity()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetContext()Gets the value of the context property.List<JaxbCfgHibernateConfiguration.JaxbCfgSecurity.JaxbCfgGrant>getGrant()Gets the value of the grant property.voidsetContext(String value)Sets the value of the context property.
-
-
-
字段详细资料
-
grant
protected List<JaxbCfgHibernateConfiguration.JaxbCfgSecurity.JaxbCfgGrant> grant
-
context
protected String context
-
-
方法详细资料
-
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 JAXB object. This is why there is not a
setmethod 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
-
getContext
public String getContext()
Gets the value of the context property.- 返回:
- possible object is
String
-
-