org.apache.openejb.jee
Class SecurityRoleRef

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

public class SecurityRoleRef
extends Object

The security-role-refType contains the declaration of a security role reference in a component's or a Deployment Component's code. The declaration consists of an optional description, the security role name used in the code, and an optional link to a security role. If the security role is not specified, the Deployer must choose an appropriate security role.


Field Summary
protected  TextMap description
           
protected  String id
           
protected  String roleLink
           
protected  String roleName
           
 
Constructor Summary
SecurityRoleRef()
           
SecurityRoleRef(String roleName)
           
SecurityRoleRef(String roleName, String roleLink)
           
 
Method Summary
 String getDescription()
           
 Text[] getDescriptions()
           
 String getId()
           
 String getRoleLink()
           
 String getRoleName()
           
 void setDescriptions(Text[] text)
           
 void setId(String value)
           
 void setRoleLink(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

roleLink

protected String roleLink

id

protected String id

description

protected TextMap description
Constructor Detail

SecurityRoleRef

public SecurityRoleRef()

SecurityRoleRef

public SecurityRoleRef(String roleName)

SecurityRoleRef

public SecurityRoleRef(String roleName,
                       String roleLink)
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)

getRoleLink

public String getRoleLink()

setRoleLink

public void setRoleLink(String value)

getId

public String getId()

setId

public void setId(String value)


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