Class MessageDestinationTypeImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.j2ee14.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 themessage-destination-nameelementIf not already created, a newiconelement will be created and returned.Sets theidattributemessageDestinationName(String messageDestinationName) Sets themessage-destination-nameelementRemoves thedescriptionelementRemoves thedisplay-nameelementRemoves alliconelementsremoveId()Removes theidattributeRemoves 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
IconType<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
IconType<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
-
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
-