org.ow2.jonas.deployment.rar.xml
Class SecurityEntry

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

public class SecurityEntry
extends AbsElement

This class defines the implementation of the element security-entry

Author:
Eric Hardesty
See Also:
Serialized Form

Constructor Summary
SecurityEntry()
          Constructor
 
Method Summary
 String getEncrypted()
          Gets the encrypted value
 String getPassword()
          Gets the password
 String getPrincipalName()
          Gets the principalName
 String getUser()
          Gets the user
 void setEncrypted(String encrypted)
          Set the encrypted
 void setPassword(String password)
          Set the password
 void setPrincipalName(String principalName)
          Set the principalName
 void setUser(String user)
          Set the user
 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

SecurityEntry

public SecurityEntry()
Constructor

Method Detail

getPrincipalName

public String getPrincipalName()
Gets the principalName

Returns:
the principalName

setPrincipalName

public void setPrincipalName(String principalName)
Set the principalName

Parameters:
principalName - id object

getUser

public String getUser()
Gets the user

Returns:
the user

setUser

public void setUser(String user)
Set the user

Parameters:
user - id object

getPassword

public String getPassword()
Gets the password

Returns:
the password

setPassword

public void setPassword(String password)
Set the password

Parameters:
password - id object

getEncrypted

public String getEncrypted()
Gets the encrypted value

Returns:
the encrypted value

setEncrypted

public void setEncrypted(String encrypted)
Set the encrypted

Parameters:
encrypted - id object

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 prefixing XML representation.
Returns:
the XML description of this object.


Copyright © 2010 OW2 Consortium. All Rights Reserved.