public class ConnectionFactoryResourceTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ConnectionFactoryResourceType<T>
connection-factory-resourceType
xsd typeConstructor and Description |
---|
ConnectionFactoryResourceTypeImpl(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) |
Modifier and Type | Method and Description |
---|---|
ConnectionFactoryResourceType<T> |
className(String className)
Sets the
class-name element |
PropertyType<ConnectionFactoryResourceType<T>> |
createProperty()
Creates a new
property element |
ConnectionFactoryResourceType<T> |
description(String description)
Sets the
description element |
List<PropertyType<ConnectionFactoryResourceType<T>>> |
getAllProperty()
Returns all
property elements |
String |
getClassName()
Returns the
class-name element |
String |
getDescription()
Returns the
description element |
String |
getId()
Returns the
id attribute |
Integer |
getMaxPoolSize()
Returns the
max-pool-size element |
Integer |
getMinPoolSize()
Returns the
min-pool-size element |
String |
getName()
Returns the
name element |
PropertyType<ConnectionFactoryResourceType<T>> |
getOrCreateProperty()
If not already created, a new
property element will be created and returned. |
String |
getResourceAdapter()
Returns the
resource-adapter element |
TransactionSupportType |
getTransactionSupport()
Returns the
transaction-support element |
String |
getTransactionSupportAsString()
Returns the
transaction-support element |
ConnectionFactoryResourceType<T> |
id(String id)
Sets the
id attribute |
ConnectionFactoryResourceType<T> |
maxPoolSize(Integer maxPoolSize)
Sets the
max-pool-size element |
ConnectionFactoryResourceType<T> |
minPoolSize(Integer minPoolSize)
Sets the
min-pool-size element |
ConnectionFactoryResourceType<T> |
name(String name)
Sets the
name element |
ConnectionFactoryResourceType<T> |
removeAllProperty()
Removes all
property elements |
ConnectionFactoryResourceType<T> |
removeClassName()
Removes the
class-name element |
ConnectionFactoryResourceType<T> |
removeDescription()
Removes the
description element |
ConnectionFactoryResourceType<T> |
removeId()
Removes the
id attribute |
ConnectionFactoryResourceType<T> |
removeMaxPoolSize()
Removes the
max-pool-size element |
ConnectionFactoryResourceType<T> |
removeMinPoolSize()
Removes the
min-pool-size element |
ConnectionFactoryResourceType<T> |
removeName()
Removes the
name element |
ConnectionFactoryResourceType<T> |
removeResourceAdapter()
Removes the
resource-adapter element |
ConnectionFactoryResourceType<T> |
removeTransactionSupport()
Removes the
transaction-support attribute |
ConnectionFactoryResourceType<T> |
resourceAdapter(String resourceAdapter)
Sets the
resource-adapter element |
ConnectionFactoryResourceType<T> |
transactionSupport(String transactionSupport)
Sets the
transaction-support element |
ConnectionFactoryResourceType<T> |
transactionSupport(TransactionSupportType transactionSupport)
Sets the
transaction-support element |
T |
up() |
public ConnectionFactoryResourceTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public ConnectionFactoryResourceType<T> description(String description)
description
elementdescription
in interface ConnectionFactoryResourceType<T>
description
- the value for the element description
ConnectionFactoryResourceType
public String getDescription()
description
elementgetDescription
in interface ConnectionFactoryResourceType<T>
description
public ConnectionFactoryResourceType<T> removeDescription()
description
elementremoveDescription
in interface ConnectionFactoryResourceType<T>
ConnectionFactoryResourceType
public ConnectionFactoryResourceType<T> name(String name)
name
elementname
in interface ConnectionFactoryResourceType<T>
name
- the value for the element name
ConnectionFactoryResourceType
public String getName()
name
elementgetName
in interface ConnectionFactoryResourceType<T>
name
public ConnectionFactoryResourceType<T> removeName()
name
elementremoveName
in interface ConnectionFactoryResourceType<T>
ConnectionFactoryResourceType
public ConnectionFactoryResourceType<T> className(String className)
class-name
elementclassName
in interface ConnectionFactoryResourceType<T>
className
- the value for the element class-name
ConnectionFactoryResourceType
public String getClassName()
class-name
elementgetClassName
in interface ConnectionFactoryResourceType<T>
class-name
public ConnectionFactoryResourceType<T> removeClassName()
class-name
elementremoveClassName
in interface ConnectionFactoryResourceType<T>
ConnectionFactoryResourceType
public ConnectionFactoryResourceType<T> resourceAdapter(String resourceAdapter)
resource-adapter
elementresourceAdapter
in interface ConnectionFactoryResourceType<T>
resourceAdapter
- the value for the element resource-adapter
ConnectionFactoryResourceType
public String getResourceAdapter()
resource-adapter
elementgetResourceAdapter
in interface ConnectionFactoryResourceType<T>
resource-adapter
public ConnectionFactoryResourceType<T> removeResourceAdapter()
resource-adapter
elementremoveResourceAdapter
in interface ConnectionFactoryResourceType<T>
ConnectionFactoryResourceType
public ConnectionFactoryResourceType<T> maxPoolSize(Integer maxPoolSize)
max-pool-size
elementmaxPoolSize
in interface ConnectionFactoryResourceType<T>
maxPoolSize
- the value for the element max-pool-size
ConnectionFactoryResourceType
public Integer getMaxPoolSize()
max-pool-size
elementgetMaxPoolSize
in interface ConnectionFactoryResourceType<T>
max-pool-size
public ConnectionFactoryResourceType<T> removeMaxPoolSize()
max-pool-size
elementremoveMaxPoolSize
in interface ConnectionFactoryResourceType<T>
ConnectionFactoryResourceType
public ConnectionFactoryResourceType<T> minPoolSize(Integer minPoolSize)
min-pool-size
elementminPoolSize
in interface ConnectionFactoryResourceType<T>
minPoolSize
- the value for the element min-pool-size
ConnectionFactoryResourceType
public Integer getMinPoolSize()
min-pool-size
elementgetMinPoolSize
in interface ConnectionFactoryResourceType<T>
min-pool-size
public ConnectionFactoryResourceType<T> removeMinPoolSize()
min-pool-size
elementremoveMinPoolSize
in interface ConnectionFactoryResourceType<T>
ConnectionFactoryResourceType
public ConnectionFactoryResourceType<T> transactionSupport(TransactionSupportType transactionSupport)
transaction-support
elementtransactionSupport
in interface ConnectionFactoryResourceType<T>
transactionSupport
- the value for the element transaction-support
ConnectionFactoryResourceType
public ConnectionFactoryResourceType<T> transactionSupport(String transactionSupport)
transaction-support
elementtransactionSupport
in interface ConnectionFactoryResourceType<T>
transactionSupport
- the value for the element transaction-support
ConnectionFactoryResourceType
public TransactionSupportType getTransactionSupport()
transaction-support
elementgetTransactionSupport
in interface ConnectionFactoryResourceType<T>
transaction-support
public String getTransactionSupportAsString()
transaction-support
elementgetTransactionSupportAsString
in interface ConnectionFactoryResourceType<T>
transaction-support
public ConnectionFactoryResourceType<T> removeTransactionSupport()
transaction-support
attributeremoveTransactionSupport
in interface ConnectionFactoryResourceType<T>
ConnectionFactoryResourceType
public PropertyType<ConnectionFactoryResourceType<T>> getOrCreateProperty()
property
element will be created and returned.
Otherwise, the first existing property
element will be returned.getOrCreateProperty
in interface ConnectionFactoryResourceType<T>
property
public PropertyType<ConnectionFactoryResourceType<T>> createProperty()
property
elementcreateProperty
in interface ConnectionFactoryResourceType<T>
PropertyType>
public List<PropertyType<ConnectionFactoryResourceType<T>>> getAllProperty()
property
elementsgetAllProperty
in interface ConnectionFactoryResourceType<T>
property
public ConnectionFactoryResourceType<T> removeAllProperty()
property
elementsremoveAllProperty
in interface ConnectionFactoryResourceType<T>
PropertyType>
public ConnectionFactoryResourceType<T> id(String id)
id
attributeid
in interface ConnectionFactoryResourceType<T>
id
- the value for the attribute id
ConnectionFactoryResourceType
public String getId()
id
attributegetId
in interface ConnectionFactoryResourceType<T>
id
public ConnectionFactoryResourceType<T> removeId()
id
attributeremoveId
in interface ConnectionFactoryResourceType<T>
ConnectionFactoryResourceType
Copyright © 2021 JBoss by Red Hat. All rights reserved.