net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.javaee
Interface AssemblyDescriptorType

All Known Implementing Classes:
AssemblyDescriptorTypeImpl

public interface AssemblyDescriptorType

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>
 


Method Summary
 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.
 

Method Detail

getSecurityRole

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

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

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

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

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

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

Returns:
possible object is ExcludeListType

setExcludeList

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

Parameters:
value - allowed object is ExcludeListType

getApplicationException

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

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

Returns:
possible object is String

setId

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

Parameters:
value - allowed object is String


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