org.jboss.shrinkwrap.descriptor.api.connector17.InboundResourceadapterType 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.MessageadapterType;
import org.jboss.shrinkwrap.descriptor.api.connector.*;
import org.jboss.shrinkwrap.descriptor.api.connector.JeeInboundResourceadapterCommonType;
import org.jboss.shrinkwrap.descriptor.api.connector17.MessageadapterType;/**
* This interface defines the contract for the inbound-resourceadapterType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
*/
public interface InboundResourceadapterType extends Child,
JeeInboundResourceadapterCommonType,
MessageadapterType>> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: InboundResourceadapterType ElementName: javaee:messageadapterType ElementType : messageadapter
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new messageadapter
element with the given value will be created.
* Otherwise, the existing messageadapter
element will be returned.
* @return a new or existing instance of MessageadapterType>
*/
public MessageadapterType> getOrCreateMessageadapter();
/**
* Removes the messageadapter
element
* @return the current instance of InboundResourceadapterType
*/
public InboundResourceadapterType removeMessageadapter();
// --------------------------------------------------------------------------------------------------------||
// ClassName: InboundResourceadapterType 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 InboundResourceadapterType
*/
public InboundResourceadapterType 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 InboundResourceadapterType
*/
public InboundResourceadapterType removeId();
}