Class JmsConnectionFactoryTypeImpl<T>
- java.lang.Object
-
- org.jboss.shrinkwrap.descriptor.impl.javaee7.JmsConnectionFactoryTypeImpl<T>
-
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,JmsConnectionFactoryType<T>
public class JmsConnectionFactoryTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, JmsConnectionFactoryType<T>
This class implements thejms-connection-factoryTypexsd type
-
-
Constructor Summary
Constructors Constructor Description JmsConnectionFactoryTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)JmsConnectionFactoryTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JmsConnectionFactoryType<T>className(String className)Sets theclass-nameelementJmsConnectionFactoryType<T>clientId(String clientId)Sets theclient-idelementPropertyType<JmsConnectionFactoryType<T>>createProperty()Creates a newpropertyelementJmsConnectionFactoryType<T>description(String description)Sets thedescriptionelementList<PropertyType<JmsConnectionFactoryType<T>>>getAllProperty()Returns allpropertyelementsStringgetClassName()Returns theclass-nameelementStringgetClientId()Returns theclient-idelementStringgetDescription()Returns thedescriptionelementStringgetId()Returns theidattributeIntegergetMaxPoolSize()Returns themax-pool-sizeelementIntegergetMinPoolSize()Returns themin-pool-sizeelementStringgetName()Returns thenameelementPropertyType<JmsConnectionFactoryType<T>>getOrCreateProperty()If not already created, a newpropertyelement will be created and returned.StringgetPassword()Returns thepasswordelementStringgetResourceAdapter()Returns theresource-adapterelementStringgetUser()Returns theuserelementJmsConnectionFactoryType<T>id(String id)Sets theidattributeBooleanisTransactional()Returns thetransactionalelementJmsConnectionFactoryType<T>maxPoolSize(Integer maxPoolSize)Sets themax-pool-sizeelementJmsConnectionFactoryType<T>minPoolSize(Integer minPoolSize)Sets themin-pool-sizeelementJmsConnectionFactoryType<T>name(String name)Sets thenameelementJmsConnectionFactoryType<T>password(String password)Sets thepasswordelementJmsConnectionFactoryType<T>removeAllProperty()Removes allpropertyelementsJmsConnectionFactoryType<T>removeClassName()Removes theclass-nameelementJmsConnectionFactoryType<T>removeClientId()Removes theclient-idelementJmsConnectionFactoryType<T>removeDescription()Removes thedescriptionelementJmsConnectionFactoryType<T>removeId()Removes theidattributeJmsConnectionFactoryType<T>removeMaxPoolSize()Removes themax-pool-sizeelementJmsConnectionFactoryType<T>removeMinPoolSize()Removes themin-pool-sizeelementJmsConnectionFactoryType<T>removeName()Removes thenameelementJmsConnectionFactoryType<T>removePassword()Removes thepasswordelementJmsConnectionFactoryType<T>removeResourceAdapter()Removes theresource-adapterelementJmsConnectionFactoryType<T>removeTransactional()Removes thetransactionalelementJmsConnectionFactoryType<T>removeUser()Removes theuserelementJmsConnectionFactoryType<T>resourceAdapter(String resourceAdapter)Sets theresource-adapterelementJmsConnectionFactoryType<T>transactional(Boolean transactional)Sets thetransactionalelementTup()JmsConnectionFactoryType<T>user(String user)Sets theuserelement
-
-
-
Method Detail
-
description
public JmsConnectionFactoryType<T> description(String description)
Sets thedescriptionelement- Specified by:
descriptionin interfaceJmsConnectionFactoryType<T>- Parameters:
description- the value for the elementdescription- Returns:
- the current instance of
JmsConnectionFactoryType
-
getDescription
public String getDescription()
Returns thedescriptionelement- Specified by:
getDescriptionin interfaceJmsConnectionFactoryType<T>- Returns:
- the node defined for the element
description
-
removeDescription
public JmsConnectionFactoryType<T> removeDescription()
Removes thedescriptionelement- Specified by:
removeDescriptionin interfaceJmsConnectionFactoryType<T>- Returns:
- the current instance of
JmsConnectionFactoryType
-
name
public JmsConnectionFactoryType<T> name(String name)
Sets thenameelement- Specified by:
namein interfaceJmsConnectionFactoryType<T>- Parameters:
name- the value for the elementname- Returns:
- the current instance of
JmsConnectionFactoryType
-
getName
public String getName()
Returns thenameelement- Specified by:
getNamein interfaceJmsConnectionFactoryType<T>- Returns:
- the node defined for the element
name
-
removeName
public JmsConnectionFactoryType<T> removeName()
Removes thenameelement- Specified by:
removeNamein interfaceJmsConnectionFactoryType<T>- Returns:
- the current instance of
JmsConnectionFactoryType
-
className
public JmsConnectionFactoryType<T> className(String className)
Sets theclass-nameelement- Specified by:
classNamein interfaceJmsConnectionFactoryType<T>- Parameters:
className- the value for the elementclass-name- Returns:
- the current instance of
JmsConnectionFactoryType
-
getClassName
public String getClassName()
Returns theclass-nameelement- Specified by:
getClassNamein interfaceJmsConnectionFactoryType<T>- Returns:
- the node defined for the element
class-name
-
removeClassName
public JmsConnectionFactoryType<T> removeClassName()
Removes theclass-nameelement- Specified by:
removeClassNamein interfaceJmsConnectionFactoryType<T>- Returns:
- the current instance of
JmsConnectionFactoryType
-
resourceAdapter
public JmsConnectionFactoryType<T> resourceAdapter(String resourceAdapter)
Sets theresource-adapterelement- Specified by:
resourceAdapterin interfaceJmsConnectionFactoryType<T>- Parameters:
resourceAdapter- the value for the elementresource-adapter- Returns:
- the current instance of
JmsConnectionFactoryType
-
getResourceAdapter
public String getResourceAdapter()
Returns theresource-adapterelement- Specified by:
getResourceAdapterin interfaceJmsConnectionFactoryType<T>- Returns:
- the node defined for the element
resource-adapter
-
removeResourceAdapter
public JmsConnectionFactoryType<T> removeResourceAdapter()
Removes theresource-adapterelement- Specified by:
removeResourceAdapterin interfaceJmsConnectionFactoryType<T>- Returns:
- the current instance of
JmsConnectionFactoryType
-
user
public JmsConnectionFactoryType<T> user(String user)
Sets theuserelement- Specified by:
userin interfaceJmsConnectionFactoryType<T>- Parameters:
user- the value for the elementuser- Returns:
- the current instance of
JmsConnectionFactoryType
-
getUser
public String getUser()
Returns theuserelement- Specified by:
getUserin interfaceJmsConnectionFactoryType<T>- Returns:
- the node defined for the element
user
-
removeUser
public JmsConnectionFactoryType<T> removeUser()
Removes theuserelement- Specified by:
removeUserin interfaceJmsConnectionFactoryType<T>- Returns:
- the current instance of
JmsConnectionFactoryType
-
password
public JmsConnectionFactoryType<T> password(String password)
Sets thepasswordelement- Specified by:
passwordin interfaceJmsConnectionFactoryType<T>- Parameters:
password- the value for the elementpassword- Returns:
- the current instance of
JmsConnectionFactoryType
-
getPassword
public String getPassword()
Returns thepasswordelement- Specified by:
getPasswordin interfaceJmsConnectionFactoryType<T>- Returns:
- the node defined for the element
password
-
removePassword
public JmsConnectionFactoryType<T> removePassword()
Removes thepasswordelement- Specified by:
removePasswordin interfaceJmsConnectionFactoryType<T>- Returns:
- the current instance of
JmsConnectionFactoryType
-
clientId
public JmsConnectionFactoryType<T> clientId(String clientId)
Sets theclient-idelement- Specified by:
clientIdin interfaceJmsConnectionFactoryType<T>- Parameters:
clientId- the value for the elementclient-id- Returns:
- the current instance of
JmsConnectionFactoryType
-
getClientId
public String getClientId()
Returns theclient-idelement- Specified by:
getClientIdin interfaceJmsConnectionFactoryType<T>- Returns:
- the node defined for the element
client-id
-
removeClientId
public JmsConnectionFactoryType<T> removeClientId()
Removes theclient-idelement- Specified by:
removeClientIdin interfaceJmsConnectionFactoryType<T>- Returns:
- the current instance of
JmsConnectionFactoryType
-
getOrCreateProperty
public PropertyType<JmsConnectionFactoryType<T>> getOrCreateProperty()
If not already created, a newpropertyelement will be created and returned. Otherwise, the first existingpropertyelement will be returned.- Specified by:
getOrCreatePropertyin interfaceJmsConnectionFactoryType<T>- Returns:
- the instance defined for the element
property
-
createProperty
public PropertyType<JmsConnectionFactoryType<T>> createProperty()
Creates a newpropertyelement- Specified by:
createPropertyin interfaceJmsConnectionFactoryType<T>- Returns:
- the new created instance of
PropertyType>
-
getAllProperty
public List<PropertyType<JmsConnectionFactoryType<T>>> getAllProperty()
Returns allpropertyelements- Specified by:
getAllPropertyin interfaceJmsConnectionFactoryType<T>- Returns:
- list of
property
-
removeAllProperty
public JmsConnectionFactoryType<T> removeAllProperty()
Removes allpropertyelements- Specified by:
removeAllPropertyin interfaceJmsConnectionFactoryType<T>- Returns:
- the current instance of
PropertyType>
-
transactional
public JmsConnectionFactoryType<T> transactional(Boolean transactional)
Sets thetransactionalelement- Specified by:
transactionalin interfaceJmsConnectionFactoryType<T>- Parameters:
transactional- the value for the elementtransactional- Returns:
- the current instance of
JmsConnectionFactoryType
-
isTransactional
public Boolean isTransactional()
Returns thetransactionalelement- Specified by:
isTransactionalin interfaceJmsConnectionFactoryType<T>- Returns:
- the node defined for the element
transactional
-
removeTransactional
public JmsConnectionFactoryType<T> removeTransactional()
Removes thetransactionalelement- Specified by:
removeTransactionalin interfaceJmsConnectionFactoryType<T>- Returns:
- the current instance of
JmsConnectionFactoryType
-
maxPoolSize
public JmsConnectionFactoryType<T> maxPoolSize(Integer maxPoolSize)
Sets themax-pool-sizeelement- Specified by:
maxPoolSizein interfaceJmsConnectionFactoryType<T>- Parameters:
maxPoolSize- the value for the elementmax-pool-size- Returns:
- the current instance of
JmsConnectionFactoryType
-
getMaxPoolSize
public Integer getMaxPoolSize()
Returns themax-pool-sizeelement- Specified by:
getMaxPoolSizein interfaceJmsConnectionFactoryType<T>- Returns:
- the node defined for the element
max-pool-size
-
removeMaxPoolSize
public JmsConnectionFactoryType<T> removeMaxPoolSize()
Removes themax-pool-sizeelement- Specified by:
removeMaxPoolSizein interfaceJmsConnectionFactoryType<T>- Returns:
- the current instance of
JmsConnectionFactoryType
-
minPoolSize
public JmsConnectionFactoryType<T> minPoolSize(Integer minPoolSize)
Sets themin-pool-sizeelement- Specified by:
minPoolSizein interfaceJmsConnectionFactoryType<T>- Parameters:
minPoolSize- the value for the elementmin-pool-size- Returns:
- the current instance of
JmsConnectionFactoryType
-
getMinPoolSize
public Integer getMinPoolSize()
Returns themin-pool-sizeelement- Specified by:
getMinPoolSizein interfaceJmsConnectionFactoryType<T>- Returns:
- the node defined for the element
min-pool-size
-
removeMinPoolSize
public JmsConnectionFactoryType<T> removeMinPoolSize()
Removes themin-pool-sizeelement- Specified by:
removeMinPoolSizein interfaceJmsConnectionFactoryType<T>- Returns:
- the current instance of
JmsConnectionFactoryType
-
id
public JmsConnectionFactoryType<T> id(String id)
Sets theidattribute- Specified by:
idin interfaceJmsConnectionFactoryType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
JmsConnectionFactoryType
-
getId
public String getId()
Returns theidattribute- Specified by:
getIdin interfaceJmsConnectionFactoryType<T>- Returns:
- the value defined for the attribute
id
-
removeId
public JmsConnectionFactoryType<T> removeId()
Removes theidattribute- Specified by:
removeIdin interfaceJmsConnectionFactoryType<T>- Returns:
- the current instance of
JmsConnectionFactoryType
-
-