org.ow2.jonas.deployment.ejb.xml
Class EjbJar

java.lang.Object
  extended by org.ow2.jonas.deployment.common.xml.AbsElement
      extended by org.ow2.jonas.deployment.common.xml.AbsDescriptionElement
          extended by org.ow2.jonas.deployment.ejb.xml.EjbJar
All Implemented Interfaces:
Serializable, DescriptionGroupXml, Element, TopLevelElement

public class EjbJar
extends AbsDescriptionElement
implements TopLevelElement, DescriptionGroupXml

This class defines the implementation of the element ejb-jar

Author:
JOnAS team
See Also:
Serialized Form

Constructor Summary
EjbJar()
          Constructor
 
Method Summary
 AssemblyDescriptor getAssemblyDescriptor()
          Gets the assembly-descriptor
 String getEjbClientJar()
          Gets the ejb-client-jar
 EnterpriseBeans getEnterpriseBeans()
          Gets the enterprise-beans
 String getPublicId()
          Get the PublicId of the DTD used
 Relationships getRelationships()
          Gets the relationships
 String getVersion()
          Get the Version of the EJB specification
 void setAssemblyDescriptor(AssemblyDescriptor assemblyDescriptor)
          Set the assembly-descriptor
 void setEjbClientJar(String ejbClientJar)
          Set the ejb-client-jar
 void setEnterpriseBeans(EnterpriseBeans enterpriseBeans)
          Set the enterprise-beans
 void setPublicId(String pid)
          Set the PublicId of the DTD used
 void setRelationships(Relationships relationships)
          Set the relationships
 void setVersion(String ver)
          Set the Version of the EJB specification
 String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.ow2.jonas.deployment.common.xml.AbsDescriptionElement
getDescription, getDisplayName, getIcon, setDescription, setDisplayName, setIcon, setLargeIcon, setLargeIcon, setSmallIcon, setSmallIcon
 
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
 
Methods inherited from interface org.ow2.jonas.deployment.common.xml.DescriptionGroupXml
getDescription, getDisplayName, getIcon
 

Constructor Detail

EjbJar

public EjbJar()
Constructor

Method Detail

getPublicId

public String getPublicId()
Get the PublicId of the DTD used

Returns:
the PublicId

setPublicId

public void setPublicId(String pid)
Set the PublicId of the DTD used

Parameters:
pid - the publicId

getVersion

public String getVersion()
Get the Version of the EJB specification

Returns:
the Version

setVersion

public void setVersion(String ver)
Set the Version of the EJB specification

Parameters:
ver - the version

getEnterpriseBeans

public EnterpriseBeans getEnterpriseBeans()
Gets the enterprise-beans

Returns:
the enterprise-beans

setEnterpriseBeans

public void setEnterpriseBeans(EnterpriseBeans enterpriseBeans)
Set the enterprise-beans

Parameters:
enterpriseBeans - enterpriseBeans

getRelationships

public Relationships getRelationships()
Gets the relationships

Returns:
the relationships

setRelationships

public void setRelationships(Relationships relationships)
Set the relationships

Parameters:
relationships - relationships

getAssemblyDescriptor

public AssemblyDescriptor getAssemblyDescriptor()
Gets the assembly-descriptor

Returns:
the assembly-descriptor

setAssemblyDescriptor

public void setAssemblyDescriptor(AssemblyDescriptor assemblyDescriptor)
Set the assembly-descriptor

Parameters:
assemblyDescriptor - assemblyDescriptor

getEjbClientJar

public String getEjbClientJar()
Gets the ejb-client-jar

Returns:
the ejb-client-jar

setEjbClientJar

public void setEjbClientJar(String ejbClientJar)
Set the ejb-client-jar

Parameters:
ejbClientJar - ejbClientJar

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.