public class JmsDestinationTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, JmsDestinationType<T>
jms-destinationType
xsd typeConstructor 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 description
JmsDestinationType
public String getDescription()
description
elementgetDescription
in interface JmsDestinationType<T>
description
public JmsDestinationType<T> removeDescription()
description
elementremoveDescription
in interface JmsDestinationType<T>
JmsDestinationType
public JmsDestinationType<T> name(String name)
name
elementname
in interface JmsDestinationType<T>
name
- the value for the element name
JmsDestinationType
public String getName()
name
elementgetName
in interface JmsDestinationType<T>
name
public JmsDestinationType<T> removeName()
name
elementremoveName
in interface JmsDestinationType<T>
JmsDestinationType
public JmsDestinationType<T> className(String className)
class-name
elementclassName
in interface JmsDestinationType<T>
className
- the value for the element class-name
JmsDestinationType
public String getClassName()
class-name
elementgetClassName
in interface JmsDestinationType<T>
class-name
public JmsDestinationType<T> removeClassName()
class-name
elementremoveClassName
in interface JmsDestinationType<T>
JmsDestinationType
public JmsDestinationType<T> resourceAdapter(String resourceAdapter)
resource-adapter
elementresourceAdapter
in interface JmsDestinationType<T>
resourceAdapter
- the value for the element resource-adapter
JmsDestinationType
public String getResourceAdapter()
resource-adapter
elementgetResourceAdapter
in interface JmsDestinationType<T>
resource-adapter
public JmsDestinationType<T> removeResourceAdapter()
resource-adapter
elementremoveResourceAdapter
in interface JmsDestinationType<T>
JmsDestinationType
public JmsDestinationType<T> destinationName(String destinationName)
destination-name
elementdestinationName
in interface JmsDestinationType<T>
destinationName
- the value for the element destination-name
JmsDestinationType
public String getDestinationName()
destination-name
elementgetDestinationName
in interface JmsDestinationType<T>
destination-name
public JmsDestinationType<T> removeDestinationName()
destination-name
elementremoveDestinationName
in interface JmsDestinationType<T>
JmsDestinationType
public 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>
property
public PropertyType<JmsDestinationType<T>> createProperty()
property
elementcreateProperty
in interface JmsDestinationType<T>
PropertyType>
public List<PropertyType<JmsDestinationType<T>>> getAllProperty()
property
elementsgetAllProperty
in interface JmsDestinationType<T>
property
public 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 id
JmsDestinationType
public String getId()
id
attributegetId
in interface JmsDestinationType<T>
id
public JmsDestinationType<T> removeId()
id
attributeremoveId
in interface JmsDestinationType<T>
JmsDestinationType
Copyright © 2021 JBoss by Red Hat. All rights reserved.