org.objectweb.jonas_rar.deployment.xml
Class Connector

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

public class Connector
extends AbsElement
implements TopLevelElement

This class defines the implementation of the element connector

Author:
Florent Benoit
See Also:
Serialized Form

Constructor Summary
Connector()
          Constructor
 
Method Summary
 void addDescription(java.lang.String description)
          Add a new description element to this object
 JLinkedList getDescriptionList()
          Gets the description
 java.lang.String getDisplayName()
          Gets the display-name
 java.lang.String getEisType()
          Gets the eis-type
 Icon getIcon()
          Gets the icon
 License getLicense()
          Gets the license
 Resourceadapter getResourceadapter()
          Gets the resourceadapter
 java.lang.String getResourceadapterVersion()
          Gets the resourceadapter-version
 java.lang.String getSpecVersion()
          Gets the spec-version
 java.lang.String getVendorName()
          Gets the vendor-name
 java.lang.String getVersion()
          Gets the version
 void setDescriptionList(JLinkedList descriptionList)
          Set the description
 void setDisplayName(java.lang.String displayName)
          Set the display-name
 void setEisType(java.lang.String eisType)
          Set the eis-type
 void setIcon(Icon icon)
          Set the icon
 void setLicense(License license)
          Set the license
 void setResourceadapter(Resourceadapter resourceadapter)
          Set the resourceadapter
 void setResourceadapterVersion(java.lang.String resourceadapterVersion)
          Set the resourceadapter-version
 void setSpecVersion(java.lang.String specVersion)
          Set the spec-version
 void setVendorName(java.lang.String vendorName)
          Set the vendor-name
 void setVersion(java.lang.String version)
          Set the version
 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

Connector

public Connector()
Constructor

Method Detail

getDisplayName

public java.lang.String getDisplayName()
Gets the display-name

Returns:
the display-name

setDisplayName

public void setDisplayName(java.lang.String displayName)
Set the display-name

Parameters:
displayName - displayName

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

getIcon

public Icon getIcon()
Gets the icon

Returns:
the icon

setIcon

public void setIcon(Icon icon)
Set the icon

Parameters:
icon - icon

getVendorName

public java.lang.String getVendorName()
Gets the vendor-name

Returns:
the vendor-name

setVendorName

public void setVendorName(java.lang.String vendorName)
Set the vendor-name

Parameters:
vendorName - vendorName

getSpecVersion

public java.lang.String getSpecVersion()
Gets the spec-version

Returns:
the spec-version

setSpecVersion

public void setSpecVersion(java.lang.String specVersion)
Set the spec-version

Parameters:
specVersion - specVersion

getEisType

public java.lang.String getEisType()
Gets the eis-type

Returns:
the eis-type

setEisType

public void setEisType(java.lang.String eisType)
Set the eis-type

Parameters:
eisType - eisType

getVersion

public java.lang.String getVersion()
Gets the version

Returns:
the version

setVersion

public void setVersion(java.lang.String version)
Set the version

Parameters:
version - version

getResourceadapterVersion

public java.lang.String getResourceadapterVersion()
Gets the resourceadapter-version

Returns:
the resourceadapter-version

setResourceadapterVersion

public void setResourceadapterVersion(java.lang.String resourceadapterVersion)
Set the resourceadapter-version

Parameters:
resourceadapterVersion - resourceadapterVersion

getLicense

public License getLicense()
Gets the license

Returns:
the license

setLicense

public void setLicense(License license)
Set the license

Parameters:
license - license

getResourceadapter

public Resourceadapter getResourceadapter()
Gets the resourceadapter

Returns:
the resourceadapter

setResourceadapter

public void setResourceadapter(Resourceadapter resourceadapter)
Set the resourceadapter

Parameters:
resourceadapter - resourceadapter

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.