Interface MessageDestinationType<T>
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
MessageDestinationTypeImpl
public interface MessageDestinationType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
This interface defines the contract for the
message-destinationType xsd type-
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-nameelementMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Method Details
-
description
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
MessageDestinationType
-
getAllDescription
Returns alldescriptionelements- Returns:
- list of
description
-
removeAllDescription
MessageDestinationType<T> removeAllDescription()Removes thedescriptionelement- Returns:
- the current instance of
MessageDestinationType
-
displayName
Creates for all String objects representingdisplay-nameelements, a newdisplay-nameelement- Parameters:
values- list ofdisplay-nameobjects- Returns:
- the current instance of
MessageDestinationType
-
getAllDisplayName
Returns alldisplay-nameelements- Returns:
- list of
display-name
-
removeAllDisplayName
MessageDestinationType<T> removeAllDisplayName()Removes thedisplay-nameelement- Returns:
- the current instance of
MessageDestinationType
-
getOrCreateIcon
IconType<MessageDestinationType<T>> getOrCreateIcon()If not already created, a newiconelement will be created and returned. Otherwise, the first existingiconelement will be returned.- Returns:
- the instance defined for the element
icon
-
createIcon
IconType<MessageDestinationType<T>> createIcon()Creates a newiconelement- Returns:
- the new created instance of
IconTypeinvalid input: '<'MessageDestinationType>
-
getAllIcon
List<IconType<MessageDestinationType<T>>> getAllIcon()Returns alliconelements- Returns:
- list of
icon
-
removeAllIcon
MessageDestinationType<T> removeAllIcon()Removes alliconelements- Returns:
- the current instance of
IconTypeinvalid input: '<'MessageDestinationType>
-
messageDestinationName
Sets themessage-destination-nameelement- Parameters:
messageDestinationName- the value for the elementmessage-destination-name- Returns:
- the current instance of
MessageDestinationType
-
getMessageDestinationName
String getMessageDestinationName()Returns themessage-destination-nameelement- Returns:
- the node defined for the element
message-destination-name
-
removeMessageDestinationName
MessageDestinationType<T> removeMessageDestinationName()Removes themessage-destination-nameelement- Returns:
- the current instance of
MessageDestinationType
-
id
Sets theidattribute- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
MessageDestinationType
-
getId
String getId()Returns theidattribute- Returns:
- the value defined for the attribute
id
-
removeId
MessageDestinationType<T> removeId()Removes theidattribute- Returns:
- the current instance of
MessageDestinationType
-