org.jboss.shrinkwrap.descriptor.api.connector15
Interface MessageadapterType<T>

All Superinterfaces:
Child<T>

public interface MessageadapterType<T>
extends Child<T>

This interface defines the contract for the messageadapterType xsd type

Since:
Generation date :2013-01-26T19:26:58.316+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 MessagelistenerType<MessageadapterType<T>> createMessagelistener()
          Creates a new messagelistener element
 List<MessagelistenerType<MessageadapterType<T>>> getAllMessagelistener()
          Returns all messagelistener elements
 String getId()
          Returns the id attribute
 MessagelistenerType<MessageadapterType<T>> getOrCreateMessagelistener()
          If not already created, a new messagelistener element will be created and returned.
 MessageadapterType<T> id(String id)
          Sets the id attribute
 MessageadapterType<T> removeAllMessagelistener()
          Removes all messagelistener elements
 MessageadapterType<T> removeId()
          Removes the id attribute
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

getOrCreateMessagelistener

MessagelistenerType<MessageadapterType<T>> getOrCreateMessagelistener()
If not already created, a new messagelistener element will be created and returned. Otherwise, the first existing messagelistener element will be returned.

Returns:
the instance defined for the element messagelistener

createMessagelistener

MessagelistenerType<MessageadapterType<T>> createMessagelistener()
Creates a new messagelistener element

Returns:
the new created instance of MessagelistenerType>

getAllMessagelistener

List<MessagelistenerType<MessageadapterType<T>>> getAllMessagelistener()
Returns all messagelistener elements

Returns:
list of messagelistener

removeAllMessagelistener

MessageadapterType<T> removeAllMessagelistener()
Removes all messagelistener elements

Returns:
the current instance of MessagelistenerType>

id

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

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

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

MessageadapterType<T> removeId()
Removes the id attribute

Returns:
the current instance of MessageadapterType


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