org.objectweb.jonas_rar.deployment.xml
Class JonasConnectionDefinition

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

public class JonasConnectionDefinition
extends AbsElement
implements TopLevelElement

This class defines the implementation of the element jonas-connection-definition

Author:
Eric Hardesty
See Also:
Serialized Form

Constructor Summary
JonasConnectionDefinition()
          Constructor
 
Method Summary
 void addDescription(java.lang.String description)
          Add a new description element to this object
 void addJonasConfigProperty(JonasConfigProperty jonasConfigProperty)
          Add a new jonas-config-property element to this object
 JLinkedList getDescriptionList()
          Gets the description
 java.lang.String getId()
          Gets the id
 JdbcConnParams getJdbcConnParams()
          Gets the jdbc-conn-params
 java.lang.String getJndiName()
          Gets the jndi-name
 JLinkedList getJonasConfigPropertyList()
          Gets the jonas-config-property
 java.lang.String getLogEnabled()
          Gets the log-enabled
 java.lang.String getLogTopic()
          Gets the log-topic
 PoolParams getPoolParams()
          Gets the pool-params
 void setDescriptionList(JLinkedList descriptionList)
          Set the description
 void setId(java.lang.String id)
          Set the id
 void setJdbcConnParams(JdbcConnParams jdbcConnParams)
          Set the jdbc-conn-params
 void setJndiName(java.lang.String jndiName)
          Set the jndiname
 void setJonasConfigPropertyList(JLinkedList jonasConfigPropertyList)
          Set the jonas-config-property
 void setLogEnabled(java.lang.String logEnabled)
          Set the log-enabled
 void setLogTopic(java.lang.String logTopic)
          Set the log-topic
 void setPoolParams(PoolParams poolParams)
          Set the pool-params
 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

JonasConnectionDefinition

public JonasConnectionDefinition()
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

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(java.lang.String description)
Add a new description element to this object

Parameters:
description - the description String

getJndiName

public java.lang.String getJndiName()
Gets the jndi-name

Returns:
the jndi-name

setJndiName

public void setJndiName(java.lang.String jndiName)
Set the jndiname

Parameters:
jndiName - jndiname

getLogEnabled

public java.lang.String getLogEnabled()
Gets the log-enabled

Returns:
the log-enabled

setLogEnabled

public void setLogEnabled(java.lang.String logEnabled)
Set the log-enabled

Parameters:
logEnabled - logEnabled

getLogTopic

public java.lang.String getLogTopic()
Gets the log-topic

Returns:
the log-topic

setLogTopic

public void setLogTopic(java.lang.String logTopic)
Set the log-topic

Parameters:
logTopic - logTopic

getPoolParams

public PoolParams getPoolParams()
Gets the pool-params

Returns:
the pool-params

setPoolParams

public void setPoolParams(PoolParams poolParams)
Set the pool-params

Parameters:
poolParams - poolParams

getJdbcConnParams

public JdbcConnParams getJdbcConnParams()
Gets the jdbc-conn-params

Returns:
the jdbc-conn-params

setJdbcConnParams

public void setJdbcConnParams(JdbcConnParams jdbcConnParams)
Set the jdbc-conn-params

Parameters:
jdbcConnParams - jdbcConnParams

getJonasConfigPropertyList

public JLinkedList getJonasConfigPropertyList()
Gets the jonas-config-property

Returns:
the jonas-config-property

setJonasConfigPropertyList

public void setJonasConfigPropertyList(JLinkedList jonasConfigPropertyList)
Set the jonas-config-property

Parameters:
jonasConfigPropertyList - jonasConfigProperty

addJonasConfigProperty

public void addJonasConfigProperty(JonasConfigProperty jonasConfigProperty)
Add a new jonas-config-property element to this object

Parameters:
jonasConfigProperty - the jonasConfigPropertyobject

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.