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 theconnection-factory-resourceTypexsd type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectionFactoryResourceType<T>className(String className)Sets theclass-nameelementPropertyType<ConnectionFactoryResourceType<T>>createProperty()Creates a newpropertyelementConnectionFactoryResourceType<T>description(String description)Sets thedescriptionelementList<PropertyType<ConnectionFactoryResourceType<T>>>getAllProperty()Returns allpropertyelementsStringgetClassName()Returns theclass-nameelementStringgetDescription()Returns thedescriptionelementStringgetId()Returns theidattributeIntegergetMaxPoolSize()Returns themax-pool-sizeelementIntegergetMinPoolSize()Returns themin-pool-sizeelementStringgetName()Returns thenameelementPropertyType<ConnectionFactoryResourceType<T>>getOrCreateProperty()If not already created, a newpropertyelement will be created and returned.StringgetResourceAdapter()Returns theresource-adapterelementTransactionSupportTypegetTransactionSupport()Returns thetransaction-supportelementStringgetTransactionSupportAsString()Returns thetransaction-supportelementConnectionFactoryResourceType<T>id(String id)Sets theidattributeConnectionFactoryResourceType<T>maxPoolSize(Integer maxPoolSize)Sets themax-pool-sizeelementConnectionFactoryResourceType<T>minPoolSize(Integer minPoolSize)Sets themin-pool-sizeelementConnectionFactoryResourceType<T>name(String name)Sets thenameelementConnectionFactoryResourceType<T>removeAllProperty()Removes allpropertyelementsConnectionFactoryResourceType<T>removeClassName()Removes theclass-nameelementConnectionFactoryResourceType<T>removeDescription()Removes thedescriptionelementConnectionFactoryResourceType<T>removeId()Removes theidattributeConnectionFactoryResourceType<T>removeMaxPoolSize()Removes themax-pool-sizeelementConnectionFactoryResourceType<T>removeMinPoolSize()Removes themin-pool-sizeelementConnectionFactoryResourceType<T>removeName()Removes thenameelementConnectionFactoryResourceType<T>removeResourceAdapter()Removes theresource-adapterelementConnectionFactoryResourceType<T>removeTransactionSupport()Removes thetransaction-supportattributeConnectionFactoryResourceType<T>resourceAdapter(String resourceAdapter)Sets theresource-adapterelementConnectionFactoryResourceType<T>transactionSupport(String transactionSupport)Sets thetransaction-supportelementConnectionFactoryResourceType<T>transactionSupport(TransactionSupportType transactionSupport)Sets thetransaction-supportelement
-
-
-
Method Detail
-
description
ConnectionFactoryResourceType<T> description(String 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
ConnectionFactoryResourceType<T> name(String 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
ConnectionFactoryResourceType<T> className(String 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
ConnectionFactoryResourceType<T> resourceAdapter(String 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
ConnectionFactoryResourceType<T> maxPoolSize(Integer 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
ConnectionFactoryResourceType<T> minPoolSize(Integer 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
ConnectionFactoryResourceType<T> transactionSupport(TransactionSupportType transactionSupport)
Sets thetransaction-supportelement- Parameters:
transactionSupport- the value for the elementtransaction-support- Returns:
- the current instance of
ConnectionFactoryResourceType
-
transactionSupport
ConnectionFactoryResourceType<T> transactionSupport(String 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>
-
getAllProperty
List<PropertyType<ConnectionFactoryResourceType<T>>> getAllProperty()
Returns allpropertyelements- Returns:
- list of
property
-
removeAllProperty
ConnectionFactoryResourceType<T> removeAllProperty()
Removes allpropertyelements- Returns:
- the current instance of
PropertyType>
-
id
ConnectionFactoryResourceType<T> id(String 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
-
-