|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.jbosscommon51.MessageDestinationTypeImpl<T>
public class MessageDestinationTypeImpl<T>
This class implements the message-destinationType xsd type
Original Documentation:
The message-destination element is used to configure the jndi-name for a
message-destination in ejb-jar.xml Used in: assembly-descriptor
| 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 |
getJndiName()
Returns the jndi-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> |
removeJndiName()
Removes the jndi-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> |
setJndiName(java.lang.String jndiName)
If not already created, a new jndi-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>MessageDestinationTypepublic MessageDestinationType<T> setDescriptionList(java.lang.String... values)
description elements,
a new description element
setDescriptionList in interface MessageDestinationType<T>list - of description objects
MessageDestinationTypepublic MessageDestinationType<T> removeAllDescription()
description element
removeAllDescription in interface MessageDestinationType<T>MessageDestinationTypepublic java.util.List<java.lang.String> getDescriptionList()
description elements
getDescriptionList in interface MessageDestinationType<T>descriptionpublic MessageDestinationType<T> setDisplayName(java.lang.String displayName)
display-name element
setDisplayName in interface MessageDestinationType<T>MessageDestinationTypepublic 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
MessageDestinationTypepublic MessageDestinationType<T> removeAllDisplayName()
display-name element
removeAllDisplayName in interface MessageDestinationType<T>MessageDestinationTypepublic java.util.List<java.lang.String> getDisplayNameList()
display-name elements
getDisplayNameList in interface MessageDestinationType<T>display-namepublic MessageDestinationType<T> removeAllIcon()
icon elements
removeAllIcon in interface MessageDestinationType<T>MessageDestinationTypepublic IconType<MessageDestinationType<T>> icon()
icon element
icon in interface MessageDestinationType<T>iconpublic java.util.List<IconType<MessageDestinationType<T>>> getIconList()
icon elements
getIconList in interface MessageDestinationType<T>iconpublic 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>MessageDestinationTypepublic MessageDestinationType<T> removeMessageDestinationName()
message-destination-name element
removeMessageDestinationName in interface MessageDestinationType<T>MessageDestinationTypepublic java.lang.String getMessageDestinationName()
message-destination-name element
getMessageDestinationName in interface MessageDestinationType<T>message-destination-namepublic MessageDestinationType<T> setJndiName(java.lang.String jndiName)
jndi-name element with the given value will be created.
Otherwise, the existing jndi-name element will be updated with the given value.
setJndiName in interface MessageDestinationType<T>MessageDestinationTypepublic MessageDestinationType<T> removeJndiName()
jndi-name element
removeJndiName in interface MessageDestinationType<T>MessageDestinationTypepublic java.lang.String getJndiName()
jndi-name element
getJndiName in interface MessageDestinationType<T>jndi-namepublic 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>MessageDestinationTypepublic MessageDestinationType<T> removeMappedName()
mapped-name element
removeMappedName in interface MessageDestinationType<T>MessageDestinationTypepublic java.lang.String getMappedName()
mapped-name element
getMappedName in interface MessageDestinationType<T>mapped-name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||