Class ConnectionFactoryResourceTypeImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.javaee7.ConnectionFactoryResourceTypeImpl<T>
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,ConnectionFactoryResourceType<T>
public class ConnectionFactoryResourceTypeImpl<T>
extends Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ConnectionFactoryResourceType<T>
This class implements the
connection-factory-resourceType xsd type-
Constructor Summary
ConstructorsConstructorDescriptionConnectionFactoryResourceTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node) ConnectionFactoryResourceTypeImpl(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 thedescriptionelementReturns allpropertyelementsReturns theclass-nameelementReturns thedescriptionelementgetId()Returns theidattributeReturns themax-pool-sizeelementReturns themin-pool-sizeelementgetName()Returns thenameelementIf not already created, a newpropertyelement will be created and returned.Returns theresource-adapterelementReturns thetransaction-supportelementReturns thetransaction-supportelementSets theidattributemaxPoolSize(Integer maxPoolSize) Sets themax-pool-sizeelementminPoolSize(Integer minPoolSize) Sets themin-pool-sizeelementSets thenameelementRemoves allpropertyelementsRemoves theclass-nameelementRemoves thedescriptionelementremoveId()Removes theidattributeRemoves themax-pool-sizeelementRemoves themin-pool-sizeelementRemoves thenameelementRemoves theresource-adapterelementRemoves thetransaction-supportattributeresourceAdapter(String resourceAdapter) Sets theresource-adapterelementtransactionSupport(String transactionSupport) Sets thetransaction-supportelementtransactionSupport(TransactionSupportType transactionSupport) Sets thetransaction-supportelementup()
-
Constructor Details
-
ConnectionFactoryResourceTypeImpl
-
ConnectionFactoryResourceTypeImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
description
Sets thedescriptionelement- Specified by:
descriptionin interfaceConnectionFactoryResourceType<T>- Parameters:
description- the value for the elementdescription- Returns:
- the current instance of
ConnectionFactoryResourceType
-
getDescription
Returns thedescriptionelement- Specified by:
getDescriptionin interfaceConnectionFactoryResourceType<T>- Returns:
- the node defined for the element
description
-
removeDescription
Removes thedescriptionelement- Specified by:
removeDescriptionin interfaceConnectionFactoryResourceType<T>- Returns:
- the current instance of
ConnectionFactoryResourceType
-
name
Sets thenameelement- Specified by:
namein interfaceConnectionFactoryResourceType<T>- Parameters:
name- the value for the elementname- Returns:
- the current instance of
ConnectionFactoryResourceType
-
getName
Returns thenameelement- Specified by:
getNamein interfaceConnectionFactoryResourceType<T>- Returns:
- the node defined for the element
name
-
removeName
Removes thenameelement- Specified by:
removeNamein interfaceConnectionFactoryResourceType<T>- Returns:
- the current instance of
ConnectionFactoryResourceType
-
className
Sets theclass-nameelement- Specified by:
classNamein interfaceConnectionFactoryResourceType<T>- Parameters:
className- the value for the elementclass-name- Returns:
- the current instance of
ConnectionFactoryResourceType
-
getClassName
Returns theclass-nameelement- Specified by:
getClassNamein interfaceConnectionFactoryResourceType<T>- Returns:
- the node defined for the element
class-name
-
removeClassName
Removes theclass-nameelement- Specified by:
removeClassNamein interfaceConnectionFactoryResourceType<T>- Returns:
- the current instance of
ConnectionFactoryResourceType
-
resourceAdapter
Sets theresource-adapterelement- Specified by:
resourceAdapterin interfaceConnectionFactoryResourceType<T>- Parameters:
resourceAdapter- the value for the elementresource-adapter- Returns:
- the current instance of
ConnectionFactoryResourceType
-
getResourceAdapter
Returns theresource-adapterelement- Specified by:
getResourceAdapterin interfaceConnectionFactoryResourceType<T>- Returns:
- the node defined for the element
resource-adapter
-
removeResourceAdapter
Removes theresource-adapterelement- Specified by:
removeResourceAdapterin interfaceConnectionFactoryResourceType<T>- Returns:
- the current instance of
ConnectionFactoryResourceType
-
maxPoolSize
Sets themax-pool-sizeelement- Specified by:
maxPoolSizein interfaceConnectionFactoryResourceType<T>- Parameters:
maxPoolSize- the value for the elementmax-pool-size- Returns:
- the current instance of
ConnectionFactoryResourceType
-
getMaxPoolSize
Returns themax-pool-sizeelement- Specified by:
getMaxPoolSizein interfaceConnectionFactoryResourceType<T>- Returns:
- the node defined for the element
max-pool-size
-
removeMaxPoolSize
Removes themax-pool-sizeelement- Specified by:
removeMaxPoolSizein interfaceConnectionFactoryResourceType<T>- Returns:
- the current instance of
ConnectionFactoryResourceType
-
minPoolSize
Sets themin-pool-sizeelement- Specified by:
minPoolSizein interfaceConnectionFactoryResourceType<T>- Parameters:
minPoolSize- the value for the elementmin-pool-size- Returns:
- the current instance of
ConnectionFactoryResourceType
-
getMinPoolSize
Returns themin-pool-sizeelement- Specified by:
getMinPoolSizein interfaceConnectionFactoryResourceType<T>- Returns:
- the node defined for the element
min-pool-size
-
removeMinPoolSize
Removes themin-pool-sizeelement- Specified by:
removeMinPoolSizein interfaceConnectionFactoryResourceType<T>- Returns:
- the current instance of
ConnectionFactoryResourceType
-
transactionSupport
public ConnectionFactoryResourceType<T> transactionSupport(TransactionSupportType transactionSupport) Sets thetransaction-supportelement- Specified by:
transactionSupportin interfaceConnectionFactoryResourceType<T>- Parameters:
transactionSupport- the value for the elementtransaction-support- Returns:
- the current instance of
ConnectionFactoryResourceType
-
transactionSupport
Sets thetransaction-supportelement- Specified by:
transactionSupportin interfaceConnectionFactoryResourceType<T>- Parameters:
transactionSupport- the value for the elementtransaction-support- Returns:
- the current instance of
ConnectionFactoryResourceType
-
getTransactionSupport
Returns thetransaction-supportelement- Specified by:
getTransactionSupportin interfaceConnectionFactoryResourceType<T>- Returns:
- the value found for the element
transaction-support
-
getTransactionSupportAsString
Returns thetransaction-supportelement- Specified by:
getTransactionSupportAsStringin interfaceConnectionFactoryResourceType<T>- Returns:
- the value found for the element
transaction-support
-
removeTransactionSupport
Removes thetransaction-supportattribute- Specified by:
removeTransactionSupportin interfaceConnectionFactoryResourceType<T>- Returns:
- the current instance of
ConnectionFactoryResourceType
-
getOrCreateProperty
If not already created, a newpropertyelement will be created and returned. Otherwise, the first existingpropertyelement will be returned.- Specified by:
getOrCreatePropertyin interfaceConnectionFactoryResourceType<T>- Returns:
- the instance defined for the element
property
-
createProperty
Creates a newpropertyelement- Specified by:
createPropertyin interfaceConnectionFactoryResourceType<T>- Returns:
- the new created instance of
PropertyType<ConnectionFactoryResourceType>
-
getAllProperty
Returns allpropertyelements- Specified by:
getAllPropertyin interfaceConnectionFactoryResourceType<T>- Returns:
- list of
property
-
removeAllProperty
Removes allpropertyelements- Specified by:
removeAllPropertyin interfaceConnectionFactoryResourceType<T>- Returns:
- the current instance of
PropertyType<ConnectionFactoryResourceType>
-
id
Sets theidattribute- Specified by:
idin interfaceConnectionFactoryResourceType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
ConnectionFactoryResourceType
-
getId
Returns theidattribute- Specified by:
getIdin interfaceConnectionFactoryResourceType<T>- Returns:
- the value defined for the attribute
id
-
removeId
Removes theidattribute- Specified by:
removeIdin interfaceConnectionFactoryResourceType<T>- Returns:
- the current instance of
ConnectionFactoryResourceType
-