net.sourceforge.ccxjc.it.model.prot.collections.valueclass.javaee
Class EjbJarType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.prot.collections.valueclass.javaee.EjbJarType
All Implemented Interfaces:
Serializable, Cloneable

public class EjbJarType
extends Object
implements Serializable, Cloneable

The ejb-jarType defines the root element of the EJB deployment descriptor. It contains - an optional description of the ejb-jar file - an optional display name - an optional icon that contains a small and a large icon file name - structural information about all included enterprise beans that is not specified through annotations - structural information about interceptor classes - a descriptor for container managed relationships, if any. - an optional application-assembly descriptor - an optional name of an ejb-client-jar file for the ejb-jar.

Java class for ejb-jarType complex type.

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

 <complexType name="ejb-jarType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
         <element name="enterprise-beans" type="{http://java.sun.com/xml/ns/javaee}enterprise-beansType" minOccurs="0"/>
         <element name="interceptors" type="{http://java.sun.com/xml/ns/javaee}interceptorsType" minOccurs="0"/>
         <element name="relationships" type="{http://java.sun.com/xml/ns/javaee}relationshipsType" minOccurs="0"/>
         <element name="assembly-descriptor" type="{http://java.sun.com/xml/ns/javaee}assembly-descriptorType" minOccurs="0"/>
         <element name="ejb-client-jar" type="{http://java.sun.com/xml/ns/javaee}pathType" minOccurs="0"/>
       </sequence>
       <attribute name="version" use="required" type="{http://java.sun.com/xml/ns/javaee}dewey-versionType" fixed="3.0" />
       <attribute name="metadata-complete" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  AssemblyDescriptorType assemblyDescriptor
           
protected  List<DescriptionType> description
           
protected  List<DisplayNameType> displayName
           
protected  PathType ejbClientJar
           
protected  EnterpriseBeansType enterpriseBeans
           
protected  List<IconType> icon
           
protected  String id
           
protected  InterceptorsType interceptors
           
protected  Boolean metadataComplete
           
protected  RelationshipsType relationships
           
