public class JmsDestinationTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, JmsDestinationType<T>
jms-destinationType xsd type| Constructor and Description |
|---|
JmsDestinationTypeImpl(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) |
| Modifier and Type | Method and Description |
|---|---|
JmsDestinationType<T> |
className(String className)
Sets the
class-name element |
PropertyType<JmsDestinationType<T>> |
createProperty()
Creates a new
property element |
JmsDestinationType<T> |
description(String description)
Sets the
description element |
JmsDestinationType<T> |
destinationName(String destinationName)
Sets the
destination-name element |
List<PropertyType<JmsDestinationType<T>>> |
getAllProperty()
Returns all
property elements |
String |
getClassName()
Returns the
class-name element |
String |
getDescription()
Returns the
description element |
String |
getDestinationName()
Returns the
destination-name element |
String |
getId()
Returns the
id attribute |
String |
getName()
Returns the
name element |
PropertyType<JmsDestinationType<T>> |
getOrCreateProperty()
If not already created, a new
property element will be created and returned. |
String |
getResourceAdapter()
Returns the
resource-adapter element |
JmsDestinationType<T> |
id(String id)
Sets the
id attribute |
JmsDestinationType<T> |
name(String name)
Sets the
name element |
JmsDestinationType<T> |
removeAllProperty()
Removes all
property elements |
JmsDestinationType<T> |
removeClassName()
Removes the
class-name element |
JmsDestinationType<T> |
removeDescription()
Removes the
description element |
JmsDestinationType<T> |
removeDestinationName()
Removes the
destination-name element |
JmsDestinationType<T> |
removeId()
Removes the
id attribute |
JmsDestinationType<T> |
removeName()
Removes the
name element |
JmsDestinationType<T> |
removeResourceAdapter()
Removes the
resource-adapter element |
JmsDestinationType<T> |
resourceAdapter(String resourceAdapter)
Sets the
resource-adapter element |
T |
up() |
public JmsDestinationTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public JmsDestinationType<T> description(String description)
description elementdescription in interface JmsDestinationType<T>description - the value for the element descriptionJmsDestinationTypepublic String getDescription()
description elementgetDescription in interface JmsDestinationType<T>descriptionpublic JmsDestinationType<T> removeDescription()
description elementremoveDescription in interface JmsDestinationType<T>JmsDestinationTypepublic JmsDestinationType<T> name(String name)
name elementname in interface JmsDestinationType<T>name - the value for the element nameJmsDestinationTypepublic String getName()
name elementgetName in interface JmsDestinationType<T>namepublic JmsDestinationType<T> removeName()
name elementremoveName in interface JmsDestinationType<T>JmsDestinationTypepublic JmsDestinationType<T> className(String className)
class-name elementclassName in interface JmsDestinationType<T>className - the value for the element class-nameJmsDestinationTypepublic String getClassName()
class-name elementgetClassName in interface JmsDestinationType<T>class-namepublic JmsDestinationType<T> removeClassName()
class-name elementremoveClassName in interface JmsDestinationType<T>JmsDestinationTypepublic JmsDestinationType<T> resourceAdapter(String resourceAdapter)
resource-adapter elementresourceAdapter in interface JmsDestinationType<T>resourceAdapter - the value for the element resource-adapterJmsDestinationTypepublic String getResourceAdapter()
resource-adapter elementgetResourceAdapter in interface JmsDestinationType<T>resource-adapterpublic JmsDestinationType<T> removeResourceAdapter()
resource-adapter elementremoveResourceAdapter in interface JmsDestinationType<T>JmsDestinationTypepublic JmsDestinationType<T> destinationName(String destinationName)
destination-name elementdestinationName in interface JmsDestinationType<T>destinationName - the value for the element destination-nameJmsDestinationTypepublic String getDestinationName()
destination-name elementgetDestinationName in interface JmsDestinationType<T>destination-namepublic JmsDestinationType<T> removeDestinationName()
destination-name elementremoveDestinationName in interface JmsDestinationType<T>JmsDestinationTypepublic PropertyType<JmsDestinationType<T>> getOrCreateProperty()
property element will be created and returned.
Otherwise, the first existing property element will be returned.getOrCreateProperty in interface JmsDestinationType<T>propertypublic PropertyType<JmsDestinationType<T>> createProperty()
property elementcreateProperty in interface JmsDestinationType<T>PropertyType> public List<PropertyType<JmsDestinationType<T>>> getAllProperty()
property elementsgetAllProperty in interface JmsDestinationType<T>propertypublic JmsDestinationType<T> removeAllProperty()
property elementsremoveAllProperty in interface JmsDestinationType<T>PropertyType> public JmsDestinationType<T> id(String id)
id attributeid in interface JmsDestinationType<T>id - the value for the attribute idJmsDestinationTypepublic String getId()
id attributegetId in interface JmsDestinationType<T>idpublic JmsDestinationType<T> removeId()
id attributeremoveId in interface JmsDestinationType<T>JmsDestinationTypeCopyright © 2021 JBoss by Red Hat. All rights reserved.