public class MessagelistenerTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, MessagelistenerType<T>
messagelistenerType
xsd typeConstructor and 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) |
Modifier and Type | Method and Description |
---|---|
String |
getId()
Returns the
id attribute |
String |
getMessagelistenerType()
Returns the
messagelistener-type element |
ActivationspecType<MessagelistenerType<T>> |
getOrCreateActivationspec()
If not already created, a new
activationspec element with the given value will be created. |
MessagelistenerType<T> |
id(String id)
Sets the
id attribute |
MessagelistenerType<T> |
messagelistenerType(String messagelistenerType)
Sets the
messagelistener-type element |
MessagelistenerType<T> |
removeActivationspec()
Removes the
activationspec element |
MessagelistenerType<T> |
removeId()
Removes the
id attribute |
MessagelistenerType<T> |
removeMessagelistenerType()
Removes the
messagelistener-type element |
T |
up() |
public MessagelistenerTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public MessagelistenerType<T> messagelistenerType(String messagelistenerType)
messagelistener-type
elementmessagelistenerType
in interface MessagelistenerType<T>
messagelistenerType
- the value for the element messagelistener-type
MessagelistenerType
public String getMessagelistenerType()
messagelistener-type
elementgetMessagelistenerType
in interface MessagelistenerType<T>
messagelistener-type
public MessagelistenerType<T> removeMessagelistenerType()
messagelistener-type
elementremoveMessagelistenerType
in interface MessagelistenerType<T>
MessagelistenerType
public ActivationspecType<MessagelistenerType<T>> getOrCreateActivationspec()
activationspec
element with the given value will be created.
Otherwise, the existing activationspec
element will be returned.getOrCreateActivationspec
in interface MessagelistenerType<T>
ActivationspecType>
public MessagelistenerType<T> removeActivationspec()
activationspec
elementremoveActivationspec
in interface MessagelistenerType<T>
MessagelistenerType
public MessagelistenerType<T> id(String id)
id
attributeid
in interface MessagelistenerType<T>
id
- the value for the attribute id
MessagelistenerType
public String getId()
id
attributegetId
in interface MessagelistenerType<T>
id
public MessagelistenerType<T> removeId()
id
attributeremoveId
in interface MessagelistenerType<T>
MessagelistenerType
Copyright © 2021 JBoss by Red Hat. All rights reserved.