org.apache.openejb.jee
Class SecurityRoleRef

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

public class SecurityRoleRef
extends java.lang.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  java.lang.String id
           
protected  java.lang.String roleLink
           
protected  java.lang.String roleName
           
 
Constructor Summary
SecurityRoleRef()
           
SecurityRoleRef(java.lang.String roleName)
           
SecurityRoleRef(java.lang.String roleName, java.lang.String roleLink)
           
 
Method Summary
 java.lang.String getDescription()
           
 Text[] getDescriptions()
           
 java.lang.String getId()
           
 java.lang.String getRoleLink()
           
 java.lang.String getRoleName()
           
 void setDescriptions(Text[] text)
           
 void setId(java.lang.String value)
           
 void setRoleLink(java.lang.String value)
           
 void setRoleName(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

roleName

protected java.lang.String roleName

roleLink

protected java.lang.String roleLink

id

protected java.lang.String id

description

protected TextMap description
Constructor Detail

SecurityRoleRef

public SecurityRoleRef()

SecurityRoleRef

public SecurityRoleRef(java.lang.String roleName)

SecurityRoleRef

public SecurityRoleRef(java.lang.String roleName,
                       java.lang.String roleLink)
Method Detail

getDescriptions

public Text[] getDescriptions()

setDescriptions

public void setDescriptions(Text[] text)

getDescription

public java.lang.String getDescription()

getRoleName

public java.lang.String getRoleName()

setRoleName

public void setRoleName(java.lang.String value)

getRoleLink

public java.lang.String getRoleLink()

setRoleLink

public void setRoleLink(java.lang.String value)

getId

public java.lang.String getId()

setId

public void setId(java.lang.String value)


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