Class MessageDestinationRefTypeImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.javaee6.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 the
message-destination-refType xsd type-
Constructor Summary
ConstructorsConstructorDescriptionMessageDestinationRefTypeImpl(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
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-usageattributeup()
-
Constructor Details
-
MessageDestinationRefTypeImpl
-
MessageDestinationRefTypeImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
lookupName
Sets thelookup-nameelement- Specified by:
lookupNamein interfaceMessageDestinationRefType<T>- Parameters:
lookupName- the value for the elementlookup-name- Returns:
- the current instance of
MessageDestinationRefType
-
getLookupName
Returns thelookup-nameelement- Specified by:
getLookupNamein interfaceMessageDestinationRefType<T>- Returns:
- the node defined for the element
lookup-name
-
removeLookupName
Removes thelookup-nameelement- Specified by:
removeLookupNamein interfaceMessageDestinationRefType<T>- Returns:
- the current instance of
MessageDestinationRefType
-
mappedName
Sets themapped-nameelement- Specified by:
mappedNamein interfaceMessageDestinationRefType<T>- Parameters:
mappedName- the value for the elementmapped-name- Returns:
- the current instance of
MessageDestinationRefType
-
getMappedName
Returns themapped-nameelement- Specified by:
getMappedNamein interfaceMessageDestinationRefType<T>- Returns:
- the node defined for the element
mapped-name
-
removeMappedName
Removes themapped-nameelement- Specified by:
removeMappedNamein interfaceMessageDestinationRefType<T>- Returns:
- the current instance of
MessageDestinationRefType
-
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
Creates a newinjection-targetelement- Specified by:
createInjectionTargetin interfaceMessageDestinationRefType<T>- Returns:
- the new created instance of
InjectionTargetType<MessageDestinationRefType>
-
getAllInjectionTarget
Returns allinjection-targetelements- Specified by:
getAllInjectionTargetin interfaceMessageDestinationRefType<T>- Returns:
- list of
injection-target
-
removeAllInjectionTarget
Removes allinjection-targetelements- Specified by:
removeAllInjectionTargetin interfaceMessageDestinationRefType<T>- Returns:
- the current instance of
InjectionTargetType<MessageDestinationRefType>
-
description
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Specified by:
descriptionin interfaceMessageDestinationRefType<T>- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
MessageDestinationRefType
-
getAllDescription
Returns alldescriptionelements- Specified by:
getAllDescriptionin interfaceMessageDestinationRefType<T>- Returns:
- list of
description
-
removeAllDescription
Removes thedescriptionelement- Specified by:
removeAllDescriptionin interfaceMessageDestinationRefType<T>- Returns:
- the current instance of
MessageDestinationRefType
-
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
Returns themessage-destination-ref-nameelement- Specified by:
getMessageDestinationRefNamein interfaceMessageDestinationRefType<T>- Returns:
- the node defined for the element
message-destination-ref-name
-
removeMessageDestinationRefName
Removes themessage-destination-ref-nameelement- Specified by:
removeMessageDestinationRefNamein interfaceMessageDestinationRefType<T>- Returns:
- the current instance of
MessageDestinationRefType
-
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
Returns themessage-destination-typeelement- Specified by:
getMessageDestinationTypein interfaceMessageDestinationRefType<T>- Returns:
- the node defined for the element
message-destination-type
-
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
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
Returns themessage-destination-usageelement- Specified by:
getMessageDestinationUsagein interfaceMessageDestinationRefType<T>- Returns:
- the value found for the element
message-destination-usage
-
getMessageDestinationUsageAsString
Returns themessage-destination-usageelement- Specified by:
getMessageDestinationUsageAsStringin interfaceMessageDestinationRefType<T>- Returns:
- the value found for the element
message-destination-usage
-
removeMessageDestinationUsage
Removes themessage-destination-usageattribute- Specified by:
removeMessageDestinationUsagein interfaceMessageDestinationRefType<T>- Returns:
- the current instance of
MessageDestinationRefType
-
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
Returns themessage-destination-linkelement- Specified by:
getMessageDestinationLinkin interfaceMessageDestinationRefType<T>- Returns:
- the node defined for the element
message-destination-link
-
removeMessageDestinationLink
Removes themessage-destination-linkelement- Specified by:
removeMessageDestinationLinkin interfaceMessageDestinationRefType<T>- Returns:
- the current instance of
MessageDestinationRefType
-
id
Sets theidattribute- Specified by:
idin interfaceMessageDestinationRefType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
MessageDestinationRefType
-
getId
Returns theidattribute- Specified by:
getIdin interfaceMessageDestinationRefType<T>- Returns:
- the value defined for the attribute
id
-
removeId
Removes theidattribute- Specified by:
removeIdin interfaceMessageDestinationRefType<T>- Returns:
- the current instance of
MessageDestinationRefType
-