public class MessageDestinationTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, MessageDestinationType<T>
message-destinationType
xsd typeConstructor and Description |
---|
MessageDestinationTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node) |
MessageDestinationTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node,
org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) |
Modifier and Type | Method and Description |
---|---|
IconType<MessageDestinationType<T>> |
createIcon()
Creates a new
icon element |
MessageDestinationType<T> |
description(String... values)
Creates for all String objects representing
description elements,
a new description element |
MessageDestinationType<T> |
displayName(String... values)
Creates for all String objects representing
display-name elements,
a new display-name element |
List<String> |
getAllDescription()
Returns all
description elements |
List<String> |
getAllDisplayName()
Returns all
display-name elements |
List<IconType<MessageDestinationType<T>>> |
getAllIcon()
Returns all
icon elements |
String |
getId()
Returns the
id attribute |
String |
getMessageDestinationName()
Returns the
message-destination-name element |
IconType<MessageDestinationType<T>> |
getOrCreateIcon()
If not already created, a new
icon element will be created and returned. |
MessageDestinationType<T> |
id(String id)
Sets the
id attribute |
MessageDestinationType<T> |
messageDestinationName(String messageDestinationName)
Sets the
message-destination-name 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> |
removeId()
Removes the
id attribute |
MessageDestinationType<T> |
removeMessageDestinationName()
Removes the
message-destination-name element |
T |
up() |
public MessageDestinationTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public MessageDestinationType<T> description(String... values)
description
elements,
a new description
elementdescription
in interface MessageDestinationType<T>
values
- list of description
objectsMessageDestinationType
public List<String> getAllDescription()
description
elementsgetAllDescription
in interface MessageDestinationType<T>
description
public MessageDestinationType<T> removeAllDescription()
description
elementremoveAllDescription
in interface MessageDestinationType<T>
MessageDestinationType
public MessageDestinationType<T> displayName(String... values)
display-name
elements,
a new display-name
elementdisplayName
in interface MessageDestinationType<T>
values
- list of display-name
objectsMessageDestinationType
public List<String> getAllDisplayName()
display-name
elementsgetAllDisplayName
in interface MessageDestinationType<T>
display-name
public MessageDestinationType<T> removeAllDisplayName()
display-name
elementremoveAllDisplayName
in interface MessageDestinationType<T>
MessageDestinationType
public IconType<MessageDestinationType<T>> getOrCreateIcon()
icon
element will be created and returned.
Otherwise, the first existing icon
element will be returned.getOrCreateIcon
in interface MessageDestinationType<T>
icon
public IconType<MessageDestinationType<T>> createIcon()
icon
elementcreateIcon
in interface MessageDestinationType<T>
IconType>
public List<IconType<MessageDestinationType<T>>> getAllIcon()
icon
elementsgetAllIcon
in interface MessageDestinationType<T>
icon
public MessageDestinationType<T> removeAllIcon()
icon
elementsremoveAllIcon
in interface MessageDestinationType<T>
IconType>
public MessageDestinationType<T> messageDestinationName(String messageDestinationName)
message-destination-name
elementmessageDestinationName
in interface MessageDestinationType<T>
messageDestinationName
- the value for the element message-destination-name
MessageDestinationType
public String getMessageDestinationName()
message-destination-name
elementgetMessageDestinationName
in interface MessageDestinationType<T>
message-destination-name
public MessageDestinationType<T> removeMessageDestinationName()
message-destination-name
elementremoveMessageDestinationName
in interface MessageDestinationType<T>
MessageDestinationType
public MessageDestinationType<T> id(String id)
id
attributeid
in interface MessageDestinationType<T>
id
- the value for the attribute id
MessageDestinationType
public String getId()
id
attributegetId
in interface MessageDestinationType<T>
id
public MessageDestinationType<T> removeId()
id
attributeremoveId
in interface MessageDestinationType<T>
MessageDestinationType
Copyright © 2021 JBoss by Red Hat. All rights reserved.