org.objectweb.jonas_rar.deployment.xml
Class ConnectionDefinition

java.lang.Object
  extended by org.objectweb.jonas_lib.deployment.xml.AbsElement
      extended by org.objectweb.jonas_rar.deployment.xml.ConnectionDefinition
All Implemented Interfaces:
java.io.Serializable, Element

public class ConnectionDefinition
extends AbsElement

This class defines the implementation of the element connection-definition

Author:
Eric Hardesty
See Also:
Serialized Form

Constructor Summary
ConnectionDefinition()
          Constructor
 
Method Summary
 void addConfigProperty(ConfigProperty configProperty)
          Add a new config-property element to this object
 JLinkedList getConfigPropertyList()
          Gets the config-property
 java.lang.String getConnectionfactoryImplClass()
          Gets the connectionfactory-impl-class
 java.lang.String getConnectionfactoryInterface()
          Gets the connectionfactory-interface
 java.lang.String getConnectionImplClass()
          Gets the connection-impl-class
 java.lang.String getConnectionInterface()
          Gets the connection-interface
 java.lang.String getId()
          Gets the id
 java.lang.String getManagedconnectionfactoryClass()
          Gets the managedconnectionfactory-class
 void setConfigPropertyList(JLinkedList configPropertyList)
          Set the config-property
 void setConnectionfactoryImplClass(java.lang.String connectionfactoryImplClass)
          Set the connectionfactory-impl-class
 void setConnectionfactoryInterface(java.lang.String connectionfactoryInterface)
          Set the connectionfactory-interface
 void setConnectionImplClass(java.lang.String connectionImplClass)
          Set the connection-impl-class
 void setConnectionInterface(java.lang.String connectionInterface)
          Set the connection-interface
 void setId(java.lang.String id)
          Set the id
 void setManagedconnectionfactoryClass(java.lang.String managedconnectionfactoryClass)
          Set the managedconnectionfactory-class
 java.lang.String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.objectweb.jonas_lib.deployment.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

ConnectionDefinition

public ConnectionDefinition()
Constructor

Method Detail

getId

public java.lang.String getId()
Gets the id

Returns:
the id

setId

public void setId(java.lang.String id)
Set the id

Parameters:
id - id object

getManagedconnectionfactoryClass

public java.lang.String getManagedconnectionfactoryClass()
Gets the managedconnectionfactory-class

Returns:
the managedconnectionfactory-class

setManagedconnectionfactoryClass

public void setManagedconnectionfactoryClass(java.lang.String managedconnectionfactoryClass)
Set the managedconnectionfactory-class

Parameters:
managedconnectionfactoryClass - managedconnectionfactoryClass

getConfigPropertyList

public JLinkedList getConfigPropertyList()
Gets the config-property

Returns:
the config-property

setConfigPropertyList

public void setConfigPropertyList(JLinkedList configPropertyList)
Set the config-property

Parameters:
configPropertyList - configProperty

addConfigProperty

public void addConfigProperty(ConfigProperty configProperty)
Add a new config-property element to this object

Parameters:
configProperty - the configPropertyobject

getConnectionfactoryInterface

public java.lang.String getConnectionfactoryInterface()
Gets the connectionfactory-interface

Returns:
the connectionfactory-interface

setConnectionfactoryInterface

public void setConnectionfactoryInterface(java.lang.String connectionfactoryInterface)
Set the connectionfactory-interface

Parameters:
connectionfactoryInterface - connectionfactoryInterface

getConnectionfactoryImplClass

public java.lang.String getConnectionfactoryImplClass()
Gets the connectionfactory-impl-class

Returns:
the connectionfactory-impl-class

setConnectionfactoryImplClass

public void setConnectionfactoryImplClass(java.lang.String connectionfactoryImplClass)
Set the connectionfactory-impl-class

Parameters:
connectionfactoryImplClass - connectionfactoryImplClass

getConnectionInterface

public java.lang.String getConnectionInterface()
Gets the connection-interface

Returns:
the connection-interface

setConnectionInterface

public void setConnectionInterface(java.lang.String connectionInterface)
Set the connection-interface

Parameters:
connectionInterface - connectionInterface

getConnectionImplClass

public java.lang.String getConnectionImplClass()
Gets the connection-impl-class

Returns:
the connection-impl-class

setConnectionImplClass

public void setConnectionImplClass(java.lang.String connectionImplClass)
Set the connection-impl-class

Parameters:
connectionImplClass - connectionImplClass

toXML

public java.lang.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.