|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.javaee5.MessageDestinationRefTypeImpl<T>
public class MessageDestinationRefTypeImpl<T>
This class implements the message-destination-refType xsd type
Original Documentation:
The message-destination-ref element contains a declaration
of Deployment Component's reference to a message destination
associated with a resource in Deployment Component's
environment. It consists of:
- an optional description
- the message destination reference name
- an optional message destination type
- an optional specification as to whether
the destination is used for
consuming or producing messages, or both.
if not specified, "both" is assumed.
- an optional link to the message destination
- optional injection targets
The message destination type must be supplied unless an
injection target is specified, in which case the type
of the target is used. If both are specified, the type
must be assignment compatible with the type of the injection
target.
Examples:
| Constructor Summary | |
|---|---|
MessageDestinationRefTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
MessageDestinationRefTypeImpl(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<InjectionTargetType<MessageDestinationRefType<T>>> |
getInjectionTargetList()
Returns all injection-target elements |
java.lang.String |
getMappedName()
Returns the mapped-name element |
java.lang.String |
getMessageDestinationLink()
Returns the message-destination-link element |
java.lang.String |
getMessageDestinationRefName()
Returns the message-destination-ref-name element |
java.lang.String |
getMessageDestinationType()
Returns the message-destination-type element |
MessageDestinationUsageType |
getMessageDestinationUsage()
Returns the message-destination-usage element |
java.lang.String |
getMessageDestinationUsageAsString()
Returns the message-destination-usage element |
InjectionTargetType<MessageDestinationRefType<T>> |
injectionTarget()
Returns the injection-target element |
MessageDestinationRefType<T> |
removeAllDescription()
Removes the description element |
MessageDestinationRefType<T> |
removeAllInjectionTarget()
Removes all injection-target elements |
MessageDestinationRefType<T> |
removeMappedName()
Removes the mapped-name element |
MessageDestinationRefType<T> |
removeMessageDestinationLink()
Removes the message-destination-link element |
MessageDestinationRefType<T> |
removeMessageDestinationRefName()
Removes the message-destination-ref-name element |
MessageDestinationRefType<T> |
removeMessageDestinationType()
Removes the message-destination-type element |
MessageDestinationRefType<T> |
setDescription(java.lang.String description)
Creates a new description element |
MessageDestinationRefType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
MessageDestinationRefType<T> |
setMappedName(java.lang.String mappedName)
If not already created, a new mapped-name element with the given value will be created. |
MessageDestinationRefType<T> |
setMessageDestinationLink(java.lang.String messageDestinationLink)
If not already created, a new message-destination-link element with the given value will be created. |
MessageDestinationRefType<T> |
setMessageDestinationRefName(java.lang.String messageDestinationRefName)
If not already created, a new message-destination-ref-name element with the given value will be created. |
MessageDestinationRefType<T> |
setMessageDestinationType(java.lang.String messageDestinationType)
If not already created, a new message-destination-type element with the given value will be created. |
MessageDestinationRefType<T> |
setMessageDestinationUsage(MessageDestinationUsageType messageDestinationUsage)
If not already created, a new message-destination-usage element with the given value will be created. |
MessageDestinationRefType<T> |
setMessageDestinationUsage(java.lang.String messageDestinationUsage)
If not already created, a new message-destination-usage 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 MessageDestinationRefTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
public MessageDestinationRefTypeImpl(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 MessageDestinationRefType<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 MessageDestinationRefType<T>MessageDestinationRefTypepublic MessageDestinationRefType<T> removeMappedName()
mapped-name element
removeMappedName in interface MessageDestinationRefType<T>MessageDestinationRefTypepublic java.lang.String getMappedName()
mapped-name element
getMappedName in interface MessageDestinationRefType<T>mapped-namepublic MessageDestinationRefType<T> removeAllInjectionTarget()
injection-target elements
removeAllInjectionTarget in interface MessageDestinationRefType<T>MessageDestinationRefTypepublic InjectionTargetType<MessageDestinationRefType<T>> injectionTarget()
injection-target element
injectionTarget in interface MessageDestinationRefType<T>injection-targetpublic java.util.List<InjectionTargetType<MessageDestinationRefType<T>>> getInjectionTargetList()
injection-target elements
getInjectionTargetList in interface MessageDestinationRefType<T>injection-targetpublic MessageDestinationRefType<T> setDescription(java.lang.String description)
description element
setDescription in interface MessageDestinationRefType<T>MessageDestinationRefTypepublic MessageDestinationRefType<T> setDescriptionList(java.lang.String... values)
description elements,
a new description element
setDescriptionList in interface MessageDestinationRefType<T>list - of description objects
MessageDestinationRefTypepublic MessageDestinationRefType<T> removeAllDescription()
description element
removeAllDescription in interface MessageDestinationRefType<T>MessageDestinationRefTypepublic java.util.List<java.lang.String> getDescriptionList()
description elements
getDescriptionList in interface MessageDestinationRefType<T>descriptionpublic MessageDestinationRefType<T> setMessageDestinationRefName(java.lang.String messageDestinationRefName)
message-destination-ref-name element with the given value will be created.
Otherwise, the existing message-destination-ref-name element will be updated with the given value.
setMessageDestinationRefName in interface MessageDestinationRefType<T>MessageDestinationRefTypepublic MessageDestinationRefType<T> removeMessageDestinationRefName()
message-destination-ref-name element
removeMessageDestinationRefName in interface MessageDestinationRefType<T>MessageDestinationRefTypepublic java.lang.String getMessageDestinationRefName()
message-destination-ref-name element
getMessageDestinationRefName in interface MessageDestinationRefType<T>message-destination-ref-namepublic MessageDestinationRefType<T> setMessageDestinationType(java.lang.String messageDestinationType)
message-destination-type element with the given value will be created.
Otherwise, the existing message-destination-type element will be updated with the given value.
setMessageDestinationType in interface MessageDestinationRefType<T>MessageDestinationRefTypepublic MessageDestinationRefType<T> removeMessageDestinationType()
message-destination-type element
removeMessageDestinationType in interface MessageDestinationRefType<T>MessageDestinationRefTypepublic java.lang.String getMessageDestinationType()
message-destination-type element
getMessageDestinationType in interface MessageDestinationRefType<T>message-destination-typepublic MessageDestinationRefType<T> setMessageDestinationUsage(MessageDestinationUsageType messageDestinationUsage)
message-destination-usage element with the given value will be created.
Otherwise, the existing message-destination-usage element will be updated with the given value.
setMessageDestinationUsage in interface MessageDestinationRefType<T>MessageDestinationRefTypepublic MessageDestinationRefType<T> setMessageDestinationUsage(java.lang.String messageDestinationUsage)
message-destination-usage element with the given value will be created.
Otherwise, the existing message-destination-usage element will be updated with the given value.
setMessageDestinationUsage in interface MessageDestinationRefType<T>MessageDestinationRefTypepublic MessageDestinationUsageType getMessageDestinationUsage()
message-destination-usage element
getMessageDestinationUsage in interface MessageDestinationRefType<T>message-destination-usagepublic java.lang.String getMessageDestinationUsageAsString()
message-destination-usage element
getMessageDestinationUsageAsString in interface MessageDestinationRefType<T>message-destination-usagepublic MessageDestinationRefType<T> setMessageDestinationLink(java.lang.String messageDestinationLink)
message-destination-link element with the given value will be created.
Otherwise, the existing message-destination-link element will be updated with the given value.
setMessageDestinationLink in interface MessageDestinationRefType<T>MessageDestinationRefTypepublic MessageDestinationRefType<T> removeMessageDestinationLink()
message-destination-link element
removeMessageDestinationLink in interface MessageDestinationRefType<T>MessageDestinationRefTypepublic java.lang.String getMessageDestinationLink()
message-destination-link element
getMessageDestinationLink in interface MessageDestinationRefType<T>message-destination-link
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||