org.objectweb.jonas_lib.deployment.xml
Class EjbRef

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

public class EjbRef
extends AbsElement

This class defines the implementation of the element ejb-ref.

Author:
Florent Benoit
See Also:
Serialized Form

Constructor Summary
EjbRef()
           
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getEjbLink()
           
 java.lang.String getEjbRefName()
           
 java.lang.String getEjbRefType()
           
 java.lang.String getHome()
           
 java.lang.String getRemote()
           
 void setDescription(java.lang.String description)
          Sets the description
 void setEjbLink(java.lang.String ejbLink)
          Sets the ejb-link
 void setEjbRefName(java.lang.String ejbRefName)
          Sets the name
 void setEjbRefType(java.lang.String ejbRefType)
          Sets the type
 void setHome(java.lang.String home)
          Sets the home interface
 void setRemote(java.lang.String remote)
          Sets the remote interface
 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

EjbRef

public EjbRef()
Method Detail

setDescription

public void setDescription(java.lang.String description)
Sets the description

Parameters:
description - the description to use

setEjbRefName

public void setEjbRefName(java.lang.String ejbRefName)
Sets the name

Parameters:
ejbRefName - the name to use

setEjbRefType

public void setEjbRefType(java.lang.String ejbRefType)
Sets the type

Parameters:
ejbRefType - the type to use

setHome

public void setHome(java.lang.String home)
Sets the home interface

Parameters:
home - the home interface to use

setRemote

public void setRemote(java.lang.String remote)
Sets the remote interface

Parameters:
remote - the remote interface to use

setEjbLink

public void setEjbLink(java.lang.String ejbLink)
Sets the ejb-link

Parameters:
ejbLink - the ejb-link to use

getDescription

public java.lang.String getDescription()
Returns:
the description of the ejb-ref

getEjbRefName

public java.lang.String getEjbRefName()
Returns:
the name of the ejb-ref

getEjbRefType

public java.lang.String getEjbRefType()
Returns:
the type of the ejb-ref

getHome

public java.lang.String getHome()
Returns:
the home interface of the ejb-ref

getRemote

public java.lang.String getRemote()
Returns:
the remote interface of the ejb-ref

getEjbLink

public java.lang.String getEjbLink()
Returns:
the ejb-link of the ejb-ref

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 prexifing XML representation.
Returns:
the XML description of this object.