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 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 MessageDestinationRefType<T>description(String... values)Creates for all String objects representingdescriptionelements, a newdescriptionelementList<String>getAllDescription()Returns alldescriptionelementsStringgetId()Returns theidattributeStringgetMessageDestinationLink()Returns themessage-destination-linkelementStringgetMessageDestinationRefName()Returns themessage-destination-ref-nameelementStringgetMessageDestinationType()Returns themessage-destination-typeelementMessageDestinationUsageTypegetMessageDestinationUsage()Returns themessage-destination-usageelementStringgetMessageDestinationUsageAsString()Returns themessage-destination-usageelementMessageDestinationRefType<T>id(String id)Sets theidattributeMessageDestinationRefType<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>removeId()Removes theidattributeMessageDestinationRefType<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
-
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
-
-