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 themessage-destination-refTypexsd type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InjectionTargetType<MessageDestinationRefType<T>>createInjectionTarget()Creates a newinjection-targetelementMessageDestinationRefType<T>description(String... values)Creates for all String objects representingdescriptionelements, a newdescriptionelementList<String>getAllDescription()Returns alldescriptionelementsList<InjectionTargetType<MessageDestinationRefType<T>>>getAllInjectionTarget()Returns allinjection-targetelementsStringgetId()Returns theidattributeStringgetLookupName()Returns thelookup-nameelementStringgetMappedName()Returns themapped-nameelementStringgetMessageDestinationLink()Returns themessage-destination-linkelementStringgetMessageDestinationRefName()Returns themessage-destination-ref-nameelementStringgetMessageDestinationType()Returns themessage-destination-typeelementMessageDestinationUsageTypegetMessageDestinationUsage()Returns themessage-destination-usageelementStringgetMessageDestinationUsageAsString()Returns themessage-destination-usageelementInjectionTargetType<MessageDestinationRefType<T>>getOrCreateInjectionTarget()If not already created, a newinjection-targetelement will be created and returned.MessageDestinationRefType<T>id(String id)Sets theidattributeMessageDestinationRefType<T>lookupName(String lookupName)Sets thelookup-nameelementMessageDestinationRefType<T>mappedName(String mappedName)Sets themapped-nameelementMessageDestinationRefType<T>messageDestinationLink(String messageDestinationLink)Sets themessage-destination-linkelementMessageDestinationRefType<T>messageDestinationRefName(String messageDestinationRefName)Sets themessage-destination-ref-nameelementMessageDestinationRefType<T>messageDestinationType(String messageDestinationType)Sets themessage-destination-typeelementMessageDestinationRefType<T>messageDestinationUsage(String messageDestinationUsage)Sets themessage-destination-usageelementMessageDestinationRefType<T>messageDestinationUsage(MessageDestinationUsageType messageDestinationUsage)Sets themessage-destination-usageelementMessageDestinationRefType<T>removeAllDescription()Removes thedescriptionelementMessageDestinationRefType<T>removeAllInjectionTarget()Removes allinjection-targetelementsMessageDestinationRefType<T>removeId()Removes theidattributeMessageDestinationRefType<T>removeLookupName()Removes thelookup-nameelementMessageDestinationRefType<T>removeMappedName()Removes themapped-nameelementMessageDestinationRefType<T>removeMessageDestinationLink()Removes themessage-destination-linkelementMessageDestinationRefType<T>removeMessageDestinationRefName()Removes themessage-destination-ref-nameelementMessageDestinationRefType<T>removeMessageDestinationType()Removes themessage-destination-typeelementMessageDestinationRefType<T>removeMessageDestinationUsage()Removes themessage-destination-usageattribute
-
-
-
Method Detail
-
lookupName
MessageDestinationRefType<T> lookupName(String 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
MessageDestinationRefType<T> mappedName(String 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>
-
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>
-
description
MessageDestinationRefType<T> description(String... values)
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
MessageDestinationRefType
-
getAllDescription
List<String> getAllDescription()
Returns alldescriptionelements- Returns:
- list of
description
-
removeAllDescription
MessageDestinationRefType<T> removeAllDescription()
Removes thedescriptionelement- Returns:
- the current instance of
MessageDestinationRefType
-
messageDestinationRefName
MessageDestinationRefType<T> messageDestinationRefName(String 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
MessageDestinationRefType<T> messageDestinationType(String 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
MessageDestinationRefType<T> messageDestinationUsage(String 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
MessageDestinationRefType<T> messageDestinationLink(String 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
MessageDestinationRefType<T> id(String 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
-
-