net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.javaee
Class AssemblyDescriptorType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pkg.indexed.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  ApplicationExceptionType[] applicationException
           
protected  ContainerTransactionType[] containerTransaction
           
protected  ExcludeListType excludeList
           
protected  String id
           
protected  InterceptorBindingType[] interceptorBinding
           
protected  MessageDestinationType[] messageDestination
           
protected  MethodPermissionType[] methodPermission
           
protected  SecurityRoleType[] securityRole
           
 
Constructor Summary
AssemblyDescriptorType()
          Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.javaee.AssemblyDescriptorType instance.
AssemblyDescriptorType(AssemblyDescriptorType o)
          Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.javaee.AssemblyDescriptorType instance by copying a given instance.
 
Method Summary
 AssemblyDescriptorType clone()
          Creates and returns a copy of this object.
 ApplicationExceptionType[] getApplicationException()
           
 ApplicationExceptionType getApplicationException(int idx)
           
 int getApplicationExceptionLength()
           
 ContainerTransactionType[] getContainerTransaction()
           
 ContainerTransactionType getContainerTransaction(int idx)
           
 int getContainerTransactionLength()
           
 ExcludeListType getExcludeList()
          Gets the value of the excludeList property.
 String getId()
          Gets the value of the id property.
 InterceptorBindingType[] getInterceptorBinding()
           
 InterceptorBindingType getInterceptorBinding(int idx)
           
 int getInterceptorBindingLength()
           
 MessageDestinationType[] getMessageDestination()
           
 MessageDestinationType getMessageDestination(int idx)
           
 int getMessageDestinationLength()
           
 MethodPermissionType[] getMethodPermission()
           
 MethodPermissionType getMethodPermission(int idx)
           
 int getMethodPermissionLength()
           
 SecurityRoleType[] getSecurityRole()
           
 SecurityRoleType getSecurityRole(int idx)
           
 int getSecurityRoleLength()
           
 void setApplicationException(ApplicationExceptionType[] values)
           
 ApplicationExceptionType setApplicationException(int idx, ApplicationExceptionType value)
           
 void setContainerTransaction(ContainerTransactionType[] values)
           
 ContainerTransactionType setContainerTransaction(int idx, ContainerTransactionType value)
           
 void setExcludeList(ExcludeListType value)
          Sets the value of the excludeList property.
 void setId(String value)
          Sets the value of the id property.
 void setInterceptorBinding(InterceptorBindingType[] values)
           
 InterceptorBindingType setInterceptorBinding(int idx, InterceptorBindingType value)
           
 MessageDestinationType setMessageDestination(int idx, MessageDestinationType value)
           
 void setMessageDestination(MessageDestinationType[] values)
           
 MethodPermissionType setMethodPermission(int idx, MethodPermissionType value)
           
 void setMethodPermission(MethodPermissionType[] values)
           
 SecurityRoleType setSecurityRole(int idx, SecurityRoleType value)
           
 void setSecurityRole(SecurityRoleType[] values)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

securityRole

protected SecurityRoleType[] securityRole

methodPermission

protected MethodPermissionType[] methodPermission

containerTransaction

protected ContainerTransactionType[] containerTransaction

interceptorBinding

protected InterceptorBindingType[] interceptorBinding

messageDestination

protected MessageDestinationType[] messageDestination

excludeList

protected ExcludeListType excludeList

applicationException

protected ApplicationExceptionType[] applicationException

id

protected String id
Constructor Detail

AssemblyDescriptorType

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


AssemblyDescriptorType

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

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

getSecurityRole

public SecurityRoleType[] getSecurityRole()
Returns:
array of SecurityRoleType

getSecurityRole

public SecurityRoleType getSecurityRole(int idx)
Returns:
one of SecurityRoleType

getSecurityRoleLength

public int getSecurityRoleLength()

setSecurityRole

public void setSecurityRole(SecurityRoleType[] values)
Parameters:
values - allowed objects are SecurityRoleType

setSecurityRole

public SecurityRoleType setSecurityRole(int idx,
                                        SecurityRoleType value)
Parameters:
value - allowed object is SecurityRoleType

getMethodPermission

public MethodPermissionType[] getMethodPermission()
Returns:
array of MethodPermissionType

getMethodPermission

public MethodPermissionType getMethodPermission(int idx)
Returns:
one of MethodPermissionType

getMethodPermissionLength

public int getMethodPermissionLength()

setMethodPermission

public void setMethodPermission(MethodPermissionType[] values)
Parameters:
values - allowed objects are MethodPermissionType

setMethodPermission

public MethodPermissionType setMethodPermission(int idx,
                                                MethodPermissionType value)
Parameters:
value - allowed object is MethodPermissionType

getContainerTransaction

public ContainerTransactionType[] getContainerTransaction()
Returns:
array of ContainerTransactionType

getContainerTransaction

public ContainerTransactionType getContainerTransaction(int idx)
Returns:
one of ContainerTransactionType

getContainerTransactionLength

public int getContainerTransactionLength()

setContainerTransaction

public void setContainerTransaction(ContainerTransactionType[] values)
Parameters:
values - allowed objects are ContainerTransactionType

setContainerTransaction

public ContainerTransactionType setContainerTransaction(int idx,
                                                        ContainerTransactionType value)
Parameters:
value - allowed object is ContainerTransactionType

getInterceptorBinding

public InterceptorBindingType[] getInterceptorBinding()
Returns:
array of InterceptorBindingType

getInterceptorBinding

public InterceptorBindingType getInterceptorBinding(int idx)
Returns:
one of InterceptorBindingType

getInterceptorBindingLength

public int getInterceptorBindingLength()

setInterceptorBinding

public void setInterceptorBinding(InterceptorBindingType[] values)
Parameters:
values - allowed objects are InterceptorBindingType

setInterceptorBinding

public InterceptorBindingType setInterceptorBinding(int idx,
                                                    InterceptorBindingType value)
Parameters:
value - allowed object is InterceptorBindingType

getMessageDestination

public MessageDestinationType[] getMessageDestination()
Returns:
array of MessageDestinationType

getMessageDestination

public MessageDestinationType getMessageDestination(int idx)
Returns:
one of MessageDestinationType

getMessageDestinationLength

public int getMessageDestinationLength()

setMessageDestination

public void setMessageDestination(MessageDestinationType[] values)
Parameters:
values - allowed objects are MessageDestinationType

setMessageDestination

public MessageDestinationType setMessageDestination(int idx,
                                                    MessageDestinationType value)
Parameters:
value - allowed object is 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 ApplicationExceptionType[] getApplicationException()
Returns:
array of ApplicationExceptionType

getApplicationException

public ApplicationExceptionType getApplicationException(int idx)
Returns:
one of ApplicationExceptionType

getApplicationExceptionLength

public int getApplicationExceptionLength()

setApplicationException

public void setApplicationException(ApplicationExceptionType[] values)
Parameters:
values - allowed objects are ApplicationExceptionType

setApplicationException

public ApplicationExceptionType setApplicationException(int idx,
                                                        ApplicationExceptionType value)
Parameters:
value - allowed object is 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

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.