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

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

public class AssemblyDescriptorType
extends Object
implements Serializable, Cloneable

The assembly-descriptorType defines application-assembly information. The application-assembly information consists of the following parts: the definition of security roles, the definition of method permissions, the definition of transaction attributes for enterprise beans with container-managed transaction demarcation, the definition of interceptor bindings, a list of methods to be excluded from being invoked, and a list of exception types that should be treated as application exceptions. All the parts are optional in the sense that they are omitted if the lists represented by them are empty. Providing an assembly-descriptor in the deployment descriptor is optional for the ejb-jar file producer.

Java class for assembly-descriptorType complex type.

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

 <complexType name="assembly-descriptorType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="security-role" type="{http://java.sun.com/xml/ns/javaee}security-roleType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="method-permission" type="{http://java.sun.com/xml/ns/javaee}method-permissionType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="container-transaction" type="{http://java.sun.com/xml/ns/javaee}container-transactionType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="interceptor-binding" type="{http://java.sun.com/xml/ns/javaee}interceptor-bindingType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="message-destination" type="{http://java.sun.com/xml/ns/javaee}message-destinationType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="exclude-list" type="{http://java.sun.com/xml/ns/javaee}exclude-listType" minOccurs="0"/>
         <element name="application-exception" type="{http://java.sun.com/xml/ns/javaee}application-exceptionType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<ApplicationExceptionType> applicationException
           
protected  List<ContainerTransactionType> containerTransaction
           
protected  ExcludeListType excludeList
           
protected  String id
           
protected  List<InterceptorBindingType> interceptorBinding
           
protected  List<MessageDestinationType> messageDestination
           
protected  List<MethodPermissionType> methodPermission
           
protected  List<SecurityRoleType> securityRole
           
 
Constructor Summary
AssemblyDescriptorType()
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.javaee.AssemblyDescriptorType instance.
AssemblyDescriptorType(AssemblyDescriptorType o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.javaee.AssemblyDescriptorType instance by copying a given instance.
 
Method Summary
 AssemblyDescriptorType clone()
          Creates and returns a copy of this object.
protected static void copyApplicationException(List<ApplicationExceptionType> source, List<ApplicationExceptionType> target)
          Copies all values of property ApplicationException.
protected static void copyContainerTransaction(List<ContainerTransactionType> source, List<ContainerTransactionType> target)
          Copies all values of property ContainerTransaction.
protected static void copyInterceptorBinding(List<InterceptorBindingType> source, List<InterceptorBindingType> target)
          Copies all values of property InterceptorBinding.
protected static void copyMessageDestination(List<MessageDestinationType> source, List<MessageDestinationType> target)
          Copies all values of property MessageDestination.
protected static void copyMethodPermission(List<MethodPermissionType> source, List<MethodPermissionType> target)
          Copies all values of property MethodPermission.
protected static void copySecurityRole(List<SecurityRoleType> source, List<SecurityRoleType> target)
          Copies all values of property SecurityRole.
 List<ApplicationExceptionType> getApplicationException()
          Gets the value of the applicationException property.
 List<ContainerTransactionType> getContainerTransaction()
          Gets the value of the containerTransaction property.
 ExcludeListType getExcludeList()
          Gets the value of the excludeList property.
 String getId()
          Gets the value of the id property.
 List<InterceptorBindingType> getInterceptorBinding()
          Gets the value of the interceptorBinding property.
 List<MessageDestinationType> getMessageDestination()
          Gets the value of the messageDestination property.
 List<MethodPermissionType> getMethodPermission()
          Gets the value of the methodPermission property.
 List<SecurityRoleType> getSecurityRole()
          Gets the value of the securityRole property.
 void setExcludeList(ExcludeListType value)
          Sets the value of the excludeList property.
 void setId(String value)
          Sets the value of the id property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

securityRole

protected List<SecurityRoleType> securityRole

methodPermission

protected List<MethodPermissionType> methodPermission

containerTransaction

protected List<ContainerTransactionType> containerTransaction

interceptorBinding

protected List<InterceptorBindingType> interceptorBinding

messageDestination

protected List<MessageDestinationType> messageDestination

excludeList

protected ExcludeListType excludeList

applicationException

protected List<ApplicationExceptionType> applicationException

id

protected String id
Constructor Detail

AssemblyDescriptorType

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


AssemblyDescriptorType

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

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

getSecurityRole

public List<SecurityRoleType> getSecurityRole()
Gets the value of the securityRole 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 securityRole property.

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

    getSecurityRole().add(newItem);
 

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


getMethodPermission

public List<MethodPermissionType> getMethodPermission()
Gets the value of the methodPermission 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 methodPermission property.

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

    getMethodPermission().add(newItem);
 

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


getContainerTransaction

public List<ContainerTransactionType> getContainerTransaction()
Gets the value of the containerTransaction 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 containerTransaction property.

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

    getContainerTransaction().add(newItem);
 

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


getInterceptorBinding

public List<InterceptorBindingType> getInterceptorBinding()
Gets the value of the interceptorBinding 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 interceptorBinding property.

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

    getInterceptorBinding().add(newItem);
 

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


getMessageDestination

public List<MessageDestinationType> getMessageDestination()
Gets the value of the messageDestination 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 messageDestination property.

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

    getMessageDestination().add(newItem);
 

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


getExcludeList

public ExcludeListType getExcludeList()
Gets the value of the excludeList property.

Returns:
possible object is ExcludeListType

setExcludeList

public void setExcludeList(ExcludeListType value)
Sets the value of the excludeList property.

Parameters:
value - allowed object is ExcludeListType

getApplicationException

public List<ApplicationExceptionType> getApplicationException()
Gets the value of the applicationException 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 applicationException property.

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

    getApplicationException().add(newItem);
 

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


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

copySecurityRole

protected static void copySecurityRole(List<SecurityRoleType> source,
                                       List<SecurityRoleType> target)
Copies all values of property SecurityRole.

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

copyMethodPermission

protected static void copyMethodPermission(List<MethodPermissionType> source,
                                           List<MethodPermissionType> target)
Copies all values of property MethodPermission.

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

copyContainerTransaction

protected static void copyContainerTransaction(List<ContainerTransactionType> source,
                                               List<ContainerTransactionType> target)
Copies all values of property ContainerTransaction.

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

copyInterceptorBinding

protected static void copyInterceptorBinding(List<InterceptorBindingType> source,
                                             List<InterceptorBindingType> target)
Copies all values of property InterceptorBinding.

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

copyMessageDestination

protected static void copyMessageDestination(List<MessageDestinationType> source,
                                             List<MessageDestinationType> target)
Copies all values of property MessageDestination.

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

copyApplicationException

protected static void copyApplicationException(List<ApplicationExceptionType> source,
                                               List<ApplicationExceptionType> target)
Copies all values of property ApplicationException.

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

clone

public AssemblyDescriptorType 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.