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 Detail

      • 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
      • removeAllIcon

        MessageDestinationType<T> removeAllIcon()
        Removes all icon elements
        Returns:
        the current instance of IconType>
      • 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
      • mappedName

        MessageDestinationType<T> mappedName​(String mappedName)
        Sets the mapped-name element
        Parameters:
        mappedName - the value for the element mapped-name
        Returns:
        the current instance of MessageDestinationType
      • getMappedName

        String getMappedName()
        Returns the mapped-name element
        Returns:
        the node defined for the element mapped-name
      • removeMappedName

        MessageDestinationType<T> removeMappedName()
        Removes the mapped-name element
        Returns:
        the current instance of MessageDestinationType
      • lookupName

        MessageDestinationType<T> lookupName​(String lookupName)
        Sets the lookup-name element
        Parameters:
        lookupName - the value for the element lookup-name
        Returns:
        the current instance of MessageDestinationType
      • getLookupName

        String getLookupName()
        Returns the lookup-name element
        Returns:
        the node defined for the element lookup-name
      • removeLookupName

        MessageDestinationType<T> removeLookupName()
        Removes the lookup-name element
        Returns:
        the current instance of MessageDestinationType
      • id

        MessageDestinationType<T> id​(String 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

        MessageDestinationType<T> removeId()
        Removes the id attribute
        Returns:
        the current instance of MessageDestinationType