org.apache.openejb.jee.was.v6.ejb
Class EJBJar

java.lang.Object
  extended by org.apache.openejb.jee.was.v6.common.DescriptionGroup
      extended by org.apache.openejb.jee.was.v6.common.CompatibilityDescriptionGroup
          extended by org.apache.openejb.jee.was.v6.ejb.EJBJar

public class EJBJar
extends CompatibilityDescriptionGroup

The root element of the EJB deployment descriptor. It contains an optional description of the ejb-jar file; optional display name; optional small icon file name; optional large icon file name; mandatory structural information about all included enterprise beans; a descriptor for container managed relationships, if any; an optional application-assembly descriptor; and an optional name of an ejb-client-jar file for the ejb-jar.

Java class for EJBJar complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="EJBJar">
   <complexContent>
     <extension base="{common.xmi}CompatibilityDescriptionGroup">
       <choice>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element name="assemblyDescriptor" type="{ejb.xmi}AssemblyDescriptor"/>
         </choice>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element name="enterpriseBeans" type="{ejb.xmi}EnterpriseBean"/>
         </choice>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element name="relationshipList" type="{ejb.xmi}Relationships"/>
         </choice>
       </choice>
       <attribute name="ejbClientJar" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<AssemblyDescriptor> assemblyDescriptors
           
protected  String ejbClientJar
           
protected  String ejbSpecsVersion
           
protected  List<EnterpriseBean> enterpriseBeans
           
protected  List<Relationships> relationshipList
           
 
Fields inherited from class org.apache.openejb.jee.was.v6.common.CompatibilityDescriptionGroup
description, displayName, largeIcon, smallIcon
 
Fields inherited from class org.apache.openejb.jee.was.v6.common.DescriptionGroup
descriptions, displayNames, extensions, href, icons, id, idref, label, type, uuid, version
 
Constructor Summary
EJBJar()
           
 
Method Summary
 List<AssemblyDescriptor> getAssemblyDescriptors()
          Gets the value of the assemblyDescriptors property.
 String getEjbClientJar()
          Gets the value of the ejbClientJar property.
 String getEjbSpecsVersion()
          Gets the value of the ejbSpecsVersion property.
 List<EnterpriseBean> getEnterpriseBeans()
          Gets the value of the enterpriseBeans property.
 List<Relationships> getRelationshipList()
          Gets the value of the relationshipList property.
 void setEjbClientJar(String value)
          Sets the value of the ejbClientJar property.
 void setEjbSpecsVersion(String value)
          Sets the value of the ejbSpecsVersion property.
 
Methods inherited from class org.apache.openejb.jee.was.v6.common.CompatibilityDescriptionGroup
getDescription, getDisplayName, getLargeIcon, getSmallIcon, setDescription, setDisplayName, setLargeIcon, setSmallIcon
 
Methods inherited from class org.apache.openejb.jee.was.v6.common.DescriptionGroup
getDescriptions, getDisplayNames, getExtensions, getHref, getIcons, getId, getIdref, getLabel, getType, getUuid, getVersion, setHref, setId, setIdref, setLabel, setType, setUuid, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

assemblyDescriptors

protected List<AssemblyDescriptor> assemblyDescriptors

enterpriseBeans

protected List<EnterpriseBean> enterpriseBeans

relationshipList

protected List<Relationships> relationshipList

ejbClientJar

protected String ejbClientJar

ejbSpecsVersion

protected String ejbSpecsVersion
Constructor Detail

EJBJar

public EJBJar()
Method Detail

getAssemblyDescriptors

public List<AssemblyDescriptor> getAssemblyDescriptors()
Gets the value of the assemblyDescriptors property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the assemblyDescriptors property.

For example, to add a new item, do as follows:

 getAssemblyDescriptors().add(newItem);
 

Objects of the following type(s) are allowed in the list AssemblyDescriptor


getEnterpriseBeans

public List<EnterpriseBean> getEnterpriseBeans()
Gets the value of the enterpriseBeans property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the enterpriseBeans property.

For example, to add a new item, do as follows:

 getEnterpriseBeans().add(newItem);
 

Objects of the following type(s) are allowed in the list EnterpriseBean


getRelationshipList

public List<Relationships> getRelationshipList()
Gets the value of the relationshipList property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the relationshipList property.

For example, to add a new item, do as follows:

 getRelationshipList().add(newItem);
 

Objects of the following type(s) are allowed in the list Relationships


getEjbClientJar

public String getEjbClientJar()
Gets the value of the ejbClientJar property.

Returns:
possible object is String

setEjbClientJar

public void setEjbClientJar(String value)
Sets the value of the ejbClientJar property.

Parameters:
value - allowed object is String

getEjbSpecsVersion

public String getEjbSpecsVersion()
Gets the value of the ejbSpecsVersion property.

Returns:
possible object is String

setEjbSpecsVersion

public void setEjbSpecsVersion(String value)
Sets the value of the ejbSpecsVersion property.

Parameters:
value - allowed object is String


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.