protected  String version
           
 
Constructor Summary
EjbJarType()
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.javaee.EjbJarType instance.
EjbJarType(EjbJarType o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.javaee.EjbJarType instance by copying a given instance.
 
Method Summary
 EjbJarType clone()
          Creates and returns a copy of this object.
protected static void copyDescription(List<DescriptionType> source, List<DescriptionType> target)
          Copies all values of property Description.
protected static void copyDisplayName(List<DisplayNameType> source, List<DisplayNameType> target)
          Copies all values of property DisplayName.
protected static void copyIcon(List<IconType> source, List<IconType> target)
          Copies all values of property Icon.
 AssemblyDescriptorType getAssemblyDescriptor()
          Gets the value of the assemblyDescriptor property.
 List<DescriptionType> getDescription()
          Gets the value of the description property.
 List<DisplayNameType> getDisplayName()
          Gets the value of the displayName property.
 PathType getEjbClientJar()
          Gets the value of the ejbClientJar property.
 EnterpriseBeansType getEnterpriseBeans()
          Gets the value of the enterpriseBeans property.
 List<IconType> getIcon()
          Gets the value of the icon property.
 String getId()
          Gets the value of the id property.
 InterceptorsType getInterceptors()
          Gets the value of the interceptors property.
 RelationshipsType getRelationships()
          Gets the value of the relationships property.
 String getVersion()
          Gets the value of the version property.
 Boolean isMetadataComplete()
          Gets the value of the metadataComplete property.
 void setAssemblyDescriptor(AssemblyDescriptorType value)
          Sets the value of the assemblyDescriptor property.
 void setEjbClientJar(PathType value)
          Sets the value of the ejbClientJar property.
 void setEnterpriseBeans(EnterpriseBeansType value)
          Sets the value of the enterpriseBeans property.
 void setId(String value)
          Sets the value of the id property.
 void setInterceptors(InterceptorsType value)
          Sets the value of the interceptors property.
 void setMetadataComplete(Boolean value)
          Sets the value of the metadataComplete property.
 void setRelationships(RelationshipsType value)
          Sets the value of the relationships property.
 void setVersion(String value)
          Sets the value of the version property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected List<DescriptionType> description

displayName

protected List<DisplayNameType> displayName

icon

protected List<IconType> icon

enterpriseBeans

protected EnterpriseBeansType enterpriseBeans

interceptors

protected InterceptorsType interceptors

relationships

protected RelationshipsType relationships

assemblyDescriptor

protected AssemblyDescriptorType assemblyDescriptor

ejbClientJar

protected PathType ejbClientJar

version

protected String version

metadataComplete

protected Boolean metadataComplete

id

protected String id
Constructor Detail

EjbJarType

public EjbJarType()
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.javaee.EjbJarType instance.


EjbJarType

public EjbJarType(EjbJarType o)
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.javaee.EjbJarType instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getDescription

public List<DescriptionType> getDescription()
Gets the value of the description 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 description property.

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

    getDescription().add(newItem);
 

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


getDisplayName

public List<DisplayNameType> getDisplayName()
Gets the value of the displayName 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 displayName property.

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

    getDisplayName().add(newItem);
 

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


getIcon

public List<IconType> getIcon()
Gets the value of the icon 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 icon property.

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

    getIcon().add(newItem);
 

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


getEnterpriseBeans

public EnterpriseBeansType getEnterpriseBeans()
Gets the value of the enterpriseBeans property.

Returns:
possible object is EnterpriseBeansType

setEnterpriseBeans

public void setEnterpriseBeans(EnterpriseBeansType value)
Sets the value of the enterpriseBeans property.

Parameters:
value - allowed object is EnterpriseBeansType

getInterceptors

public InterceptorsType getInterceptors()
Gets the value of the interceptors property.

Returns:
possible object is InterceptorsType

setInterceptors

public void setInterceptors(InterceptorsType value)
Sets the value of the interceptors property.

Parameters:
value - allowed object is InterceptorsType

getRelationships

public RelationshipsType getRelationships()
Gets the value of the relationships property.

Returns:
possible object is RelationshipsType

setRelationships

public void setRelationships(RelationshipsType value)
Sets the value of the relationships property.

Parameters:
value - allowed object is RelationshipsType

getAssemblyDescriptor

public AssemblyDescriptorType getAssemblyDescriptor()
Gets the value of the assemblyDescriptor property.

Returns:
possible object is AssemblyDescriptorType

setAssemblyDescriptor

public void setAssemblyDescriptor(AssemblyDescriptorType value)
Sets the value of the assemblyDescriptor property.

Parameters:
value - allowed object is AssemblyDescriptorType

getEjbClientJar

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

Returns:
possible object is PathType

setEjbClientJar

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

Parameters:
value - allowed object is PathType

getVersion

public String getVersion()
Gets the value of the version property.

Returns:
possible object is String

setVersion

public void setVersion(String value)
Sets the value of the version property.

Parameters:
value - allowed object is String

isMetadataComplete

public Boolean isMetadataComplete()
Gets the value of the metadataComplete property.

Returns:
possible object is Boolean

setMetadataComplete

public void setMetadataComplete(Boolean value)
Sets the value of the metadataComplete property.

Parameters:
value - allowed object is Boolean

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

copyDescription

protected static void copyDescription(List<DescriptionType> source,
                                      List<DescriptionType> target)
Copies all values of property Description.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

copyDisplayName

protected static void copyDisplayName(List<DisplayNameType> source,
                                      List<DisplayNameType> target)
Copies all values of property DisplayName.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

copyIcon

protected static void copyIcon(List<IconType> source,
                               List<IconType> target)
Copies all values of property Icon.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

clone

public EjbJarType clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.