|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.javaee6.MessageDestinationTypeImpl<T>
public class MessageDestinationTypeImpl<T>
This class implements 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:
Constructor Summary | |
---|---|
MessageDestinationTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
MessageDestinationTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
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. |
T |
up()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageDestinationTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node)
public MessageDestinationTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node, org.jboss.shrinkwrap.descriptor.spi.Node childNode)
Method Detail |
---|
public T up()
up
in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
public MessageDestinationType<T> setDescription(java.lang.String description)
description
element
setDescription
in interface MessageDestinationType<T>
MessageDestinationType
public MessageDestinationType<T> setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
setDescriptionList
in interface MessageDestinationType<T>
list
- of description
objects
MessageDestinationType
public MessageDestinationType<T> removeAllDescription()
description
element
removeAllDescription
in interface MessageDestinationType<T>
MessageDestinationType
public java.util.List<java.lang.String> getDescriptionList()
description
elements
getDescriptionList
in interface MessageDestinationType<T>
description
public MessageDestinationType<T> setDisplayName(java.lang.String displayName)
display-name
element
setDisplayName
in interface MessageDestinationType<T>
MessageDestinationType
public MessageDestinationType<T> setDisplayNameList(java.lang.String... values)
display-name
elements,
a new display-name
element
setDisplayNameList
in interface MessageDestinationType<T>
list
- of display-name
objects
MessageDestinationType
public MessageDestinationType<T> removeAllDisplayName()
display-name
element
removeAllDisplayName
in interface MessageDestinationType<T>
MessageDestinationType
public java.util.List<java.lang.String> getDisplayNameList()
display-name
elements
getDisplayNameList
in interface MessageDestinationType<T>
display-name
public MessageDestinationType<T> removeAllIcon()
icon
elements
removeAllIcon
in interface MessageDestinationType<T>
MessageDestinationType
public IconType<MessageDestinationType<T>> icon()
icon
element
icon
in interface MessageDestinationType<T>
icon
public java.util.List<IconType<MessageDestinationType<T>>> getIconList()
icon
elements
getIconList
in interface MessageDestinationType<T>
icon
public MessageDestinationType<T> setMessageDestinationName(java.lang.String messageDestinationName)
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.
setMessageDestinationName
in interface MessageDestinationType<T>
MessageDestinationType
public MessageDestinationType<T> removeMessageDestinationName()
message-destination-name
element
removeMessageDestinationName
in interface MessageDestinationType<T>
MessageDestinationType
public java.lang.String getMessageDestinationName()
message-destination-name
element
getMessageDestinationName
in interface MessageDestinationType<T>
message-destination-name
public MessageDestinationType<T> setMappedName(java.lang.String mappedName)
mapped-name
element with the given value will be created.
Otherwise, the existing mapped-name
element will be updated with the given value.
setMappedName
in interface MessageDestinationType<T>
MessageDestinationType
public MessageDestinationType<T> removeMappedName()
mapped-name
element
removeMappedName
in interface MessageDestinationType<T>
MessageDestinationType
public java.lang.String getMappedName()
mapped-name
element
getMappedName
in interface MessageDestinationType<T>
mapped-name
public MessageDestinationType<T> setLookupName(java.lang.String lookupName)
lookup-name
element with the given value will be created.
Otherwise, the existing lookup-name
element will be updated with the given value.
setLookupName
in interface MessageDestinationType<T>
MessageDestinationType
public MessageDestinationType<T> removeLookupName()
lookup-name
element
removeLookupName
in interface MessageDestinationType<T>
MessageDestinationType
public java.lang.String getLookupName()
lookup-name
element
getLookupName
in interface MessageDestinationType<T>
lookup-name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |