Class MessagelistenerTypeImpl<T>
- java.lang.Object
-
- org.jboss.shrinkwrap.descriptor.impl.connector17.MessagelistenerTypeImpl<T>
-
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,MessagelistenerType<T>
public class MessagelistenerTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, MessagelistenerType<T>
This class implements themessagelistenerTypexsd type
-
-
Constructor Summary
Constructors Constructor Description MessagelistenerTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)MessagelistenerTypeImpl(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 theidattributeStringgetMessagelistenerType()Returns themessagelistener-typeelementActivationspecType<MessagelistenerType<T>>getOrCreateActivationspec()If not already created, a newactivationspecelement with the given value will be created.MessagelistenerType<T>id(String id)Sets theidattributeMessagelistenerType<T>messagelistenerType(String messagelistenerType)Sets themessagelistener-typeelementMessagelistenerType<T>removeActivationspec()Removes theactivationspecelementMessagelistenerType<T>removeId()Removes theidattributeMessagelistenerType<T>removeMessagelistenerType()Removes themessagelistener-typeelementTup()
-
-
-
Method Detail
-
messagelistenerType
public MessagelistenerType<T> messagelistenerType(String messagelistenerType)
Sets themessagelistener-typeelement- Specified by:
messagelistenerTypein interfaceMessagelistenerType<T>- Parameters:
messagelistenerType- the value for the elementmessagelistener-type- Returns:
- the current instance of
MessagelistenerType
-
getMessagelistenerType
public String getMessagelistenerType()
Returns themessagelistener-typeelement- Specified by:
getMessagelistenerTypein interfaceMessagelistenerType<T>- Returns:
- the node defined for the element
messagelistener-type
-
removeMessagelistenerType
public MessagelistenerType<T> removeMessagelistenerType()
Removes themessagelistener-typeelement- Specified by:
removeMessagelistenerTypein interfaceMessagelistenerType<T>- Returns:
- the current instance of
MessagelistenerType
-
getOrCreateActivationspec
public ActivationspecType<MessagelistenerType<T>> getOrCreateActivationspec()
If not already created, a newactivationspecelement with the given value will be created. Otherwise, the existingactivationspecelement will be returned.- Specified by:
getOrCreateActivationspecin interfaceMessagelistenerType<T>- Returns:
- a new or existing instance of
ActivationspecType>
-
removeActivationspec
public MessagelistenerType<T> removeActivationspec()
Removes theactivationspecelement- Specified by:
removeActivationspecin interfaceMessagelistenerType<T>- Returns:
- the current instance of
MessagelistenerType
-
id
public MessagelistenerType<T> id(String id)
Sets theidattribute- Specified by:
idin interfaceMessagelistenerType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
MessagelistenerType
-
getId
public String getId()
Returns theidattribute- Specified by:
getIdin interfaceMessagelistenerType<T>- Returns:
- the value defined for the attribute
id
-
removeId
public MessagelistenerType<T> removeId()
Removes theidattribute- Specified by:
removeIdin interfaceMessagelistenerType<T>- Returns:
- the current instance of
MessagelistenerType
-
-