org.jboss.shrinkwrap.descriptor.api.jboss51
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 :2013-01-26T19:27:00.777+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 MessageDestinationType<AssemblyDescriptorType<T>> createMessageDestination()
          Creates a new message-destination element
 SecurityRoleType<AssemblyDescriptorType<T>> createSecurityRole()
          Creates a new security-role element
 List<MessageDestinationType<AssemblyDescriptorType<T>>> getAllMessageDestination()
          Returns all message-destination elements
 List<SecurityRoleType<AssemblyDescriptorType<T>>> getAllSecurityRole()
          Returns all security-role elements
 String getId()
          Returns the id attribute
 MessageDestinationType<AssemblyDescriptorType<T>> getOrCreateMessageDestination()
          If not already created, a new message-destination 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> id(String id)
          Sets the id attribute
 AssemblyDescriptorType<T> removeAllMessageDestination()
          Removes all message-destination elements
 AssemblyDescriptorType<T> removeAllSecurityRole()
          Removes all security-role elements
 AssemblyDescriptorType<T> removeId()
          Removes the id attribute
 
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>

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>

id

AssemblyDescriptorType<T> id(String id)
Sets the id attribute

Parameters:
id - the value for the attribute id
Returns:
the current instance of AssemblyDescriptorType

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

AssemblyDescriptorType<T> removeId()
Removes the id attribute

Returns:
the current instance of AssemblyDescriptorType


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.