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 the
message-destinationType xsd type-
Constructor Summary
ConstructorsConstructorDescriptionMessageDestinationTypeImpl(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
Modifier and TypeMethodDescriptionCreates a newiconelementdescription(String... values) Creates for all String objects representingdescriptionelements, a newdescriptionelementdisplayName(String... values) Creates for all String objects representingdisplay-nameelements, a newdisplay-nameelementReturns alldescriptionelementsReturns alldisplay-nameelementsReturns alliconelementsgetId()Returns theidattributeReturns thelookup-nameelementReturns themapped-nameelementReturns themessage-destination-nameelementIf not already created, a newiconelement will be created and returned.Sets theidattributelookupName(String lookupName) Sets thelookup-nameelementmappedName(String mappedName) Sets themapped-nameelementmessageDestinationName(String messageDestinationName) Sets themessage-destination-nameelementRemoves thedescriptionelementRemoves thedisplay-nameelementRemoves alliconelementsremoveId()Removes theidattributeRemoves thelookup-nameelementRemoves themapped-nameelementRemoves themessage-destination-nameelementup()
-
Constructor Details
-
MessageDestinationTypeImpl
-
MessageDestinationTypeImpl
-
-
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 interfaceMessageDestinationType<T>- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
MessageDestinationType
-
getAllDescription
Returns alldescriptionelements- Specified by:
getAllDescriptionin interfaceMessageDestinationType<T>- Returns:
- list of
description
-
removeAllDescription
Removes thedescriptionelement- Specified by:
removeAllDescriptionin interfaceMessageDestinationType<T>- Returns:
- the current instance of
MessageDestinationType
-
displayName
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
Returns alldisplay-nameelements- Specified by:
getAllDisplayNamein interfaceMessageDestinationType<T>- Returns:
- list of
display-name
-
removeAllDisplayName
Removes thedisplay-nameelement- Specified by:
removeAllDisplayNamein interfaceMessageDestinationType<T>- Returns:
- the current instance of
MessageDestinationType
-
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
Creates a newiconelement- Specified by:
createIconin interfaceMessageDestinationType<T>- Returns:
- the new created instance of
IconTypeinvalid input: '<'MessageDestinationType>
-
getAllIcon
Returns alliconelements- Specified by:
getAllIconin interfaceMessageDestinationType<T>- Returns:
- list of
icon
-
removeAllIcon
Removes alliconelements- Specified by:
removeAllIconin interfaceMessageDestinationType<T>- Returns:
- the current instance of
IconTypeinvalid input: '<'MessageDestinationType>
-
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
Returns themessage-destination-nameelement- Specified by:
getMessageDestinationNamein interfaceMessageDestinationType<T>- Returns:
- the node defined for the element
message-destination-name
-
removeMessageDestinationName
Removes themessage-destination-nameelement- Specified by:
removeMessageDestinationNamein interfaceMessageDestinationType<T>- Returns:
- the current instance of
MessageDestinationType
-
mappedName
Sets themapped-nameelement- Specified by:
mappedNamein interfaceMessageDestinationType<T>- Parameters:
mappedName- the value for the elementmapped-name- Returns:
- the current instance of
MessageDestinationType
-
getMappedName
Returns themapped-nameelement- Specified by:
getMappedNamein interfaceMessageDestinationType<T>- Returns:
- the node defined for the element
mapped-name
-
removeMappedName
Removes themapped-nameelement- Specified by:
removeMappedNamein interfaceMessageDestinationType<T>- Returns:
- the current instance of
MessageDestinationType
-
lookupName
Sets thelookup-nameelement- Specified by:
lookupNamein interfaceMessageDestinationType<T>- Parameters:
lookupName- the value for the elementlookup-name- Returns:
- the current instance of
MessageDestinationType
-
getLookupName
Returns thelookup-nameelement- Specified by:
getLookupNamein interfaceMessageDestinationType<T>- Returns:
- the node defined for the element
lookup-name
-
removeLookupName
Removes thelookup-nameelement- Specified by:
removeLookupNamein interfaceMessageDestinationType<T>- Returns:
- the current instance of
MessageDestinationType
-
id
Sets theidattribute- Specified by:
idin interfaceMessageDestinationType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
MessageDestinationType
-
getId
Returns theidattribute- Specified by:
getIdin interfaceMessageDestinationType<T>- Returns:
- the value defined for the attribute
id
-
removeId
Removes theidattribute- Specified by:
removeIdin interfaceMessageDestinationType<T>- Returns:
- the current instance of
MessageDestinationType
-