Interface JmsDestinationType<T>
-
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
JmsDestinationTypeImpl
public interface JmsDestinationType<T> extends org.jboss.shrinkwrap.descriptor.api.Child<T>This interface defines the contract for thejms-destinationTypexsd type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JmsDestinationType<T>className(String className)Sets theclass-nameelementPropertyType<JmsDestinationType<T>>createProperty()Creates a newpropertyelementJmsDestinationType<T>description(String description)Sets thedescriptionelementJmsDestinationType<T>destinationName(String destinationName)Sets thedestination-nameelementList<PropertyType<JmsDestinationType<T>>>getAllProperty()Returns allpropertyelementsStringgetClassName()Returns theclass-nameelementStringgetDescription()Returns thedescriptionelementStringgetDestinationName()Returns thedestination-nameelementStringgetId()Returns theidattributeStringgetName()Returns thenameelementPropertyType<JmsDestinationType<T>>getOrCreateProperty()If not already created, a newpropertyelement will be created and returned.StringgetResourceAdapter()Returns theresource-adapterelementJmsDestinationType<T>id(String id)Sets theidattributeJmsDestinationType<T>name(String name)Sets thenameelementJmsDestinationType<T>removeAllProperty()Removes allpropertyelementsJmsDestinationType<T>removeClassName()Removes theclass-nameelementJmsDestinationType<T>removeDescription()Removes thedescriptionelementJmsDestinationType<T>removeDestinationName()Removes thedestination-nameelementJmsDestinationType<T>removeId()Removes theidattributeJmsDestinationType<T>removeName()Removes thenameelementJmsDestinationType<T>removeResourceAdapter()Removes theresource-adapterelementJmsDestinationType<T>resourceAdapter(String resourceAdapter)Sets theresource-adapterelement
-
-
-
Method Detail
-
description
JmsDestinationType<T> description(String description)
Sets thedescriptionelement- Parameters:
description- the value for the elementdescription- Returns:
- the current instance of
JmsDestinationType
-
getDescription
String getDescription()
Returns thedescriptionelement- Returns:
- the node defined for the element
description
-
removeDescription
JmsDestinationType<T> removeDescription()
Removes thedescriptionelement- Returns:
- the current instance of
JmsDestinationType
-
name
JmsDestinationType<T> name(String name)
Sets thenameelement- Parameters:
name- the value for the elementname- Returns:
- the current instance of
JmsDestinationType
-
getName
String getName()
Returns thenameelement- Returns:
- the node defined for the element
name
-
removeName
JmsDestinationType<T> removeName()
Removes thenameelement- Returns:
- the current instance of
JmsDestinationType
-
className
JmsDestinationType<T> className(String className)
Sets theclass-nameelement- Parameters:
className- the value for the elementclass-name- Returns:
- the current instance of
JmsDestinationType
-
getClassName
String getClassName()
Returns theclass-nameelement- Returns:
- the node defined for the element
class-name
-
removeClassName
JmsDestinationType<T> removeClassName()
Removes theclass-nameelement- Returns:
- the current instance of
JmsDestinationType
-
resourceAdapter
JmsDestinationType<T> resourceAdapter(String resourceAdapter)
Sets theresource-adapterelement- Parameters:
resourceAdapter- the value for the elementresource-adapter- Returns:
- the current instance of
JmsDestinationType
-
getResourceAdapter
String getResourceAdapter()
Returns theresource-adapterelement- Returns:
- the node defined for the element
resource-adapter
-
removeResourceAdapter
JmsDestinationType<T> removeResourceAdapter()
Removes theresource-adapterelement- Returns:
- the current instance of
JmsDestinationType
-
destinationName
JmsDestinationType<T> destinationName(String destinationName)
Sets thedestination-nameelement- Parameters:
destinationName- the value for the elementdestination-name- Returns:
- the current instance of
JmsDestinationType
-
getDestinationName
String getDestinationName()
Returns thedestination-nameelement- Returns:
- the node defined for the element
destination-name
-
removeDestinationName
JmsDestinationType<T> removeDestinationName()
Removes thedestination-nameelement- Returns:
- the current instance of
JmsDestinationType
-
getOrCreateProperty
PropertyType<JmsDestinationType<T>> getOrCreateProperty()
If not already created, a newpropertyelement will be created and returned. Otherwise, the first existingpropertyelement will be returned.- Returns:
- the instance defined for the element
property
-
createProperty
PropertyType<JmsDestinationType<T>> createProperty()
Creates a newpropertyelement- Returns:
- the new created instance of
PropertyType>
-
getAllProperty
List<PropertyType<JmsDestinationType<T>>> getAllProperty()
Returns allpropertyelements- Returns:
- list of
property
-
removeAllProperty
JmsDestinationType<T> removeAllProperty()
Removes allpropertyelements- Returns:
- the current instance of
PropertyType>
-
id
JmsDestinationType<T> id(String id)
Sets theidattribute- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
JmsDestinationType
-
getId
String getId()
Returns theidattribute- Returns:
- the value defined for the attribute
id
-
removeId
JmsDestinationType<T> removeId()
Removes theidattribute- Returns:
- the current instance of
JmsDestinationType
-
-