public class MethodPermission extends Object
Java class for method-permissionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="method-permissionType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
<choice>
<element name="role-name" type="{http://java.sun.com/xml/ns/javaee}role-nameType" maxOccurs="unbounded"/>
<element name="unchecked" type="{http://java.sun.com/xml/ns/javaee}emptyType"/>
</choice>
<element name="method" type="{http://java.sun.com/xml/ns/javaee}methodType" maxOccurs="unbounded"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected TextMap |
description |
protected String |
id |
protected List<Method> |
method |
protected List<String> |
roleName |
protected Empty |
unchecked |
| Constructor and Description |
|---|
MethodPermission() |
MethodPermission(Method method,
String... roles) |
MethodPermission(String ejbName,
Method method,
String... roles) |
MethodPermission(String className,
String ejbName,
String methodName,
String... roles) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
Text[] |
getDescriptions() |
String |
getId() |
List<Method> |
getMethod() |
List<String> |
getRoleName() |
boolean |
getUnchecked() |
void |
setDescriptions(Text[] text) |
void |
setId(String value) |
MethodPermission |
setUnchecked() |
void |
setUnchecked(boolean b) |
protected TextMap description
protected Empty unchecked
protected String id
public MethodPermission()
public MethodPermission(String className, String ejbName, String methodName, String... roles)
public MethodPermission setUnchecked()
public Text[] getDescriptions()
public void setDescriptions(Text[] text)
public String getDescription()
public boolean getUnchecked()
public void setUnchecked(boolean b)
public String getId()
public void setId(String value)
Copyright © 1999-2014 The Apache Software Foundation. All Rights Reserved.