Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.shrinkwrap.descriptor.api.javaee6
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

Original Documentation:

[
The message-destinationType specifies a message
destination. The logical destination described by this
element is mapped to a physical destination by the Deployer.
The message destination element contains:
- an optional description
- an optional display-name
- an optional icon
- a message destination name which must be unique
among message destination names within the same
Deployment File.
- an optional mapped name
- an optional lookup name
Example:
CorporateStocks

Since:
  Generation date :2011-07-19T22:55:02.759+02:00
Author:
  Ralf Battenfeld

Method Summary
`java.util.List<java.lang.String>` | `getDescriptionList()` Returns all `description` elements
`java.util.List<java.lang.String>` | `getDisplayNameList()` Returns all `display-name` elements
`java.util.List<IconType<MessageDestinationType<T>>>` | `getIconList()` Returns all `icon` elements
`java.lang.String` | `getLookupName()` Returns the `lookup-name` element
`java.lang.String` | `getMappedName()` Returns the `mapped-name` element
`java.lang.String` | `getMessageDestinationName()` Returns the `message-destination-name` element
`IconType<MessageDestinationType<T>>` | `icon()` Returns the `icon` element
`MessageDestinationType<T>` | `removeAllDescription()` Removes the `description` element
`MessageDestinationType<T>` | `removeAllDisplayName()` Removes the `display-name` element
`MessageDestinationType<T>` | `removeAllIcon()` Removes all `icon` elements
`MessageDestinationType<T>` | `removeLookupName()` Removes the `lookup-name` element
`MessageDestinationType<T>` | `removeMappedName()` Removes the `mapped-name` element
`MessageDestinationType<T>` | `removeMessageDestinationName()` Removes the `message-destination-name` element
`MessageDestinationType<T>` | `setDescription(java.lang.String description)` Creates a new `description` element
`MessageDestinationType<T>` | `setDescriptionList(java.lang.String... values)` Creates for all String objects representing `description` elements, a new `description` element
`MessageDestinationType<T>` | `setDisplayName(java.lang.String displayName)` Creates a new `display-name` element
`MessageDestinationType<T>` | `setDisplayNameList(java.lang.String... values)` Creates for all String objects representing `display-name` elements, a new `display-name` element
`MessageDestinationType<T>` | `setLookupName(java.lang.String lookupName)` If not already created, a new `lookup-name` element with the given value will be created.
`MessageDestinationType<T>` | `setMappedName(java.lang.String mappedName)` If not already created, a new `mapped-name` element with the given value will be created.
`MessageDestinationType<T>` | `setMessageDestinationName(java.lang.String messageDestinationName)` If not already created, a new `message-destination-name` element with the given value will be created.

Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
`up`

Method Detail

### setDescription

    MessageDestinationType<T> setDescription(java.lang.String description)

  Creates a new `description` element

  Returns:
    the current instance of `MessageDestinationType`

### setDescriptionList

    MessageDestinationType<T> setDescriptionList(java.lang.String... values)

  Creates for all String objects representing `description` elements, a new `description` element

  Parameters:
    `list` - of `description` objects
  Returns:
    the current instance of `MessageDestinationType`

### removeAllDescription

    MessageDestinationType<T> removeAllDescription()

  Removes the `description` element

  Returns:
    the current instance of `MessageDestinationType`

### getDescriptionList

    java.util.List<java.lang.String> getDescriptionList()

  Returns all `description` elements

  Returns:
    list of `description`

### setDisplayName

    MessageDestinationType<T> setDisplayName(java.lang.String displayName)

  Creates a new `display-name` element

  Returns:
    the current instance of `MessageDestinationType`

### setDisplayNameList

    MessageDestinationType<T> setDisplayNameList(java.lang.String... values)

  Creates for all String objects representing `display-name` elements, a new `display-name` element

  Parameters:
    `list` - of `display-name` objects
  Returns:
    the current instance of `MessageDestinationType`

### removeAllDisplayName

    MessageDestinationType<T> removeAllDisplayName()

  Removes the `display-name` element

  Returns:
    the current instance of `MessageDestinationType`

### getDisplayNameList

    java.util.List<java.lang.String> getDisplayNameList()

  Returns all `display-name` elements

  Returns:
    list of `display-name`

### removeAllIcon

    MessageDestinationType<T> removeAllIcon()

  Removes all `icon` elements

  Returns:
    the current instance of `MessageDestinationType`

### icon

    IconType<MessageDestinationType<T>> icon()

  Returns the `icon` element

  Returns:
    the node defined for the element `icon`

### getIconList

    java.util.List<IconType<MessageDestinationType<T>>> getIconList()

  Returns all `icon` elements

  Returns:
    list of `icon`

### setMessageDestinationName

    MessageDestinationType<T> setMessageDestinationName(java.lang.String messageDestinationName)

  If not already created, a new `message-destination-name` element with the given value will be created. Otherwise, the existing `message-destination-name` element will be updated with the given value.

  Returns:
    the current instance of `MessageDestinationType`

### removeMessageDestinationName

    MessageDestinationType<T> removeMessageDestinationName()

  Removes the `message-destination-name` element

  Returns:
    the current instance of `MessageDestinationType`

### getMessageDestinationName

    java.lang.String getMessageDestinationName()

  Returns the `message-destination-name` element

  Returns:
    the node defined for the element `message-destination-name`

### setMappedName

    MessageDestinationType<T> setMappedName(java.lang.String mappedName)

  If not already created, a new `mapped-name` element with the given value will be created. Otherwise, the existing `mapped-name` element will be updated with the given value.

  Returns:
    the current instance of `MessageDestinationType`

### removeMappedName

    MessageDestinationType<T> removeMappedName()

  Removes the `mapped-name` element

  Returns:
    the current instance of `MessageDestinationType`

### getMappedName

    java.lang.String getMappedName()

  Returns the `mapped-name` element

  Returns:
    the node defined for the element `mapped-name`

### setLookupName

    MessageDestinationType<T> setLookupName(java.lang.String lookupName)

  If not already created, a new `lookup-name` element with the given value will be created. Otherwise, the existing `lookup-name` element will be updated with the given value.

  Returns:
    the current instance of `MessageDestinationType`

### removeLookupName

    MessageDestinationType<T> removeLookupName()

  Removes the `lookup-name` element

  Returns:
    the current instance of `MessageDestinationType`

### getLookupName

    java.lang.String getLookupName()

  Returns the `lookup-name` element

  Returns:
    the node defined for the element `lookup-name`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD