Class IronjacamarTypeImpl<T>
- java.lang.Object
-
- org.jboss.jca.embedded.dsl.ironjacamar13.impl.IronjacamarTypeImpl<T>
-
- All Implemented Interfaces:
IronjacamarType<T>,org.jboss.shrinkwrap.descriptor.api.Child<T>
public class IronjacamarTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, IronjacamarType<T>
This class implements theironjacamarTypexsd type
-
-
Constructor Summary
Constructors Constructor Description IronjacamarTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)IronjacamarTypeImpl(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 IronjacamarType<T>bootstrapContext(String bootstrapContext)Sets thebootstrap-contextelementConfigPropertyType<IronjacamarType<T>>createConfigProperty()Creates a newconfig-propertyelementList<ConfigPropertyType<IronjacamarType<T>>>getAllConfigProperty()Returns allconfig-propertyelementsStringgetBootstrapContext()Returns thebootstrap-contextelementAdminObjectsType<IronjacamarType<T>>getOrCreateAdminObjects()If not already created, a newadmin-objectselement with the given value will be created.BeanValidationGroupsType<IronjacamarType<T>>getOrCreateBeanValidationGroups()If not already created, a newbean-validation-groupselement with the given value will be created.ConfigPropertyType<IronjacamarType<T>>getOrCreateConfigProperty()If not already created, a newconfig-propertyelement will be created and returned.ConnectionDefinitionsType<IronjacamarType<T>>getOrCreateConnectionDefinitions()If not already created, a newconnection-definitionselement with the given value will be created.WorkmanagerType<IronjacamarType<T>>getOrCreateWorkmanager()If not already created, a newworkmanagerelement with the given value will be created.TransactionSupportTypegetTransactionSupport()Returns thetransaction-supportelementStringgetTransactionSupportAsString()Returns thetransaction-supportelementIronjacamarType<T>removeAdminObjects()Removes theadmin-objectselementIronjacamarType<T>removeAllConfigProperty()Removes allconfig-propertyelementsIronjacamarType<T>removeBeanValidationGroups()Removes thebean-validation-groupselementIronjacamarType<T>removeBootstrapContext()Removes thebootstrap-contextelementIronjacamarType<T>removeConnectionDefinitions()Removes theconnection-definitionselementIronjacamarType<T>removeTransactionSupport()Removes thetransaction-supportattributeIronjacamarType<T>removeWorkmanager()Removes theworkmanagerelementIronjacamarType<T>transactionSupport(String transactionSupport)Sets thetransaction-supportelementIronjacamarType<T>transactionSupport(TransactionSupportType transactionSupport)Sets thetransaction-supportelementTup()
-
-
-
Method Detail
-
getOrCreateBeanValidationGroups
public BeanValidationGroupsType<IronjacamarType<T>> getOrCreateBeanValidationGroups()
If not already created, a newbean-validation-groupselement with the given value will be created. Otherwise, the existingbean-validation-groupselement will be returned.- Specified by:
getOrCreateBeanValidationGroupsin interfaceIronjacamarType<T>- Returns:
- a new or existing instance of
BeanValidationGroupsType>
-
removeBeanValidationGroups
public IronjacamarType<T> removeBeanValidationGroups()
Removes thebean-validation-groupselement- Specified by:
removeBeanValidationGroupsin interfaceIronjacamarType<T>- Returns:
- the current instance of
IronjacamarType
-
bootstrapContext
public IronjacamarType<T> bootstrapContext(String bootstrapContext)
Sets thebootstrap-contextelement- Specified by:
bootstrapContextin interfaceIronjacamarType<T>- Parameters:
bootstrapContext- the value for the elementbootstrap-context- Returns:
- the current instance of
IronjacamarType
-
getBootstrapContext
public String getBootstrapContext()
Returns thebootstrap-contextelement- Specified by:
getBootstrapContextin interfaceIronjacamarType<T>- Returns:
- the node defined for the element
bootstrap-context
-
removeBootstrapContext
public IronjacamarType<T> removeBootstrapContext()
Removes thebootstrap-contextelement- Specified by:
removeBootstrapContextin interfaceIronjacamarType<T>- Returns:
- the current instance of
IronjacamarType
-
getOrCreateConfigProperty
public ConfigPropertyType<IronjacamarType<T>> getOrCreateConfigProperty()
If not already created, a newconfig-propertyelement will be created and returned. Otherwise, the first existingconfig-propertyelement will be returned.- Specified by:
getOrCreateConfigPropertyin interfaceIronjacamarType<T>- Returns:
- the instance defined for the element
config-property
-
createConfigProperty
public ConfigPropertyType<IronjacamarType<T>> createConfigProperty()
Creates a newconfig-propertyelement- Specified by:
createConfigPropertyin interfaceIronjacamarType<T>- Returns:
- the new created instance of
ConfigPropertyType>
-
getAllConfigProperty
public List<ConfigPropertyType<IronjacamarType<T>>> getAllConfigProperty()
Returns allconfig-propertyelements- Specified by:
getAllConfigPropertyin interfaceIronjacamarType<T>- Returns:
- list of
config-property
-
removeAllConfigProperty
public IronjacamarType<T> removeAllConfigProperty()
Removes allconfig-propertyelements- Specified by:
removeAllConfigPropertyin interfaceIronjacamarType<T>- Returns:
- the current instance of
ConfigPropertyType>
-
transactionSupport
public IronjacamarType<T> transactionSupport(TransactionSupportType transactionSupport)
Sets thetransaction-supportelement- Specified by:
transactionSupportin interfaceIronjacamarType<T>- Parameters:
transactionSupport- the value for the elementtransaction-support- Returns:
- the current instance of
IronjacamarType
-
transactionSupport
public IronjacamarType<T> transactionSupport(String transactionSupport)
Sets thetransaction-supportelement- Specified by:
transactionSupportin interfaceIronjacamarType<T>- Parameters:
transactionSupport- the value for the elementtransaction-support- Returns:
- the current instance of
IronjacamarType
-
getTransactionSupport
public TransactionSupportType getTransactionSupport()
Returns thetransaction-supportelement- Specified by:
getTransactionSupportin interfaceIronjacamarType<T>- Returns:
- the value found for the element
transaction-support
-
getTransactionSupportAsString
public String getTransactionSupportAsString()
Returns thetransaction-supportelement- Specified by:
getTransactionSupportAsStringin interfaceIronjacamarType<T>- Returns:
- the value found for the element
transaction-support
-
removeTransactionSupport
public IronjacamarType<T> removeTransactionSupport()
Removes thetransaction-supportattribute- Specified by:
removeTransactionSupportin interfaceIronjacamarType<T>- Returns:
- the current instance of
IronjacamarType
-
getOrCreateWorkmanager
public WorkmanagerType<IronjacamarType<T>> getOrCreateWorkmanager()
If not already created, a newworkmanagerelement with the given value will be created. Otherwise, the existingworkmanagerelement will be returned.- Specified by:
getOrCreateWorkmanagerin interfaceIronjacamarType<T>- Returns:
- a new or existing instance of
WorkmanagerType>
-
removeWorkmanager
public IronjacamarType<T> removeWorkmanager()
Removes theworkmanagerelement- Specified by:
removeWorkmanagerin interfaceIronjacamarType<T>- Returns:
- the current instance of
IronjacamarType
-
getOrCreateConnectionDefinitions
public ConnectionDefinitionsType<IronjacamarType<T>> getOrCreateConnectionDefinitions()
If not already created, a newconnection-definitionselement with the given value will be created. Otherwise, the existingconnection-definitionselement will be returned.- Specified by:
getOrCreateConnectionDefinitionsin interfaceIronjacamarType<T>- Returns:
- a new or existing instance of
ConnectionDefinitionsType>
-
removeConnectionDefinitions
public IronjacamarType<T> removeConnectionDefinitions()
Removes theconnection-definitionselement- Specified by:
removeConnectionDefinitionsin interfaceIronjacamarType<T>- Returns:
- the current instance of
IronjacamarType
-
getOrCreateAdminObjects
public AdminObjectsType<IronjacamarType<T>> getOrCreateAdminObjects()
If not already created, a newadmin-objectselement with the given value will be created. Otherwise, the existingadmin-objectselement will be returned.- Specified by:
getOrCreateAdminObjectsin interfaceIronjacamarType<T>- Returns:
- a new or existing instance of
AdminObjectsType>
-
removeAdminObjects
public IronjacamarType<T> removeAdminObjects()
Removes theadmin-objectselement- Specified by:
removeAdminObjectsin interfaceIronjacamarType<T>- Returns:
- the current instance of
IronjacamarType
-
-