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 themessage-destinationTypexsd type
-
-
Method Summary
All Methods Instance Methods Abstract 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-nameelement
-
-
-
Method Detail
-
description
MessageDestinationType<T> description(String... values)
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
MessageDestinationType
-
getAllDescription
List<String> getAllDescription()
Returns alldescriptionelements- Returns:
- list of
description
-
removeAllDescription
MessageDestinationType<T> removeAllDescription()
Removes thedescriptionelement- Returns:
- the current instance of
MessageDestinationType
-
displayName
MessageDestinationType<T> displayName(String... values)
Creates for all String objects representingdisplay-nameelements, a newdisplay-nameelement- Parameters:
values- list ofdisplay-nameobjects- Returns:
- the current instance of
MessageDestinationType
-
getAllDisplayName
List<String> 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
IconType>
-
getAllIcon
List<IconType<MessageDestinationType<T>>> getAllIcon()
Returns alliconelements- Returns:
- list of
icon
-
removeAllIcon
MessageDestinationType<T> removeAllIcon()
Removes alliconelements- Returns:
- the current instance of
IconType>
-
messageDestinationName
MessageDestinationType<T> messageDestinationName(String 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
-
mappedName
MessageDestinationType<T> mappedName(String mappedName)
Sets themapped-nameelement- Parameters:
mappedName- the value for the elementmapped-name- Returns:
- the current instance of
MessageDestinationType
-
getMappedName
String getMappedName()
Returns themapped-nameelement- Returns:
- the node defined for the element
mapped-name
-
removeMappedName
MessageDestinationType<T> removeMappedName()
Removes themapped-nameelement- Returns:
- the current instance of
MessageDestinationType
-
lookupName
MessageDestinationType<T> lookupName(String lookupName)
Sets thelookup-nameelement- Parameters:
lookupName- the value for the elementlookup-name- Returns:
- the current instance of
MessageDestinationType
-
getLookupName
String getLookupName()
Returns thelookup-nameelement- Returns:
- the node defined for the element
lookup-name
-
removeLookupName
MessageDestinationType<T> removeLookupName()
Removes thelookup-nameelement- Returns:
- the current instance of
MessageDestinationType
-
id
MessageDestinationType<T> id(String 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
-
-