public class MessageDestinationRefTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, MessageDestinationRefType<T>
message-destination-refType xsd type| Constructor and Description |
|---|
MessageDestinationRefTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node) |
MessageDestinationRefTypeImpl(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 |
|---|---|
InjectionTargetType<MessageDestinationRefType<T>> |
createInjectionTarget()
Creates a new
injection-target element |
MessageDestinationRefType<T> |
description(String... values)
Creates for all String objects representing
description elements,
a new description element |
List<String> |
getAllDescription()
Returns all
description elements |
List<InjectionTargetType<MessageDestinationRefType<T>>> |
getAllInjectionTarget()
Returns all
injection-target elements |
String |
getId()
Returns the
id attribute |
String |
getLookupName()
Returns the
lookup-name element |
String |
getMappedName()
Returns the
mapped-name element |
String |
getMessageDestinationLink()
Returns the
message-destination-link element |
String |
getMessageDestinationRefName()
Returns the
message-destination-ref-name element |
String |
getMessageDestinationType()
Returns the
message-destination-type element |
MessageDestinationUsageType |
getMessageDestinationUsage()
Returns the
message-destination-usage element |
String |
getMessageDestinationUsageAsString()
Returns the
message-destination-usage element |
InjectionTargetType<MessageDestinationRefType<T>> |
getOrCreateInjectionTarget()
If not already created, a new
injection-target element will be created and returned. |
MessageDestinationRefType<T> |
id(String id)
Sets the
id attribute |
MessageDestinationRefType<T> |
lookupName(String lookupName)
Sets the
lookup-name element |
MessageDestinationRefType<T> |
mappedName(String mappedName)
Sets the
mapped-name element |
MessageDestinationRefType<T> |
messageDestinationLink(String messageDestinationLink)
Sets the
message-destination-link element |
MessageDestinationRefType<T> |
messageDestinationRefName(String messageDestinationRefName)
Sets the
message-destination-ref-name element |
MessageDestinationRefType<T> |
messageDestinationType(String messageDestinationType)
Sets the
message-destination-type element |
MessageDestinationRefType<T> |
messageDestinationUsage(MessageDestinationUsageType messageDestinationUsage)
Sets the
message-destination-usage element |
MessageDestinationRefType<T> |
messageDestinationUsage(String messageDestinationUsage)
Sets the
message-destination-usage element |
MessageDestinationRefType<T> |
removeAllDescription()
Removes the
description element |
MessageDestinationRefType<T> |
removeAllInjectionTarget()
Removes all
injection-target elements |
MessageDestinationRefType<T> |
removeId()
Removes the
id attribute |
MessageDestinationRefType<T> |
removeLookupName()
Removes the
lookup-name element |
MessageDestinationRefType<T> |
removeMappedName()
Removes the
mapped-name element |
MessageDestinationRefType<T> |
removeMessageDestinationLink()
Removes the
message-destination-link element |
MessageDestinationRefType<T> |
removeMessageDestinationRefName()
Removes the
message-destination-ref-name element |
MessageDestinationRefType<T> |
removeMessageDestinationType()
Removes the
message-destination-type element |
MessageDestinationRefType<T> |
removeMessageDestinationUsage()
Removes the
message-destination-usage attribute |
T |
up() |
public MessageDestinationRefTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public MessageDestinationRefType<T> lookupName(String lookupName)
lookup-name elementlookupName in interface MessageDestinationRefType<T>lookupName - the value for the element lookup-nameMessageDestinationRefTypepublic String getLookupName()
lookup-name elementgetLookupName in interface MessageDestinationRefType<T>lookup-namepublic MessageDestinationRefType<T> removeLookupName()
lookup-name elementremoveLookupName in interface MessageDestinationRefType<T>MessageDestinationRefTypepublic MessageDestinationRefType<T> mappedName(String mappedName)
mapped-name elementmappedName in interface MessageDestinationRefType<T>mappedName - the value for the element mapped-nameMessageDestinationRefTypepublic String getMappedName()
mapped-name elementgetMappedName in interface MessageDestinationRefType<T>mapped-namepublic MessageDestinationRefType<T> removeMappedName()
mapped-name elementremoveMappedName in interface MessageDestinationRefType<T>MessageDestinationRefTypepublic InjectionTargetType<MessageDestinationRefType<T>> getOrCreateInjectionTarget()
injection-target element will be created and returned.
Otherwise, the first existing injection-target element will be returned.getOrCreateInjectionTarget in interface MessageDestinationRefType<T>injection-targetpublic InjectionTargetType<MessageDestinationRefType<T>> createInjectionTarget()
injection-target elementcreateInjectionTarget in interface MessageDestinationRefType<T>InjectionTargetType> public List<InjectionTargetType<MessageDestinationRefType<T>>> getAllInjectionTarget()
injection-target elementsgetAllInjectionTarget in interface MessageDestinationRefType<T>injection-targetpublic MessageDestinationRefType<T> removeAllInjectionTarget()
injection-target elementsremoveAllInjectionTarget in interface MessageDestinationRefType<T>InjectionTargetType> public MessageDestinationRefType<T> description(String... values)
description elements,
a new description elementdescription in interface MessageDestinationRefType<T>values - list of description objectsMessageDestinationRefTypepublic List<String> getAllDescription()
description elementsgetAllDescription in interface MessageDestinationRefType<T>descriptionpublic MessageDestinationRefType<T> removeAllDescription()
description elementremoveAllDescription in interface MessageDestinationRefType<T>MessageDestinationRefTypepublic MessageDestinationRefType<T> messageDestinationRefName(String messageDestinationRefName)
message-destination-ref-name elementmessageDestinationRefName in interface MessageDestinationRefType<T>messageDestinationRefName - the value for the element message-destination-ref-nameMessageDestinationRefTypepublic String getMessageDestinationRefName()
message-destination-ref-name elementgetMessageDestinationRefName in interface MessageDestinationRefType<T>message-destination-ref-namepublic MessageDestinationRefType<T> removeMessageDestinationRefName()
message-destination-ref-name elementremoveMessageDestinationRefName in interface MessageDestinationRefType<T>MessageDestinationRefTypepublic MessageDestinationRefType<T> messageDestinationType(String messageDestinationType)
message-destination-type elementmessageDestinationType in interface MessageDestinationRefType<T>messageDestinationType - the value for the element message-destination-typeMessageDestinationRefTypepublic String getMessageDestinationType()
message-destination-type elementgetMessageDestinationType in interface MessageDestinationRefType<T>message-destination-typepublic MessageDestinationRefType<T> removeMessageDestinationType()
message-destination-type elementremoveMessageDestinationType in interface MessageDestinationRefType<T>MessageDestinationRefTypepublic MessageDestinationRefType<T> messageDestinationUsage(MessageDestinationUsageType messageDestinationUsage)
message-destination-usage elementmessageDestinationUsage in interface MessageDestinationRefType<T>messageDestinationUsage - the value for the element message-destination-usageMessageDestinationRefTypepublic MessageDestinationRefType<T> messageDestinationUsage(String messageDestinationUsage)
message-destination-usage elementmessageDestinationUsage in interface MessageDestinationRefType<T>messageDestinationUsage - the value for the element message-destination-usageMessageDestinationRefTypepublic MessageDestinationUsageType getMessageDestinationUsage()
message-destination-usage elementgetMessageDestinationUsage in interface MessageDestinationRefType<T>message-destination-usagepublic String getMessageDestinationUsageAsString()
message-destination-usage elementgetMessageDestinationUsageAsString in interface MessageDestinationRefType<T>message-destination-usagepublic MessageDestinationRefType<T> removeMessageDestinationUsage()
message-destination-usage attributeremoveMessageDestinationUsage in interface MessageDestinationRefType<T>MessageDestinationRefTypepublic MessageDestinationRefType<T> messageDestinationLink(String messageDestinationLink)
message-destination-link elementmessageDestinationLink in interface MessageDestinationRefType<T>messageDestinationLink - the value for the element message-destination-linkMessageDestinationRefTypepublic String getMessageDestinationLink()
message-destination-link elementgetMessageDestinationLink in interface MessageDestinationRefType<T>message-destination-linkpublic MessageDestinationRefType<T> removeMessageDestinationLink()
message-destination-link elementremoveMessageDestinationLink in interface MessageDestinationRefType<T>MessageDestinationRefTypepublic MessageDestinationRefType<T> id(String id)
id attributeid in interface MessageDestinationRefType<T>id - the value for the attribute idMessageDestinationRefTypepublic String getId()
id attributegetId in interface MessageDestinationRefType<T>idpublic MessageDestinationRefType<T> removeId()
id attributeremoveId in interface MessageDestinationRefType<T>MessageDestinationRefTypeCopyright © 2021 JBoss by Red Hat. All rights reserved.