public class IronjacamarTypeImpl<T> extends Object implements Child<T>, IronjacamarType<T>
ironjacamarType
xsd typeType | Property and Description |
---|---|
ConfigPropertyType<IronjacamarType<T>> |
createConfig
Creates a new
config-property element |
IronjacamarType<T> |
removeAllConfig
Removes all
config-property elements |
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
IronjacamarType<T> |
bootstrapContext(String bootstrapContext)
Sets the
bootstrap-context element |
ConfigPropertyType<IronjacamarType<T>> |
createConfigProperty()
Creates a new
config-property element |
List<ConfigPropertyType<IronjacamarType<T>>> |
getAllConfigProperty()
Returns all
config-property elements |
String |
getBootstrapContext()
Returns the
bootstrap-context element |
AdminObjectsType<IronjacamarType<T>> |
getOrCreateAdminObjects()
If not already created, a new
admin-objects element with the given value will be created. |
BeanValidationGroupsType<IronjacamarType<T>> |
getOrCreateBeanValidationGroups()
If not already created, a new
bean-validation-groups element with the given value will be created. |
ConfigPropertyType<IronjacamarType<T>> |
getOrCreateConfigProperty()
If not already created, a new
config-property element will be created and returned. |
ConnectionDefinitionsType<IronjacamarType<T>> |
getOrCreateConnectionDefinitions()
If not already created, a new
connection-definitions element with the given value will be created. |
TransactionSupportType |
getTransactionSupport()
Returns the
transaction-support element |
String |
getTransactionSupportAsString()
Returns the
transaction-support element |
IronjacamarType<T> |
removeAdminObjects()
Removes the
admin-objects element |
IronjacamarType<T> |
removeAllConfigProperty()
Removes all
config-property elements |
IronjacamarType<T> |
removeBeanValidationGroups()
Removes the
bean-validation-groups element |
IronjacamarType<T> |
removeBootstrapContext()
Removes the
bootstrap-context element |
IronjacamarType<T> |
removeConnectionDefinitions()
Removes the
connection-definitions element |
IronjacamarType<T> |
removeTransactionSupport()
Removes the
transaction-support attribute |
IronjacamarType<T> |
transactionSupport(String transactionSupport)
Sets the
transaction-support element |
IronjacamarType<T> |
transactionSupport(TransactionSupportType transactionSupport)
Sets the
transaction-support element |
T |
up()
Returns the parent of this
Child |
config-property
elementcreateConfigProperty
in interface IronjacamarType<T>
ConfigPropertyType>
config-property
elementsremoveAllConfigProperty
in interface IronjacamarType<T>
ConfigPropertyType>
public IronjacamarTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public BeanValidationGroupsType<IronjacamarType<T>> getOrCreateBeanValidationGroups()
bean-validation-groups
element with the given value will be created.
Otherwise, the existing bean-validation-groups
element will be returned.getOrCreateBeanValidationGroups
in interface IronjacamarType<T>
BeanValidationGroupsType>
public IronjacamarType<T> removeBeanValidationGroups()
bean-validation-groups
elementremoveBeanValidationGroups
in interface IronjacamarType<T>
IronjacamarType
public IronjacamarType<T> bootstrapContext(String bootstrapContext)
bootstrap-context
elementbootstrapContext
in interface IronjacamarType<T>
bootstrapContext
- the value for the element bootstrap-context
IronjacamarType
public String getBootstrapContext()
bootstrap-context
elementgetBootstrapContext
in interface IronjacamarType<T>
bootstrap-context
public IronjacamarType<T> removeBootstrapContext()
bootstrap-context
elementremoveBootstrapContext
in interface IronjacamarType<T>
IronjacamarType
public ConfigPropertyType<IronjacamarType<T>> getOrCreateConfigProperty()
config-property
element will be created and returned.
Otherwise, the first existing config-property
element will be returned.getOrCreateConfigProperty
in interface IronjacamarType<T>
config-property
public ConfigPropertyType<IronjacamarType<T>> createConfigProperty()
config-property
elementcreateConfigProperty
in interface IronjacamarType<T>
ConfigPropertyType>
public List<ConfigPropertyType<IronjacamarType<T>>> getAllConfigProperty()
config-property
elementsgetAllConfigProperty
in interface IronjacamarType<T>
config-property
public IronjacamarType<T> removeAllConfigProperty()
config-property
elementsremoveAllConfigProperty
in interface IronjacamarType<T>
ConfigPropertyType>
public IronjacamarType<T> transactionSupport(TransactionSupportType transactionSupport)
transaction-support
elementtransactionSupport
in interface IronjacamarType<T>
transactionSupport
- the value for the element transaction-support
IronjacamarType
public IronjacamarType<T> transactionSupport(String transactionSupport)
transaction-support
elementtransactionSupport
in interface IronjacamarType<T>
transactionSupport
- the value for the element transaction-support
IronjacamarType
public TransactionSupportType getTransactionSupport()
transaction-support
elementgetTransactionSupport
in interface IronjacamarType<T>
transaction-support
public String getTransactionSupportAsString()
transaction-support
elementgetTransactionSupportAsString
in interface IronjacamarType<T>
transaction-support
public IronjacamarType<T> removeTransactionSupport()
transaction-support
attributeremoveTransactionSupport
in interface IronjacamarType<T>
IronjacamarType
public ConnectionDefinitionsType<IronjacamarType<T>> getOrCreateConnectionDefinitions()
connection-definitions
element with the given value will be created.
Otherwise, the existing connection-definitions
element will be returned.getOrCreateConnectionDefinitions
in interface IronjacamarType<T>
ConnectionDefinitionsType>
public IronjacamarType<T> removeConnectionDefinitions()
connection-definitions
elementremoveConnectionDefinitions
in interface IronjacamarType<T>
IronjacamarType
public AdminObjectsType<IronjacamarType<T>> getOrCreateAdminObjects()
admin-objects
element with the given value will be created.
Otherwise, the existing admin-objects
element will be returned.getOrCreateAdminObjects
in interface IronjacamarType<T>
AdminObjectsType>
public IronjacamarType<T> removeAdminObjects()
admin-objects
elementremoveAdminObjects
in interface IronjacamarType<T>
IronjacamarType
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.