public class MessageDestinationRefTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, MessageDestinationRefType<T>
message-destination-refType
xsd typeConstructor 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-name
MessageDestinationRefType
public String getLookupName()
lookup-name
elementgetLookupName
in interface MessageDestinationRefType<T>
lookup-name
public MessageDestinationRefType<T> removeLookupName()
lookup-name
elementremoveLookupName
in interface MessageDestinationRefType<T>
MessageDestinationRefType
public MessageDestinationRefType<T> mappedName(String mappedName)
mapped-name
elementmappedName
in interface MessageDestinationRefType<T>
mappedName
- the value for the element mapped-name
MessageDestinationRefType
public String getMappedName()
mapped-name
elementgetMappedName
in interface MessageDestinationRefType<T>
mapped-name
public MessageDestinationRefType<T> removeMappedName()
mapped-name
elementremoveMappedName
in interface MessageDestinationRefType<T>
MessageDestinationRefType
public 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-target
public 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-target
public 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
objectsMessageDestinationRefType
public List<String> getAllDescription()
description
elementsgetAllDescription
in interface MessageDestinationRefType<T>
description
public MessageDestinationRefType<T> removeAllDescription()
description
elementremoveAllDescription
in interface MessageDestinationRefType<T>
MessageDestinationRefType
public MessageDestinationRefType<T> messageDestinationRefName(String messageDestinationRefName)
message-destination-ref-name
elementmessageDestinationRefName
in interface MessageDestinationRefType<T>
messageDestinationRefName
- the value for the element message-destination-ref-name
MessageDestinationRefType
public String getMessageDestinationRefName()
message-destination-ref-name
elementgetMessageDestinationRefName
in interface MessageDestinationRefType<T>
message-destination-ref-name
public MessageDestinationRefType<T> removeMessageDestinationRefName()
message-destination-ref-name
elementremoveMessageDestinationRefName
in interface MessageDestinationRefType<T>
MessageDestinationRefType
public MessageDestinationRefType<T> messageDestinationType(String messageDestinationType)
message-destination-type
elementmessageDestinationType
in interface MessageDestinationRefType<T>
messageDestinationType
- the value for the element message-destination-type
MessageDestinationRefType
public String getMessageDestinationType()
message-destination-type
elementgetMessageDestinationType
in interface MessageDestinationRefType<T>
message-destination-type
public MessageDestinationRefType<T> removeMessageDestinationType()
message-destination-type
elementremoveMessageDestinationType
in interface MessageDestinationRefType<T>
MessageDestinationRefType
public MessageDestinationRefType<T> messageDestinationUsage(MessageDestinationUsageType messageDestinationUsage)
message-destination-usage
elementmessageDestinationUsage
in interface MessageDestinationRefType<T>
messageDestinationUsage
- the value for the element message-destination-usage
MessageDestinationRefType
public MessageDestinationRefType<T> messageDestinationUsage(String messageDestinationUsage)
message-destination-usage
elementmessageDestinationUsage
in interface MessageDestinationRefType<T>
messageDestinationUsage
- the value for the element message-destination-usage
MessageDestinationRefType
public MessageDestinationUsageType getMessageDestinationUsage()
message-destination-usage
elementgetMessageDestinationUsage
in interface MessageDestinationRefType<T>
message-destination-usage
public String getMessageDestinationUsageAsString()
message-destination-usage
elementgetMessageDestinationUsageAsString
in interface MessageDestinationRefType<T>
message-destination-usage
public MessageDestinationRefType<T> removeMessageDestinationUsage()
message-destination-usage
attributeremoveMessageDestinationUsage
in interface MessageDestinationRefType<T>
MessageDestinationRefType
public MessageDestinationRefType<T> messageDestinationLink(String messageDestinationLink)
message-destination-link
elementmessageDestinationLink
in interface MessageDestinationRefType<T>
messageDestinationLink
- the value for the element message-destination-link
MessageDestinationRefType
public String getMessageDestinationLink()
message-destination-link
elementgetMessageDestinationLink
in interface MessageDestinationRefType<T>
message-destination-link
public MessageDestinationRefType<T> removeMessageDestinationLink()
message-destination-link
elementremoveMessageDestinationLink
in interface MessageDestinationRefType<T>
MessageDestinationRefType
public MessageDestinationRefType<T> id(String id)
id
attributeid
in interface MessageDestinationRefType<T>
id
- the value for the attribute id
MessageDestinationRefType
public String getId()
id
attributegetId
in interface MessageDestinationRefType<T>
id
public MessageDestinationRefType<T> removeId()
id
attributeremoveId
in interface MessageDestinationRefType<T>
MessageDestinationRefType
Copyright © 2021 JBoss by Red Hat. All rights reserved.