Package org.apache.openejb.jee
Class MethodPermission
- java.lang.Object
-
- org.apache.openejb.jee.MethodPermission
-
public class MethodPermission extends Object
ejb-jar_3_1.xsdJava 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>
-
-
Constructor Summary
Constructors Constructor Description MethodPermission()MethodPermission(String ejbName, Method method, String... roles)MethodPermission(String className, String ejbName, String methodName, String... roles)MethodPermission(Method method, String... roles)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Text[]getDescriptions()StringgetId()List<Method>getMethod()List<String>getRoleName()booleangetUnchecked()voidsetDescriptions(Text[] text)voidsetId(String value)MethodPermissionsetUnchecked()voidsetUnchecked(boolean b)
-
-
-
Method Detail
-
setUnchecked
public MethodPermission setUnchecked()
-
getDescriptions
public Text[] getDescriptions()
-
setDescriptions
public void setDescriptions(Text[] text)
-
getDescription
public String getDescription()
-
getUnchecked
public boolean getUnchecked()
-
setUnchecked
public void setUnchecked(boolean b)
-
getId
public String getId()
-
setId
public void setId(String value)
-
-