Class MessageDestinationRefTypeImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.j2ee14.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 TypeMethodDescriptiondescription(String... values) Creates for all String objects representingdescriptionelements, a newdescriptionelementReturns alldescriptionelementsgetId()Returns theidattributeReturns themessage-destination-linkelementReturns themessage-destination-ref-nameelementReturns themessage-destination-typeelementReturns themessage-destination-usageelementReturns themessage-destination-usageelementSets theidattributemessageDestinationLink(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 thedescriptionelementremoveId()Removes theidattributeRemoves 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>
-
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
-