Interface ConnectionFactoryResourceType<T>
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
ConnectionFactoryResourceTypeImpl
public interface ConnectionFactoryResourceType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
This interface defines the contract for the
connection-factory-resourceType xsd type-
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-supportelementMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Method Details
-
description
Sets thedescriptionelement- Parameters:
description- the value for the elementdescription- Returns:
- the current instance of
ConnectionFactoryResourceType
-
getDescription
String getDescription()Returns thedescriptionelement- Returns:
- the node defined for the element
description
-
removeDescription
ConnectionFactoryResourceType<T> removeDescription()Removes thedescriptionelement- Returns:
- the current instance of
ConnectionFactoryResourceType
-
name
Sets thenameelement- Parameters:
name- the value for the elementname- Returns:
- the current instance of
ConnectionFactoryResourceType
-
getName
String getName()Returns thenameelement- Returns:
- the node defined for the element
name
-
removeName
ConnectionFactoryResourceType<T> removeName()Removes thenameelement- Returns:
- the current instance of
ConnectionFactoryResourceType
-
className
Sets theclass-nameelement- Parameters:
className- the value for the elementclass-name- Returns:
- the current instance of
ConnectionFactoryResourceType
-
getClassName
String getClassName()Returns theclass-nameelement- Returns:
- the node defined for the element
class-name
-
removeClassName
ConnectionFactoryResourceType<T> removeClassName()Removes theclass-nameelement- Returns:
- the current instance of
ConnectionFactoryResourceType
-
resourceAdapter
Sets theresource-adapterelement- Parameters:
resourceAdapter- the value for the elementresource-adapter- Returns:
- the current instance of
ConnectionFactoryResourceType
-
getResourceAdapter
String getResourceAdapter()Returns theresource-adapterelement- Returns:
- the node defined for the element
resource-adapter
-
removeResourceAdapter
ConnectionFactoryResourceType<T> removeResourceAdapter()Removes theresource-adapterelement- Returns:
- the current instance of
ConnectionFactoryResourceType
-
maxPoolSize
Sets themax-pool-sizeelement- Parameters:
maxPoolSize- the value for the elementmax-pool-size- Returns:
- the current instance of
ConnectionFactoryResourceType
-
getMaxPoolSize
Integer getMaxPoolSize()Returns themax-pool-sizeelement- Returns:
- the node defined for the element
max-pool-size
-
removeMaxPoolSize
ConnectionFactoryResourceType<T> removeMaxPoolSize()Removes themax-pool-sizeelement- Returns:
- the current instance of
ConnectionFactoryResourceType
-
minPoolSize
Sets themin-pool-sizeelement- Parameters:
minPoolSize- the value for the elementmin-pool-size- Returns:
- the current instance of
ConnectionFactoryResourceType
-
getMinPoolSize
Integer getMinPoolSize()Returns themin-pool-sizeelement- Returns:
- the node defined for the element
min-pool-size
-
removeMinPoolSize
ConnectionFactoryResourceType<T> removeMinPoolSize()Removes themin-pool-sizeelement- Returns:
- the current instance of
ConnectionFactoryResourceType
-
transactionSupport
Sets thetransaction-supportelement- Parameters:
transactionSupport- the value for the elementtransaction-support- Returns:
- the current instance of
ConnectionFactoryResourceType
-
transactionSupport
Sets thetransaction-supportelement- Parameters:
transactionSupport- the value for the elementtransaction-support- Returns:
- the current instance of
ConnectionFactoryResourceType
-
getTransactionSupport
TransactionSupportType getTransactionSupport()Returns thetransaction-supportelement- Returns:
- the value found for the element
transaction-support
-
getTransactionSupportAsString
String getTransactionSupportAsString()Returns thetransaction-supportelement- Returns:
- the value found for the element
transaction-support
-
removeTransactionSupport
ConnectionFactoryResourceType<T> removeTransactionSupport()Removes thetransaction-supportattribute- Returns:
- the current instance of
ConnectionFactoryResourceType
-
getOrCreateProperty
PropertyType<ConnectionFactoryResourceType<T>> getOrCreateProperty()If not already created, a newpropertyelement will be created and returned. Otherwise, the first existingpropertyelement will be returned.- Returns:
- the instance defined for the element
property
-
createProperty
PropertyType<ConnectionFactoryResourceType<T>> createProperty()Creates a newpropertyelement- Returns:
- the new created instance of
PropertyType<ConnectionFactoryResourceType>
-
getAllProperty
List<PropertyType<ConnectionFactoryResourceType<T>>> getAllProperty()Returns allpropertyelements- Returns:
- list of
property
-
removeAllProperty
ConnectionFactoryResourceType<T> removeAllProperty()Removes allpropertyelements- Returns:
- the current instance of
PropertyType<ConnectionFactoryResourceType>
-
id
Sets theidattribute- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
ConnectionFactoryResourceType
-
getId
String getId()Returns theidattribute- Returns:
- the value defined for the attribute
id
-
removeId
ConnectionFactoryResourceType<T> removeId()Removes theidattribute- Returns:
- the current instance of
ConnectionFactoryResourceType
-