Class JmsDestinationTypeImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.javaee7.JmsDestinationTypeImpl<T>
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,JmsDestinationType<T>
public class JmsDestinationTypeImpl<T>
extends Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, JmsDestinationType<T>
This class implements the
jms-destinationType xsd type-
Constructor Summary
ConstructorsConstructorDescriptionJmsDestinationTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node) JmsDestinationTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) -
Method Summary
Modifier and TypeMethodDescriptionSets theclass-nameelementCreates a newpropertyelementdescription(String description) Sets thedescriptionelementdestinationName(String destinationName) Sets thedestination-nameelementReturns allpropertyelementsReturns theclass-nameelementReturns thedescriptionelementReturns thedestination-nameelementgetId()Returns theidattributegetName()Returns thenameelementIf not already created, a newpropertyelement will be created and returned.Returns theresource-adapterelementSets theidattributeSets thenameelementRemoves allpropertyelementsRemoves theclass-nameelementRemoves thedescriptionelementRemoves thedestination-nameelementremoveId()Removes theidattributeRemoves thenameelementRemoves theresource-adapterelementresourceAdapter(String resourceAdapter) Sets theresource-adapterelementup()
-
Constructor Details
-
JmsDestinationTypeImpl
-
JmsDestinationTypeImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
description
Sets thedescriptionelement- Specified by:
descriptionin interfaceJmsDestinationType<T>- Parameters:
description- the value for the elementdescription- Returns:
- the current instance of
JmsDestinationType
-
getDescription
Returns thedescriptionelement- Specified by:
getDescriptionin interfaceJmsDestinationType<T>- Returns:
- the node defined for the element
description
-
removeDescription
Removes thedescriptionelement- Specified by:
removeDescriptionin interfaceJmsDestinationType<T>- Returns:
- the current instance of
JmsDestinationType
-
name
Sets thenameelement- Specified by:
namein interfaceJmsDestinationType<T>- Parameters:
name- the value for the elementname- Returns:
- the current instance of
JmsDestinationType
-
getName
Returns thenameelement- Specified by:
getNamein interfaceJmsDestinationType<T>- Returns:
- the node defined for the element
name
-
removeName
Removes thenameelement- Specified by:
removeNamein interfaceJmsDestinationType<T>- Returns:
- the current instance of
JmsDestinationType
-
className
Sets theclass-nameelement- Specified by:
classNamein interfaceJmsDestinationType<T>- Parameters:
className- the value for the elementclass-name- Returns:
- the current instance of
JmsDestinationType
-
getClassName
Returns theclass-nameelement- Specified by:
getClassNamein interfaceJmsDestinationType<T>- Returns:
- the node defined for the element
class-name
-
removeClassName
Removes theclass-nameelement- Specified by:
removeClassNamein interfaceJmsDestinationType<T>- Returns:
- the current instance of
JmsDestinationType
-
resourceAdapter
Sets theresource-adapterelement- Specified by:
resourceAdapterin interfaceJmsDestinationType<T>- Parameters:
resourceAdapter- the value for the elementresource-adapter- Returns:
- the current instance of
JmsDestinationType
-
getResourceAdapter
Returns theresource-adapterelement- Specified by:
getResourceAdapterin interfaceJmsDestinationType<T>- Returns:
- the node defined for the element
resource-adapter
-
removeResourceAdapter
Removes theresource-adapterelement- Specified by:
removeResourceAdapterin interfaceJmsDestinationType<T>- Returns:
- the current instance of
JmsDestinationType
-
destinationName
Sets thedestination-nameelement- Specified by:
destinationNamein interfaceJmsDestinationType<T>- Parameters:
destinationName- the value for the elementdestination-name- Returns:
- the current instance of
JmsDestinationType
-
getDestinationName
Returns thedestination-nameelement- Specified by:
getDestinationNamein interfaceJmsDestinationType<T>- Returns:
- the node defined for the element
destination-name
-
removeDestinationName
Removes thedestination-nameelement- Specified by:
removeDestinationNamein interfaceJmsDestinationType<T>- Returns:
- the current instance of
JmsDestinationType
-
getOrCreateProperty
If not already created, a newpropertyelement will be created and returned. Otherwise, the first existingpropertyelement will be returned.- Specified by:
getOrCreatePropertyin interfaceJmsDestinationType<T>- Returns:
- the instance defined for the element
property
-
createProperty
Creates a newpropertyelement- Specified by:
createPropertyin interfaceJmsDestinationType<T>- Returns:
- the new created instance of
PropertyTypeinvalid input: '<'JmsDestinationType>
-
getAllProperty
Returns allpropertyelements- Specified by:
getAllPropertyin interfaceJmsDestinationType<T>- Returns:
- list of
property
-
removeAllProperty
Removes allpropertyelements- Specified by:
removeAllPropertyin interfaceJmsDestinationType<T>- Returns:
- the current instance of
PropertyTypeinvalid input: '<'JmsDestinationType>
-
id
Sets theidattribute- Specified by:
idin interfaceJmsDestinationType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
JmsDestinationType
-
getId
Returns theidattribute- Specified by:
getIdin interfaceJmsDestinationType<T>- Returns:
- the value defined for the attribute
id
-
removeId
Removes theidattribute- Specified by:
removeIdin interfaceJmsDestinationType<T>- Returns:
- the current instance of
JmsDestinationType
-