org.ow2.jonas.deployment.common.xml
Class EjbLocalRef

java.lang.Object
  extended by org.ow2.jonas.deployment.common.xml.AbsElement
      extended by org.ow2.jonas.deployment.common.xml.EjbLocalRef
All Implemented Interfaces:
Serializable, Element

public class EjbLocalRef
extends AbsElement

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

Author:
Florent Benoit
See Also:
Serialized Form

Constructor Summary
EjbLocalRef()
           
 
Method Summary
 String getDescription()
           
 String getEjbLink()
           
 String getEjbRefName()
           
 String getEjbRefType()
           
 String getLocal()
           
 String getLocalHome()
           
 void setDescription(String description)
          Sets the description
 void setEjbLink(String ejbLink)
          Sets the ejb-link
 void setEjbRefName(String ejbRefName)
          Sets the name
 void setEjbRefType(String ejbRefType)
          Sets the type
 void setLocal(String local)
          Sets the local interface
 void setLocalHome(String localHome)
          Sets the local home interface
 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

EjbLocalRef

public EjbLocalRef()
Method Detail

setDescription

public void setDescription(String description)
Sets the description

Parameters:
description - the description to use

setEjbRefName

public void setEjbRefName(String ejbRefName)
Sets the name

Parameters:
ejbRefName - the name to use

setEjbRefType

public void setEjbRefType(String ejbRefType)
Sets the type

Parameters:
ejbRefType - the type to use

setLocalHome

public void setLocalHome(String localHome)
Sets the local home interface

Parameters:
localHome - the local home interface to use

setLocal

public void setLocal(String local)
Sets the local interface

Parameters:
local - the local interface to use

setEjbLink

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

Parameters:
ejbLink - the ejb-link to use

getDescription

public String getDescription()
Returns:
the description of the ejb-local-ref

getEjbRefName

public String getEjbRefName()
Returns:
the name of the ejb-local-ref

getEjbRefType

public String getEjbRefType()
Returns:
the type of the ejb-local-ref

getLocalHome

public String getLocalHome()
Returns:
the local home interface of the ejb-local-ref

getLocal

public String getLocal()
Returns:
the local interface of the ejb-local-ref

getEjbLink

public String getEjbLink()
Returns:
the ejb-link of the ejb-local-ref

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


Copyright © 2010 OW2 Consortium. All Rights Reserved.