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

java.lang.Object
  extended by org.ow2.jonas.deployment.common.xml.AbsElement
      extended by org.ow2.jonas.deployment.rar.xml.ConnectionDefinition
All Implemented Interfaces:
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
 String getConnectionfactoryImplClass()
          Gets the connectionfactory-impl-class
 String getConnectionfactoryInterface()
          Gets the connectionfactory-interface
 String getConnectionImplClass()
          Gets the connection-impl-class
 String getConnectionInterface()
          Gets the connection-interface
 String getId()
          Gets the id
 String getManagedconnectionfactoryClass()
          Gets the managedconnectionfactory-class
 void setConfigPropertyList(JLinkedList configPropertyList)
          Set the config-property
 void setConnectionfactoryImplClass(String connectionfactoryImplClass)
          Set the connectionfactory-impl-class
 void setConnectionfactoryInterface(String connectionfactoryInterface)
          Set the connectionfactory-interface
 void setConnectionImplClass(String connectionImplClass)
          Set the connection-impl-class
 void setConnectionInterface(String connectionInterface)
          Set the connection-interface
 void setId(String id)
          Set the id
 void setManagedconnectionfactoryClass(String managedconnectionfactoryClass)
          Set the managedconnectionfactory-class
 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

ConnectionDefinition

public ConnectionDefinition()
Constructor

Method Detail

getId

public String getId()
Gets the id

Returns:
the id

setId

public void setId(String id)
Set the id

Parameters:
id - id object

getManagedconnectionfactoryClass

public String getManagedconnectionfactoryClass()
Gets the managedconnectionfactory-class

Returns:
the managedconnectionfactory-class

setManagedconnectionfactoryClass

public void setManagedconnectionfactoryClass(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 String getConnectionfactoryInterface()
Gets the connectionfactory-interface

Returns:
the connectionfactory-interface

setConnectionfactoryInterface

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

Parameters:
connectionfactoryInterface - connectionfactoryInterface

getConnectionfactoryImplClass

public String getConnectionfactoryImplClass()
Gets the connectionfactory-impl-class

Returns:
the connectionfactory-impl-class

setConnectionfactoryImplClass

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

Parameters:
connectionfactoryImplClass - connectionfactoryImplClass

getConnectionInterface

public String getConnectionInterface()
Gets the connection-interface

Returns:
the connection-interface

setConnectionInterface

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

Parameters:
connectionInterface - connectionInterface

getConnectionImplClass

public String getConnectionImplClass()
Gets the connection-impl-class

Returns:
the connection-impl-class

setConnectionImplClass

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

Parameters:
connectionImplClass - connectionImplClass

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.