ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.javaee6
Interface MessageDestinationType<T>

All Superinterfaces:
Child<T>

public interface MessageDestinationType<T>
extends Child<T>

This interface defines the contract for the message-destinationType xsd type

Since:
Generation date :2012-05-09T23:45:05.33-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 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 getLookupName()
          Returns the lookup-name element
 String getMappedName()
          Returns the mapped-name element
 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> lookupName(String lookupName)
          Sets the lookup-name element
 MessageDestinationType<T> mappedName(String mappedName)
          Sets the mapped-name element
 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> removeLookupName()
          Removes the lookup-name element
 MessageDestinationType<T> removeMappedName()
          Removes the mapped-name element
 MessageDestinationType<T> removeMessageDestinationName()
          Removes the message-destination-name element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

MessageDestinationType<T> description(String... values)
Creates for all String objects representing description elements, a new description element

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

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

MessageDestinationType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of MessageDestinationType

displayName

MessageDestinationType<T> displayName(String... values)
Creates for all String objects representing display-name elements, a new display-name element

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

getAllDisplayName

List<String> getAllDisplayName()
Returns all display-name elements

Returns:
list of display-name

removeAllDisplayName

MessageDestinationType<T> removeAllDisplayName()
Removes the display-name element

Returns:
the current instance of MessageDestinationType

getOrCreateIcon

IconType<MessageDestinationType<T>> getOrCreateIcon()
If not already created, a new icon element will be created and returned. Otherwise, the first existing icon element will be returned.

Returns:
the instance defined for the element icon

createIcon

IconType<MessageDestinationType<T>> createIcon()
Creates a new icon element

Returns:
the new created instance of IconType>

getAllIcon

List<IconType<MessageDestinationType<T>>> getAllIcon()
Returns all icon elements

Returns:
list of icon

removeAllIcon

MessageDestinationType<T> removeAllIcon()
Removes all icon elements

Returns:
the current instance of IconType>

messageDestinationName

MessageDestinationType<T> messageDestinationName(String messageDestinationName)
Sets the message-destination-name element

Parameters:
messageDestinationName - the value for the element message-destination-name
Returns:
the current instance of MessageDestinationType

getMessageDestinationName

String getMessageDestinationName()
Returns the message-destination-name element

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

removeMessageDestinationName

MessageDestinationType<T> removeMessageDestinationName()
Removes the message-destination-name element

Returns:
the current instance of MessageDestinationType

mappedName

MessageDestinationType<T> mappedName(String mappedName)
Sets the mapped-name element

Parameters:
mappedName - the value for the element mapped-name
Returns:
the current instance of MessageDestinationType

getMappedName

String getMappedName()
Returns the mapped-name element

Returns:
the node defined for the element mapped-name

removeMappedName

MessageDestinationType<T> removeMappedName()
Removes the mapped-name element

Returns:
the current instance of MessageDestinationType

lookupName

MessageDestinationType<T> lookupName(String lookupName)
Sets the lookup-name element

Parameters:
lookupName - the value for the element lookup-name
Returns:
the current instance of MessageDestinationType

getLookupName

String getLookupName()
Returns the lookup-name element

Returns:
the node defined for the element lookup-name

removeLookupName

MessageDestinationType<T> removeLookupName()
Removes the lookup-name element

Returns:
the current instance of MessageDestinationType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.