org.jboss.shrinkwrap.descriptor.api.connector17.MessageadapterType Maven / Gradle / Ivy
package org.jboss.shrinkwrap.descriptor.api.connector17;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.connector17.MessagelistenerType;
import org.jboss.shrinkwrap.descriptor.api.connector.*;
import org.jboss.shrinkwrap.descriptor.api.connector.JeeMessageadapterCommonType;
import org.jboss.shrinkwrap.descriptor.api.connector17.MessagelistenerType;/**
* This interface defines the contract for the messageadapterType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
*/
public interface MessageadapterType extends Child,
JeeMessageadapterCommonType,
MessagelistenerType>> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: MessageadapterType ElementName: javaee:messagelistenerType ElementType : messagelistener
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new messagelistener
element will be created and returned.
* Otherwise, the first existing messagelistener
element will be returned.
* @return the instance defined for the element messagelistener
*/
public MessagelistenerType> getOrCreateMessagelistener();
/**
* Creates a new messagelistener
element
* @return the new created instance of MessagelistenerType>
*/
public MessagelistenerType> createMessagelistener();
/**
* Returns all messagelistener
elements
* @return list of messagelistener
*/
public List>> getAllMessagelistener();
/**
* Removes all messagelistener
elements
* @return the current instance of MessagelistenerType>
*/
public MessageadapterType removeAllMessagelistener();
// --------------------------------------------------------------------------------------------------------||
// ClassName: MessageadapterType ElementName: xsd:ID ElementType : id
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the id
attribute
* @param id the value for the attribute id
* @return the current instance of MessageadapterType
*/
public MessageadapterType id(String id);
/**
* Returns the id
attribute
* @return the value defined for the attribute id
*/
public String getId();
/**
* Removes the id
attribute
* @return the current instance of MessageadapterType
*/
public MessageadapterType removeId();
}