org.codehaus.cargo.module.ejb
Class EjbDef

java.lang.Object
  extended by org.codehaus.cargo.module.ejb.EjbDef
Direct Known Subclasses:
Entity, Session

public class EjbDef
extends Object

Class representing an EJB definition in a ejb-jar.xml descriptor.

Version:
$Id: EjbDef.java 1705 2008-09-02 13:14:55Z adriana $

Constructor Summary
EjbDef()
          Constructor.
EjbDef(String name)
          Constructor.
EjbDef(String name, String id)
          Constructor.
 
Method Summary
 String getId()
          Id accessor.
 String getLocal()
          Local accessor.
 String getLocalHome()
          LocalHome accessor.
 String getName()
          Name accessor.
 void setId(String id)
          Id setter.
 void setLocal(String local)
          Local setter.
 void setLocalHome(String localHome)
          LocalHome setter.
 void setName(String name)
          Name setter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EjbDef

public EjbDef()
Constructor.


EjbDef

public EjbDef(String name)
Constructor.

Parameters:
name - name of the ejb

EjbDef

public EjbDef(String name,
              String id)
Constructor.

Parameters:
name - name of the ejb
id - id of the ejb
Method Detail

getId

public String getId()
Id accessor.

Returns:
Returns the id.

setId

public void setId(String id)
Id setter.

Parameters:
id - The id to set.

getName

public String getName()
Name accessor.

Returns:
Returns the name.

setName

public void setName(String name)
Name setter.

Parameters:
name - The name to set.

getLocal

public String getLocal()
Local accessor.

Returns:
Returns the local.

setLocal

public void setLocal(String local)
Local setter.

Parameters:
local - The local to set.

getLocalHome

public String getLocalHome()
LocalHome accessor.

Returns:
Returns the localHome.

setLocalHome

public void setLocalHome(String localHome)
LocalHome setter.

Parameters:
localHome - The localHome to set.


Copyright © 2004-2012 Codehaus. All Rights Reserved.