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 Details

    • description

      MessageDestinationType<T> description(String... values)
      Creates for all String objects representing description elements, a new description element
      Parameters:
      values - list of description objects
      Returns:
      the current instance of MessageDestinationType
    • getAllDescription

      List<String> getAllDescription()
      Returns all description elements
      Returns:
      list of description
    • removeAllDescription

      MessageDestinationType<T> removeAllDescription()
      Removes the description element
      Returns:
      the current instance of MessageDestinationType
    • displayName

      MessageDestinationType<T> displayName(String... values)
      Creates for all String objects representing display-name elements, a new display-name element
      Parameters:
      values - list of display-name objects
      Returns:
      the current instance of MessageDestinationType
    • getAllDisplayName

      List<String> getAllDisplayName()
      Returns all display-name elements
      Returns:
      list of display-name
    • removeAllDisplayName

      MessageDestinationType<T> removeAllDisplayName()
      Removes the display-name element
      Returns:
      the current instance of MessageDestinationType
    • getOrCreateIcon

      IconType<MessageDestinationType<T>> getOrCreateIcon()
      If not already created, a new icon element will be created and returned. Otherwise, the first existing icon element will be returned.
      Returns:
      the instance defined for the element icon
    • createIcon

      Creates a new icon element
      Returns:
      the new created instance of IconType<MessageDestinationType>
    • getAllIcon

      Returns all icon elements
      Returns:
      list of icon
    • removeAllIcon

      MessageDestinationType<T> removeAllIcon()
      Removes all icon elements
      Returns:
      the current instance of IconType<MessageDestinationType>
    • messageDestinationName

      MessageDestinationType<T> messageDestinationName(String messageDestinationName)
      Sets the message-destination-name element
      Parameters:
      messageDestinationName - the value for the element message-destination-name
      Returns:
      the current instance of MessageDestinationType
    • getMessageDestinationName

      String getMessageDestinationName()
      Returns the message-destination-name element
      Returns:
      the node defined for the element message-destination-name
    • removeMessageDestinationName

      MessageDestinationType<T> removeMessageDestinationName()
      Removes the message-destination-name element
      Returns:
      the current instance of MessageDestinationType
    • id

      Sets the id attribute
      Parameters:
      id - the value for the attribute id
      Returns:
      the current instance of MessageDestinationType
    • getId

      String getId()
      Returns the id attribute
      Returns:
      the value defined for the attribute id
    • removeId

      Removes the id attribute
      Returns:
      the current instance of MessageDestinationType