ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.ejbjar31
Interface AssemblyDescriptorType<T>

All Superinterfaces:
Child<T>

public interface AssemblyDescriptorType<T>
extends Child<T>

This interface defines the contract for the assembly-descriptorType xsd type

Since:
Generation date :2012-05-09T23:45:05.33-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 ApplicationExceptionType<AssemblyDescriptorType<T>> createApplicationException()
          Creates a new application-exception element
 ContainerTransactionType<AssemblyDescriptorType<T>> createContainerTransaction()
          Creates a new container-transaction element
 InterceptorBindingType<AssemblyDescriptorType<T>> createInterceptorBinding()
          Creates a new interceptor-binding element
 MessageDestinationType<AssemblyDescriptorType<T>> createMessageDestination()
          Creates a new message-destination element
 MethodPermissionType<AssemblyDescriptorType<T>> createMethodPermission()
          Creates a new method-permission element
 SecurityRoleType<AssemblyDescriptorType<T>> createSecurityRole()
          Creates a new security-role element
 List<ApplicationExceptionType<AssemblyDescriptorType<T>>> getAllApplicationException()
          Returns all application-exception elements
 List<ContainerTransactionType<AssemblyDescriptorType<T>>> getAllContainerTransaction()
          Returns all container-transaction elements
 List<InterceptorBindingType<AssemblyDescriptorType<T>>> getAllInterceptorBinding()
          Returns all interceptor-binding elements
 List<MessageDestinationType<AssemblyDescriptorType<T>>> getAllMessageDestination()
          Returns all message-destination elements
 List<MethodPermissionType<AssemblyDescriptorType<T>>> getAllMethodPermission()
          Returns all method-permission elements
 List<SecurityRoleType<AssemblyDescriptorType<T>>> getAllSecurityRole()
          Returns all security-role elements
 ApplicationExceptionType<AssemblyDescriptorType<T>> getOrCreateApplicationException()
          If not already created, a new application-exception element will be created and returned.
 ContainerTransactionType<AssemblyDescriptorType<T>> getOrCreateContainerTransaction()
          If not already created, a new container-transaction element will be created and returned.
 ExcludeListType<AssemblyDescriptorType<T>> getOrCreateExcludeList()
          If not already created, a new exclude-list element with the given value will be created.
 InterceptorBindingType<AssemblyDescriptorType<T>> getOrCreateInterceptorBinding()
          If not already created, a new interceptor-binding element will be created and returned.
 MessageDestinationType<AssemblyDescriptorType<T>> getOrCreateMessageDestination()
          If not already created, a new message-destination element will be created and returned.
 MethodPermissionType<AssemblyDescriptorType<T>> getOrCreateMethodPermission()
          If not already created, a new method-permission element will be created and returned.
 SecurityRoleType<AssemblyDescriptorType<T>> getOrCreateSecurityRole()
          If not already created, a new security-role element will be created and returned.
 AssemblyDescriptorType<T> removeAllApplicationException()
          Removes all application-exception elements
 AssemblyDescriptorType<T> removeAllContainerTransaction()
          Removes all container-transaction elements
 AssemblyDescriptorType<T> removeAllInterceptorBinding()
          Removes all interceptor-binding elements
 AssemblyDescriptorType<T> removeAllMessageDestination()
          Removes all message-destination elements
 AssemblyDescriptorType<T> removeAllMethodPermission()
          Removes all method-permission elements
 AssemblyDescriptorType<T> removeAllSecurityRole()
          Removes all security-role elements
 AssemblyDescriptorType<T> removeExcludeList()
          Removes the exclude-list element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

getOrCreateSecurityRole

SecurityRoleType<AssemblyDescriptorType<T>> getOrCreateSecurityRole()
If not already created, a new security-role element will be created and returned. Otherwise, the first existing security-role element will be returned.

Returns:
the instance defined for the element security-role

createSecurityRole

SecurityRoleType<AssemblyDescriptorType<T>> createSecurityRole()
Creates a new security-role element

Returns:
the new created instance of SecurityRoleType>

getAllSecurityRole

List<SecurityRoleType<AssemblyDescriptorType<T>>> getAllSecurityRole()
Returns all security-role elements

Returns:
list of security-role

removeAllSecurityRole

AssemblyDescriptorType<T> removeAllSecurityRole()
Removes all security-role elements

Returns:
the current instance of SecurityRoleType>

getOrCreateMethodPermission

MethodPermissionType<AssemblyDescriptorType<T>> getOrCreateMethodPermission()
If not already created, a new method-permission element will be created and returned. Otherwise, the first existing method-permission element will be returned.

