Interface MessageDestinationRefType<T>
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
MessageDestinationRefTypeImpl
public interface MessageDestinationRefType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
This interface defines the contract for the
message-destination-refType xsd type-
Method Summary
Modifier and TypeMethodDescriptionCreates a newinjection-targetelementdescription(String... values) Creates for all String objects representingdescriptionelements, a newdescriptionelementReturns alldescriptionelementsReturns allinjection-targetelementsgetId()Returns theidattributeReturns thelookup-nameelementReturns themapped-nameelementReturns themessage-destination-linkelementReturns themessage-destination-ref-nameelementReturns themessage-destination-typeelementReturns themessage-destination-usageelementReturns themessage-destination-usageelementIf not already created, a newinjection-targetelement will be created and returned.Sets theidattributelookupName(String lookupName) Sets thelookup-nameelementmappedName(String mappedName) Sets themapped-nameelementmessageDestinationLink(String messageDestinationLink) Sets themessage-destination-linkelementmessageDestinationRefName(String messageDestinationRefName) Sets themessage-destination-ref-nameelementmessageDestinationType(String messageDestinationType) Sets themessage-destination-typeelementmessageDestinationUsage(String messageDestinationUsage) Sets themessage-destination-usageelementmessageDestinationUsage(MessageDestinationUsageType messageDestinationUsage) Sets themessage-destination-usageelementRemoves thedescriptionelementRemoves allinjection-targetelementsremoveId()Removes theidattributeRemoves thelookup-nameelementRemoves themapped-nameelementRemoves themessage-destination-linkelementRemoves themessage-destination-ref-nameelementRemoves themessage-destination-typeelementRemoves themessage-destination-usageattributeMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Method Details
-
lookupName
Sets thelookup-nameelement- Parameters:
lookupName- the value for the elementlookup-name- Returns:
- the current instance of
MessageDestinationRefType
-
getLookupName
String getLookupName()Returns thelookup-nameelement- Returns:
- the node defined for the element
lookup-name
-
removeLookupName
MessageDestinationRefType<T> removeLookupName()Removes thelookup-nameelement- Returns:
- the current instance of
MessageDestinationRefType
-
mappedName
Sets themapped-nameelement- Parameters:
mappedName- the value for the elementmapped-name- Returns:
- the current instance of
MessageDestinationRefType
-
getMappedName
String getMappedName()Returns themapped-nameelement- Returns:
- the node defined for the element
mapped-name
-
removeMappedName
MessageDestinationRefType<T> removeMappedName()Removes themapped-nameelement- Returns:
- the current instance of
MessageDestinationRefType
-
getOrCreateInjectionTarget
InjectionTargetType<MessageDestinationRefType<T>> getOrCreateInjectionTarget()If not already created, a newinjection-targetelement will be created and returned. Otherwise, the first existinginjection-targetelement will be returned.- Returns:
- the instance defined for the element
injection-target
-
createInjectionTarget
InjectionTargetType<MessageDestinationRefType<T>> createInjectionTarget()Creates a newinjection-targetelement- Returns:
- the new created instance of
InjectionTargetType<MessageDestinationRefType>
-
getAllInjectionTarget
List<InjectionTargetType<MessageDestinationRefType<T>>> getAllInjectionTarget()Returns allinjection-targetelements- Returns:
- list of
injection-target
-
removeAllInjectionTarget
MessageDestinationRefType<T> removeAllInjectionTarget()Removes allinjection-targetelements- Returns:
- the current instance of
InjectionTargetType<MessageDestinationRefType>
-
description
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
MessageDestinationRefType
-
getAllDescription
Returns alldescriptionelements- Returns:
- list of
description
-
removeAllDescription
MessageDestinationRefType<T> removeAllDescription()Removes thedescriptionelement- Returns:
- the current instance of
MessageDestinationRefType
-
messageDestinationRefName
Sets themessage-destination-ref-nameelement- Parameters:
messageDestinationRefName- the value for the elementmessage-destination-ref-name- Returns:
- the current instance of
MessageDestinationRefType
-
getMessageDestinationRefName
String getMessageDestinationRefName()Returns themessage-destination-ref-nameelement- Returns:
- the node defined for the element
message-destination-ref-name
-
removeMessageDestinationRefName
MessageDestinationRefType<T> removeMessageDestinationRefName()Removes themessage-destination-ref-nameelement- Returns:
- the current instance of
MessageDestinationRefType
-
messageDestinationType
Sets themessage-destination-typeelement- Parameters:
messageDestinationType- the value for the elementmessage-destination-type- Returns:
- the current instance of
MessageDestinationRefType
-
getMessageDestinationType
String getMessageDestinationType()Returns themessage-destination-typeelement- Returns:
- the node defined for the element
message-destination-type
-
removeMessageDestinationType
MessageDestinationRefType<T> removeMessageDestinationType()Removes themessage-destination-typeelement- Returns:
- the current instance of
MessageDestinationRefType
-
messageDestinationUsage
MessageDestinationRefType<T> messageDestinationUsage(MessageDestinationUsageType messageDestinationUsage) Sets themessage-destination-usageelement- Parameters:
messageDestinationUsage- the value for the elementmessage-destination-usage- Returns:
- the current instance of
MessageDestinationRefType
-
messageDestinationUsage
Sets themessage-destination-usageelement- Parameters:
messageDestinationUsage- the value for the elementmessage-destination-usage- Returns:
- the current instance of
MessageDestinationRefType
-
getMessageDestinationUsage
MessageDestinationUsageType getMessageDestinationUsage()Returns themessage-destination-usageelement- Returns:
- the value found for the element
message-destination-usage
-
getMessageDestinationUsageAsString
String getMessageDestinationUsageAsString()Returns themessage-destination-usageelement- Returns:
- the value found for the element
message-destination-usage
-
removeMessageDestinationUsage
MessageDestinationRefType<T> removeMessageDestinationUsage()Removes themessage-destination-usageattribute- Returns:
- the current instance of
MessageDestinationRefType
-
messageDestinationLink
Sets themessage-destination-linkelement- Parameters:
messageDestinationLink- the value for the elementmessage-destination-link- Returns:
- the current instance of
MessageDestinationRefType
-
getMessageDestinationLink
String getMessageDestinationLink()Returns themessage-destination-linkelement- Returns:
- the node defined for the element
message-destination-link
-
removeMessageDestinationLink
MessageDestinationRefType<T> removeMessageDestinationLink()Removes themessage-destination-linkelement- Returns:
- the current instance of
MessageDestinationRefType
-
id
Sets theidattribute- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
MessageDestinationRefType
-
getId
String getId()Returns theidattribute- Returns:
- the value defined for the attribute
id
-
removeId
MessageDestinationRefType<T> removeId()Removes theidattribute- Returns:
- the current instance of
MessageDestinationRefType
-