Class InboundResourceadapterTypeImpl<T>
- java.lang.Object
-
- org.jboss.shrinkwrap.descriptor.impl.connector17.InboundResourceadapterTypeImpl<T>
-
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,InboundResourceadapterType<T>
public class InboundResourceadapterTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, InboundResourceadapterType<T>
This class implements theinbound-resourceadapterTypexsd type
-
-
Constructor Summary
Constructors Constructor Description InboundResourceadapterTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)InboundResourceadapterTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()Returns theidattributeMessageadapterType<InboundResourceadapterType<T>>getOrCreateMessageadapter()If not already created, a newmessageadapterelement with the given value will be created.InboundResourceadapterType<T>id(String id)Sets theidattributeInboundResourceadapterType<T>removeId()Removes theidattributeInboundResourceadapterType<T>removeMessageadapter()Removes themessageadapterelementTup()
-
-
-
Method Detail
-
getOrCreateMessageadapter
public MessageadapterType<InboundResourceadapterType<T>> getOrCreateMessageadapter()
If not already created, a newmessageadapterelement with the given value will be created. Otherwise, the existingmessageadapterelement will be returned.- Specified by:
getOrCreateMessageadapterin interfaceInboundResourceadapterType<T>- Returns:
- a new or existing instance of
MessageadapterType>
-
removeMessageadapter
public InboundResourceadapterType<T> removeMessageadapter()
Removes themessageadapterelement- Specified by:
removeMessageadapterin interfaceInboundResourceadapterType<T>- Returns:
- the current instance of
InboundResourceadapterType
-
id
public InboundResourceadapterType<T> id(String id)
Sets theidattribute- Specified by:
idin interfaceInboundResourceadapterType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
InboundResourceadapterType
-
getId
public String getId()
Returns theidattribute- Specified by:
getIdin interfaceInboundResourceadapterType<T>- Returns:
- the value defined for the attribute
id
-
removeId
public InboundResourceadapterType<T> removeId()
Removes theidattribute- Specified by:
removeIdin interfaceInboundResourceadapterType<T>- Returns:
- the current instance of
InboundResourceadapterType
-
-