org.ow2.jonas.deployment.common.xml
Class SecurityRoleRef

java.lang.Object
  extended by org.ow2.jonas.deployment.common.xml.AbsElement
      extended by org.ow2.jonas.deployment.common.xml.SecurityRoleRef
All Implemented Interfaces:
Serializable, Element

public class SecurityRoleRef
extends AbsElement

This class defines the implementation of the element security-role-ref

Author:
JOnAS team
See Also:
Serialized Form

Constructor Summary
SecurityRoleRef()
          Constructor
 
Method Summary
 String getDescription()
          Gets the description
 String getRoleLink()
          Gets the role-link
 String getRoleName()
          Gets the role-name
 void setDescription(String description)
          Set the description
 void setRoleLink(String roleLink)
          Set the role-link
 void setRoleName(String roleName)
          Set the role-name
 String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.ow2.jonas.deployment.common.xml.AbsElement
indent, toString, toXML, xmlAttribute, xmlElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SecurityRoleRef

public SecurityRoleRef()
Constructor

Method Detail

getDescription

public String getDescription()
Gets the description

Returns:
the description

setDescription

public void setDescription(String description)
Set the description

Parameters:
description - description

getRoleName

public String getRoleName()
Gets the role-name

Returns:
the role-name

setRoleName

public void setRoleName(String roleName)
Set the role-name

Parameters:
roleName - roleName

getRoleLink

public String getRoleLink()
Gets the role-link

Returns:
the role-link

setRoleLink

public void setRoleLink(String roleLink)
Set the role-link

Parameters:
roleLink - roleLink

toXML

public String toXML(int indent)
Represents this element by it's XML description.

Specified by:
toXML in interface Element
Specified by:
toXML in class AbsElement
Parameters:
indent - use this indent for prexifing XML representation.
Returns:
the XML description of this object.


Copyright © 2010 OW2 Consortium. All Rights Reserved.