Class MessageDestinationRefTypeImpl<T>
- java.lang.Object
-
- org.jboss.shrinkwrap.descriptor.impl.javaee7.MessageDestinationRefTypeImpl<T>
-
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,MessageDestinationRefType<T>
public class MessageDestinationRefTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, MessageDestinationRefType<T>
This class implements themessage-destination-refTypexsd type
-
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete 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-usageattributeTup()
-
-
-
Method Detail
-
lookupName
public MessageDestinationRefType<T> lookupName(String lookupName)
Sets thelookup-nameelement- Specified by:
lookupNamein interfaceMessageDestinationRefType<T>- Parameters:
lookupName- the value for the elementlookup-name- Returns:
- the current instance of
MessageDestinationRefType
-
getLookupName
public String getLookupName()
Returns thelookup-nameelement- Specified by:
getLookupNamein interfaceMessageDestinationRefType<T>- Returns:
- the node defined for the element
lookup-name
-
removeLookupName
public MessageDestinationRefType<T> removeLookupName()
Removes thelookup-nameelement- Specified by:
removeLookupNamein interfaceMessageDestinationRefType<T>- Returns:
- the current instance of
MessageDestinationRefType
-
mappedName
public MessageDestinationRefType<T> mappedName(String mappedName)
Sets themapped-nameelement- Specified by:
mappedNamein interfaceMessageDestinationRefType<T>- Parameters:
mappedName- the value for the elementmapped-name- Returns:
- the current instance of
MessageDestinationRefType
-
getMappedName
public String getMappedName()
Returns themapped-nameelement- Specified by:
getMappedNamein interfaceMessageDestinationRefType<T>- Returns:
- the node defined for the element
mapped-name
-
removeMappedName
public MessageDestinationRefType<T> removeMappedName()
Removes themapped-nameelement- Specified by:
removeMappedNamein interfaceMessageDestinationRefType<T>- Returns:
- the current instance of
MessageDestinationRefType
-
getOrCreateInjectionTarget
public InjectionTargetType<MessageDestinationRefType<T>> getOrCreateInjectionTarget()
If not already created, a newinjection-targetelement will be created and returned. Otherwise, the first existinginjection-targetelement will be returned.- Specified by:
getOrCreateInjectionTargetin interfaceMessageDestinationRefType<T>- Returns:
- the instance defined for the element
injection-target
-
createInjectionTarget
public InjectionTargetType<MessageDestinationRefType<T>> createInjectionTarget()
Creates a newinjection-targetelement- Specified by:
createInjectionTargetin interfaceMessageDestinationRefType<T>- Returns:
- the new created instance of
InjectionTargetType>
-
getAllInjectionTarget
public List<InjectionTargetType<MessageDestinationRefType<T>>> getAllInjectionTarget()
Returns allinjection-targetelements- Specified by:
getAllInjectionTargetin interfaceMessageDestinationRefType<T>- Returns:
- list of
injection-target
-
removeAllInjectionTarget
public MessageDestinationRefType<T> removeAllInjectionTarget()
Removes allinjection-targetelements- Specified by:
removeAllInjectionTargetin interfaceMessageDestinationRefType<T>- Returns:
- the current instance of
InjectionTargetType>
-
description
public MessageDestinationRefType<T> description(String... values)
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Specified by:
descriptionin interfaceMessageDestinationRefType<T>- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
MessageDestinationRefType
-
getAllDescription
public List<String> getAllDescription()
Returns alldescriptionelements- Specified by:
getAllDescriptionin interfaceMessageDestinationRefType<T>- Returns:
- list of
description
-
removeAllDescription
public MessageDestinationRefType<T> removeAllDescription()
Removes thedescriptionelement- Specified by:
removeAllDescriptionin interfaceMessageDestinationRefType<T>- Returns:
- the current instance of
MessageDestinationRefType
-
messageDestinationRefName
public MessageDestinationRefType<T> messageDestinationRefName(String messageDestinationRefName)
Sets themessage-destination-ref-nameelement- Specified by:
messageDestinationRefNamein interfaceMessageDestinationRefType<T>- Parameters:
messageDestinationRefName- the value for the elementmessage-destination-ref-name- Returns:
- the current instance of
MessageDestinationRefType
-
getMessageDestinationRefName
public String getMessageDestinationRefName()
Returns themessage-destination-ref-nameelement- Specified by:
getMessageDestinationRefNamein interfaceMessageDestinationRefType<T>- Returns:
- the node defined for the element
message-destination-ref-name
-
removeMessageDestinationRefName
public MessageDestinationRefType<T> removeMessageDestinationRefName()
Removes themessage-destination-ref-nameelement- Specified by:
removeMessageDestinationRefNamein interfaceMessageDestinationRefType<T>- Returns:
- the current instance of
MessageDestinationRefType
-
messageDestinationType
public MessageDestinationRefType<T> messageDestinationType(String messageDestinationType)
Sets themessage-destination-typeelement- Specified by:
messageDestinationTypein interfaceMessageDestinationRefType<T>- Parameters:
messageDestinationType- the value for the elementmessage-destination-type- Returns:
- the current instance of
MessageDestinationRefType
-
getMessageDestinationType
public String getMessageDestinationType()
Returns themessage-destination-typeelement- Specified by:
getMessageDestinationTypein interfaceMessageDestinationRefType<T>- Returns:
- the node defined for the element
message-destination-type
-
removeMessageDestinationType
public MessageDestinationRefType<T> removeMessageDestinationType()
Removes themessage-destination-typeelement- Specified by:
removeMessageDestinationTypein interfaceMessageDestinationRefType<T>- Returns:
- the current instance of
MessageDestinationRefType
-
messageDestinationUsage
public MessageDestinationRefType<T> messageDestinationUsage(MessageDestinationUsageType messageDestinationUsage)
Sets themessage-destination-usageelement- Specified by:
messageDestinationUsagein interfaceMessageDestinationRefType<T>- Parameters:
messageDestinationUsage- the value for the elementmessage-destination-usage- Returns:
- the current instance of
MessageDestinationRefType
-
messageDestinationUsage
public MessageDestinationRefType<T> messageDestinationUsage(String messageDestinationUsage)
Sets themessage-destination-usageelement- Specified by:
messageDestinationUsagein interfaceMessageDestinationRefType<T>- Parameters:
messageDestinationUsage- the value for the elementmessage-destination-usage- Returns:
- the current instance of
MessageDestinationRefType
-
getMessageDestinationUsage
public MessageDestinationUsageType getMessageDestinationUsage()
Returns themessage-destination-usageelement- Specified by:
getMessageDestinationUsagein interfaceMessageDestinationRefType<T>- Returns:
- the value found for the element
message-destination-usage
-
getMessageDestinationUsageAsString
public String getMessageDestinationUsageAsString()
Returns themessage-destination-usageelement- Specified by:
getMessageDestinationUsageAsStringin interfaceMessageDestinationRefType<T>- Returns:
- the value found for the element
message-destination-usage
-
removeMessageDestinationUsage
public MessageDestinationRefType<T> removeMessageDestinationUsage()
Removes themessage-destination-usageattribute- Specified by:
removeMessageDestinationUsagein interfaceMessageDestinationRefType<T>- Returns:
- the current instance of
MessageDestinationRefType
-
messageDestinationLink
public MessageDestinationRefType<T> messageDestinationLink(String messageDestinationLink)
Sets themessage-destination-linkelement- Specified by:
messageDestinationLinkin interfaceMessageDestinationRefType<T>- Parameters:
messageDestinationLink- the value for the elementmessage-destination-link- Returns:
- the current instance of
MessageDestinationRefType
-
getMessageDestinationLink
public String getMessageDestinationLink()
Returns themessage-destination-linkelement- Specified by:
getMessageDestinationLinkin interfaceMessageDestinationRefType<T>- Returns:
- the node defined for the element
message-destination-link
-
removeMessageDestinationLink
public MessageDestinationRefType<T> removeMessageDestinationLink()
Removes themessage-destination-linkelement- Specified by:
removeMessageDestinationLinkin interfaceMessageDestinationRefType<T>- Returns:
- the current instance of
MessageDestinationRefType
-
id
public MessageDestinationRefType<T> id(String id)
Sets theidattribute- Specified by:
idin interfaceMessageDestinationRefType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
MessageDestinationRefType
-
getId
public String getId()
Returns theidattribute- Specified by:
getIdin interfaceMessageDestinationRefType<T>- Returns:
- the value defined for the attribute
id
-
removeId
public MessageDestinationRefType<T> removeId()
Removes theidattribute- Specified by:
removeIdin interfaceMessageDestinationRefType<T>- Returns:
- the current instance of
MessageDestinationRefType
-
-