Class MessageDestinationTypeImpl<T>
- java.lang.Object
-
- org.jboss.shrinkwrap.descriptor.impl.javaee7.MessageDestinationTypeImpl<T>
-
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,MessageDestinationType<T>
public class MessageDestinationTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, MessageDestinationType<T>
This class implements themessage-destinationTypexsd type
-
-
Constructor Summary
Constructors Constructor Description MessageDestinationTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)MessageDestinationTypeImpl(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 IconType<MessageDestinationType<T>>createIcon()Creates a newiconelementMessageDestinationType<T>description(String... values)Creates for all String objects representingdescriptionelements, a newdescriptionelementMessageDestinationType<T>displayName(String... values)Creates for all String objects representingdisplay-nameelements, a newdisplay-nameelementList<String>getAllDescription()Returns alldescriptionelementsList<String>getAllDisplayName()Returns alldisplay-nameelementsList<IconType<MessageDestinationType<T>>>getAllIcon()Returns alliconelementsStringgetId()Returns theidattributeStringgetLookupName()Returns thelookup-nameelementStringgetMappedName()Returns themapped-nameelementStringgetMessageDestinationName()Returns themessage-destination-nameelementIconType<MessageDestinationType<T>>getOrCreateIcon()If not already created, a newiconelement will be created and returned.MessageDestinationType<T>id(String id)Sets theidattributeMessageDestinationType<T>lookupName(String lookupName)Sets thelookup-nameelementMessageDestinationType<T>mappedName(String mappedName)Sets themapped-nameelementMessageDestinationType<T>messageDestinationName(String messageDestinationName)Sets themessage-destination-nameelementMessageDestinationType<T>removeAllDescription()Removes thedescriptionelementMessageDestinationType<T>removeAllDisplayName()Removes thedisplay-nameelementMessageDestinationType<T>removeAllIcon()Removes alliconelementsMessageDestinationType<T>removeId()Removes theidattributeMessageDestinationType<T>removeLookupName()Removes thelookup-nameelementMessageDestinationType<T>removeMappedName()Removes themapped-nameelementMessageDestinationType<T>removeMessageDestinationName()Removes themessage-destination-nameelementTup()
-
-
-
Method Detail
-
description
public MessageDestinationType<T> description(String... values)
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Specified by:
descriptionin interfaceMessageDestinationType<T>- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
MessageDestinationType
-
getAllDescription
public List<String> getAllDescription()
Returns alldescriptionelements- Specified by:
getAllDescriptionin interfaceMessageDestinationType<T>- Returns:
- list of
description
-
removeAllDescription
public MessageDestinationType<T> removeAllDescription()
Removes thedescriptionelement- Specified by:
removeAllDescriptionin interfaceMessageDestinationType<T>- Returns:
- the current instance of
MessageDestinationType
-
displayName
public MessageDestinationType<T> displayName(String... values)
Creates for all String objects representingdisplay-nameelements, a newdisplay-nameelement- Specified by:
displayNamein interfaceMessageDestinationType<T>- Parameters:
values- list ofdisplay-nameobjects- Returns:
- the current instance of
MessageDestinationType
-
getAllDisplayName
public List<String> getAllDisplayName()
Returns alldisplay-nameelements- Specified by:
getAllDisplayNamein interfaceMessageDestinationType<T>- Returns:
- list of
display-name
-
removeAllDisplayName
public MessageDestinationType<T> removeAllDisplayName()
Removes thedisplay-nameelement- Specified by:
removeAllDisplayNamein interfaceMessageDestinationType<T>- Returns:
- the current instance of
MessageDestinationType
-
getOrCreateIcon
public IconType<MessageDestinationType<T>> getOrCreateIcon()
If not already created, a newiconelement will be created and returned. Otherwise, the first existingiconelement will be returned.- Specified by:
getOrCreateIconin interfaceMessageDestinationType<T>- Returns:
- the instance defined for the element
icon
-
createIcon
public IconType<MessageDestinationType<T>> createIcon()
Creates a newiconelement- Specified by:
createIconin interfaceMessageDestinationType<T>- Returns:
- the new created instance of
IconType>
-
getAllIcon
public List<IconType<MessageDestinationType<T>>> getAllIcon()
Returns alliconelements- Specified by:
getAllIconin interfaceMessageDestinationType<T>- Returns:
- list of
icon
-
removeAllIcon
public MessageDestinationType<T> removeAllIcon()
Removes alliconelements- Specified by:
removeAllIconin interfaceMessageDestinationType<T>- Returns:
- the current instance of
IconType>
-
messageDestinationName
public MessageDestinationType<T> messageDestinationName(String messageDestinationName)
Sets themessage-destination-nameelement- Specified by:
messageDestinationNamein interfaceMessageDestinationType<T>- Parameters:
messageDestinationName- the value for the elementmessage-destination-name- Returns:
- the current instance of
MessageDestinationType
-
getMessageDestinationName
public String getMessageDestinationName()
Returns themessage-destination-nameelement- Specified by:
getMessageDestinationNamein interfaceMessageDestinationType<T>- Returns:
- the node defined for the element
message-destination-name
-
removeMessageDestinationName
public MessageDestinationType<T> removeMessageDestinationName()
Removes themessage-destination-nameelement- Specified by:
removeMessageDestinationNamein interfaceMessageDestinationType<T>- Returns:
- the current instance of
MessageDestinationType
-
mappedName
public MessageDestinationType<T> mappedName(String mappedName)
Sets themapped-nameelement- Specified by:
mappedNamein interfaceMessageDestinationType<T>- Parameters:
mappedName- the value for the elementmapped-name- Returns:
- the current instance of
MessageDestinationType
-
getMappedName
public String getMappedName()
Returns themapped-nameelement- Specified by:
getMappedNamein interfaceMessageDestinationType<T>- Returns:
- the node defined for the element
mapped-name
-
removeMappedName
public MessageDestinationType<T> removeMappedName()
Removes themapped-nameelement- Specified by:
removeMappedNamein interfaceMessageDestinationType<T>- Returns:
- the current instance of
MessageDestinationType
-
lookupName
public MessageDestinationType<T> lookupName(String lookupName)
Sets thelookup-nameelement- Specified by:
lookupNamein interfaceMessageDestinationType<T>- Parameters:
lookupName- the value for the elementlookup-name- Returns:
- the current instance of
MessageDestinationType
-
getLookupName
public String getLookupName()
Returns thelookup-nameelement- Specified by:
getLookupNamein interfaceMessageDestinationType<T>- Returns:
- the node defined for the element
lookup-name
-
removeLookupName
public MessageDestinationType<T> removeLookupName()
Removes thelookup-nameelement- Specified by:
removeLookupNamein interfaceMessageDestinationType<T>- Returns:
- the current instance of
MessageDestinationType
-
id
public MessageDestinationType<T> id(String id)
Sets theidattribute- Specified by:
idin interfaceMessageDestinationType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
MessageDestinationType
-
getId
public String getId()
Returns theidattribute- Specified by:
getIdin interfaceMessageDestinationType<T>- Returns:
- the value defined for the attribute
id
-
removeId
public MessageDestinationType<T> removeId()
Removes theidattribute- Specified by:
removeIdin interfaceMessageDestinationType<T>- Returns:
- the current instance of
MessageDestinationType
-
-