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

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

public class AuthenticationMechanism
extends AbsElement

This class defines the implementation of the element authentication-mechanism

Author:
Florent Benoit
See Also:
Serialized Form

Constructor Summary
AuthenticationMechanism()
          Constructor
 
Method Summary
 void addDescription(String description)
          Add a new description element to this object
 String getAuthenticationMechanismType()
          Gets the authentication-mechanism-type
 String getCredentialInterface()
          Gets the credential-interface
 JLinkedList getDescriptionList()
          Gets the description
 void setAuthenticationMechanismType(String authenticationMechanismType)
          Set the authentication-mechanism-type
 void setCredentialInterface(String credentialInterface)
          Set the credential-interface
 void setDescriptionList(JLinkedList descriptionList)
          Set the description
 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

AuthenticationMechanism

public AuthenticationMechanism()
Constructor

Method Detail

getDescriptionList

public JLinkedList getDescriptionList()
Gets the description

Returns:
the description

setDescriptionList

public void setDescriptionList(JLinkedList descriptionList)
Set the description

Parameters:
descriptionList - description

addDescription

public void addDescription(String description)
Add a new description element to this object

Parameters:
description - the description String

getAuthenticationMechanismType

public String getAuthenticationMechanismType()
Gets the authentication-mechanism-type

Returns:
the authentication-mechanism-type

setAuthenticationMechanismType

public void setAuthenticationMechanismType(String authenticationMechanismType)
Set the authentication-mechanism-type

Parameters:
authenticationMechanismType - authenticationMechanismType

getCredentialInterface

public String getCredentialInterface()
Gets the credential-interface

Returns:
the credential-interface

setCredentialInterface

public void setCredentialInterface(String credentialInterface)
Set the credential-interface

Parameters:
credentialInterface - credentialInterface

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.