org.apache.openejb.jee
Class SecurityRole

java.lang.Object
  extended by org.apache.openejb.jee.SecurityRole

public class SecurityRole
extends Object

The security-roleType contains the definition of a security role. The definition consists of an optional description of the security role, and the security role name.

Example:

This role includes all employees who are authorized to access the employee service application. employee


Field Summary
protected  TextMap description
           
protected  String id
           
protected  String roleName
           
 
Constructor Summary
SecurityRole()
           
 
Method Summary
 String getDescription()
           
 Text[] getDescriptions()
           
 String getId()
           
 String getRoleName()
           
 void setDescriptions(Text[] text)
           
 void setId(String value)
           
 void setRoleName(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

roleName

protected String roleName

id

protected String id

description

protected TextMap description
Constructor Detail

SecurityRole

public SecurityRole()
Method Detail

getDescriptions

public Text[] getDescriptions()

setDescriptions

public void setDescriptions(Text[] text)

getDescription

public String getDescription()

getRoleName

public String getRoleName()

setRoleName

public void setRoleName(String value)

getId

public String getId()

setId

public void setId(String value)


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.