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  java.util.List<AssemblyDescriptor> assemblyDescriptors
           
protected  java.lang.String ejbClientJar
           
protected  java.lang.String ejbSpecsVersion
           
protected  java.util.List<EnterpriseBean> enterpriseBeans
           
protected  java.util.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
 java.util.List<AssemblyDescriptor> getAssemblyDescriptors()
          Gets the value of the assemblyDescriptors property.
 java.lang.String getEjbClientJar()
          Gets the value of the ejbClientJar property.
 java.lang.String getEjbSpecsVersion()
          Gets the value of the ejbSpecsVersion property.
 java.util.List<EnterpriseBean> getEnterpriseBeans()
          Gets the value of the enterpriseBeans property.
 java.util.List<Relationships> getRelationshipList()
          Gets the value of the relationshipList property.
 void setEjbClientJar(java.lang.String value)
          Sets the value of the ejbClientJar property.
 void setEjbSpecsVersion(java.lang.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 java.util.List<AssemblyDescriptor> assemblyDescriptors

enterpriseBeans

protected java.util.List<EnterpriseBean> enterpriseBeans

relationshipList

protected java.util.List<Relationships> relationshipList

ejbClientJar

protected java.lang.String ejbClientJar

ejbSpecsVersion

protected java.lang.String ejbSpecsVersion
Constructor Detail

EJBJar

public EJBJar()
Method Detail

getAssemblyDescriptors

public java.util.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 java.util.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 java.util.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 java.lang.String getEjbClientJar()
Gets the value of the ejbClientJar property.

Returns:
possible object is String

setEjbClientJar

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

Parameters:
value - allowed object is String

getEjbSpecsVersion

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

Returns:
possible object is String

setEjbSpecsVersion

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

Parameters:
value - allowed object is String


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