public class MethodPermission
extends java.lang.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 java.lang.String |
id |
protected java.util.List<Method> |
method |
protected java.util.List<java.lang.String> |
roleName |
protected Empty |
unchecked |
Constructor and Description |
---|
MethodPermission() |
MethodPermission(Method method,
java.lang.String... roles) |
MethodPermission(java.lang.String ejbName,
java.lang.reflect.Method method,
java.lang.String... roles) |
MethodPermission(java.lang.String className,
java.lang.String ejbName,
java.lang.String methodName,
java.lang.String... roles) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
Text[] |
getDescriptions() |
java.lang.String |
getId() |
java.util.List<Method> |
getMethod() |
java.util.List<java.lang.String> |
getRoleName() |
boolean |
getUnchecked() |
void |
setDescriptions(Text[] text) |
void |
setId(java.lang.String value) |
MethodPermission |
setUnchecked() |
void |
setUnchecked(boolean b) |
protected TextMap description
protected java.util.List<java.lang.String> roleName
protected Empty unchecked
protected java.util.List<Method> method
protected java.lang.String id
public MethodPermission()
public MethodPermission(java.lang.String className, java.lang.String ejbName, java.lang.String methodName, java.lang.String... roles)
public MethodPermission(java.lang.String ejbName, java.lang.reflect.Method method, java.lang.String... roles)
public MethodPermission(Method method, java.lang.String... roles)
public MethodPermission setUnchecked()
public Text[] getDescriptions()
public void setDescriptions(Text[] text)
public java.lang.String getDescription()
public java.util.List<java.lang.String> getRoleName()
public boolean getUnchecked()
public void setUnchecked(boolean b)
public java.util.List<Method> getMethod()
public java.lang.String getId()
public void setId(java.lang.String value)