Returns:
the instance defined for the element method-permission

createMethodPermission

MethodPermissionType<AssemblyDescriptorType<T>> createMethodPermission()
Creates a new method-permission element

Returns:
the new created instance of MethodPermissionType>

getAllMethodPermission

List<MethodPermissionType<AssemblyDescriptorType<T>>> getAllMethodPermission()
Returns all method-permission elements

Returns:
list of method-permission

removeAllMethodPermission

AssemblyDescriptorType<T> removeAllMethodPermission()
Removes all method-permission elements

Returns:
the current instance of MethodPermissionType>

getOrCreateContainerTransaction

ContainerTransactionType<AssemblyDescriptorType<T>> getOrCreateContainerTransaction()
If not already created, a new container-transaction element will be created and returned. Otherwise, the first existing container-transaction element will be returned.

Returns:
the instance defined for the element container-transaction

createContainerTransaction

ContainerTransactionType<AssemblyDescriptorType<T>> createContainerTransaction()
Creates a new container-transaction element

Returns:
the new created instance of ContainerTransactionType>

getAllContainerTransaction

List<ContainerTransactionType<AssemblyDescriptorType<T>>> getAllContainerTransaction()
Returns all container-transaction elements

Returns:
list of container-transaction

removeAllContainerTransaction

AssemblyDescriptorType<T> removeAllContainerTransaction()
Removes all container-transaction elements

Returns:
the current instance of ContainerTransactionType>

getOrCreateInterceptorBinding

InterceptorBindingType<AssemblyDescriptorType<T>> getOrCreateInterceptorBinding()
If not already created, a new interceptor-binding element will be created and returned. Otherwise, the first existing interceptor-binding element will be returned.

Returns:
the instance defined for the element interceptor-binding

createInterceptorBinding

InterceptorBindingType<AssemblyDescriptorType<T>> createInterceptorBinding()
Creates a new interceptor-binding element

Returns:
the new created instance of InterceptorBindingType>

getAllInterceptorBinding

List<InterceptorBindingType<AssemblyDescriptorType<T>>> getAllInterceptorBinding()
Returns all interceptor-binding elements

Returns:
list of interceptor-binding

removeAllInterceptorBinding

AssemblyDescriptorType<T> removeAllInterceptorBinding()
Removes all interceptor-binding elements

Returns:
the current instance of InterceptorBindingType>

getOrCreateMessageDestination

MessageDestinationType<AssemblyDescriptorType<T>> getOrCreateMessageDestination()
If not already created, a new message-destination element will be created and returned. Otherwise, the first existing message-destination element will be returned.

Returns:
the instance defined for the element message-destination

createMessageDestination

MessageDestinationType<AssemblyDescriptorType<T>> createMessageDestination()
Creates a new message-destination element

Returns:
the new created instance of MessageDestinationType>

getAllMessageDestination

List<MessageDestinationType<AssemblyDescriptorType<T>>> getAllMessageDestination()
Returns all message-destination elements

Returns:
list of message-destination

removeAllMessageDestination

AssemblyDescriptorType<T> removeAllMessageDestination()
Removes all message-destination elements

Returns:
the current instance of MessageDestinationType>

getOrCreateExcludeList

ExcludeListType<AssemblyDescriptorType<T>> getOrCreateExcludeList()
If not already created, a new exclude-list element with the given value will be created. Otherwise, the existing exclude-list element will be returned.

Returns:
a new or existing instance of ExcludeListType>

removeExcludeList

AssemblyDescriptorType<T> removeExcludeList()
Removes the exclude-list element

Returns:
the current instance of AssemblyDescriptorType

getOrCreateApplicationException

ApplicationExceptionType<AssemblyDescriptorType<T>> getOrCreateApplicationException()
If not already created, a new application-exception element will be created and returned. Otherwise, the first existing application-exception element will be returned.

Returns:
the instance defined for the element application-exception

createApplicationException

ApplicationExceptionType<AssemblyDescriptorType<T>> createApplicationException()
Creates a new application-exception element

Returns:
the new created instance of ApplicationExceptionType>

getAllApplicationException

List<ApplicationExceptionType<AssemblyDescriptorType<T>>> getAllApplicationException()
Returns all application-exception elements

Returns:
list of application-exception

removeAllApplicationException

AssemblyDescriptorType<T> removeAllApplicationException()
Removes all application-exception elements

Returns:
the current instance of ApplicationExceptionType>

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.