org.jboss.ironjacamar.impl
Class IronjacamarTypeImpl<T>

java.lang.Object
  extended by org.jboss.ironjacamar.impl.IronjacamarTypeImpl<T>
All Implemented Interfaces:
IronjacamarType<T>, Child<T>

public class IronjacamarTypeImpl<T>
extends Object
implements Child<T>, IronjacamarType<T>

This class implements the ironjacamarType xsd type

Since:
Generation date :2013-01-26T19:27:02.583+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Constructor Summary
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
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IronjacamarTypeImpl

public IronjacamarTypeImpl(T t,
                           String nodeName,
                           org.jboss.shrinkwrap.descriptor.spi.node.Node node)

IronjacamarTypeImpl

public IronjacamarTypeImpl(T t,
                           String nodeName,
                           org.jboss.shrinkwrap.descriptor.spi.node.Node node,
                           org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
Method Detail

up

public T up()
Description copied from interface: Child
Returns the parent of this Child

Specified by:
up in interface Child<T>
Returns:
The parent of this Child

getOrCreateBeanValidationGroups

public BeanValidationGroupsType<IronjacamarType<T>> getOrCreateBeanValidationGroups()
If not already created, a new bean-validation-groups element with the given value will be created. Otherwise, the existing bean-validation-groups element will be returned.

Specified by:
getOrCreateBeanValidationGroups in interface IronjacamarType<T>
Returns:
a new or existing instance of BeanValidationGroupsType>

removeBeanValidationGroups

public IronjacamarType<T> removeBeanValidationGroups()
Removes the bean-validation-groups element

Specified by:
removeBeanValidationGroups in interface IronjacamarType<T>
Returns:
the current instance of IronjacamarType

bootstrapContext

public IronjacamarType<T> bootstrapContext(String bootstrapContext)
Sets the bootstrap-context element

Specified by:
bootstrapContext in interface IronjacamarType<T>
Parameters:
bootstrapContext - the value for the element bootstrap-context
Returns:
the current instance of IronjacamarType

getBootstrapContext

public String getBootstrapContext()
Returns the bootstrap-context element

Specified by:
getBootstrapContext in interface IronjacamarType<T>
Returns:
the node defined for the element bootstrap-context

removeBootstrapContext

public IronjacamarType<T> removeBootstrapContext()
Removes the bootstrap-context element

Specified by:
removeBootstrapContext in interface IronjacamarType<T>
Returns:
the current instance of IronjacamarType

getOrCreateConfigProperty

public ConfigPropertyType<IronjacamarType<T>> getOrCreateConfigProperty()
If not already created, a new config-property element will be created and returned. Otherwise, the first existing config-property element will be returned.

Specified by:
getOrCreateConfigProperty in interface IronjacamarType<T>
Returns:
the instance defined for the element config-property

createConfigProperty

public ConfigPropertyType<IronjacamarType<T>> createConfigProperty()
Creates a new config-property element

Specified by:
createConfigProperty in interface IronjacamarType<T>
Returns:
the new created instance of ConfigPropertyType>

getAllConfigProperty

public List<ConfigPropertyType<IronjacamarType<T>>> getAllConfigProperty()
Returns all config-property elements

Specified by:
getAllConfigProperty in interface IronjacamarType<T>
Returns:
list of config-property

removeAllConfigProperty

public IronjacamarType<T> removeAllConfigProperty()
Removes all config-property elements

Specified by:
removeAllConfigProperty in interface IronjacamarType<T>
Returns:
the current instance of ConfigPropertyType>

transactionSupport

public IronjacamarType<T> transactionSupport(TransactionSupportType transactionSupport)
Sets the transaction-support element

Specified by:
transactionSupport in interface IronjacamarType<T>
Parameters:
transactionSupport - the value for the element transaction-support
Returns:
the current instance of IronjacamarType

transactionSupport

public IronjacamarType<T> transactionSupport(String transactionSupport)
Sets the transaction-support element

Specified by:
transactionSupport in interface IronjacamarType<T>
Parameters:
transactionSupport - the value for the element transaction-support
Returns:
the current instance of IronjacamarType

getTransactionSupport

public TransactionSupportType getTransactionSupport()
Returns the transaction-support element

Specified by:
getTransactionSupport in interface IronjacamarType<T>
Returns:
the value found for the element transaction-support

getTransactionSupportAsString

public String getTransactionSupportAsString()
Returns the transaction-support element

Specified by:
getTransactionSupportAsString in interface IronjacamarType<T>
Returns:
the value found for the element transaction-support

removeTransactionSupport

public IronjacamarType<T> removeTransactionSupport()
Removes the transaction-support attribute

Specified by:
removeTransactionSupport in interface IronjacamarType<T>
Returns:
the current instance of IronjacamarType

getOrCreateConnectionDefinitions

public ConnectionDefinitionsType<IronjacamarType<T>> getOrCreateConnectionDefinitions()
If not already created, a new connection-definitions element with the given value will be created. Otherwise, the existing connection-definitions element will be returned.

Specified by:
getOrCreateConnectionDefinitions in interface IronjacamarType<T>
Returns:
a new or existing instance of ConnectionDefinitionsType>

removeConnectionDefinitions

public IronjacamarType<T> removeConnectionDefinitions()
Removes the connection-definitions element

Specified by:
removeConnectionDefinitions in interface IronjacamarType<T>
Returns:
the current instance of IronjacamarType

getOrCreateAdminObjects

public AdminObjectsType<IronjacamarType<T>> getOrCreateAdminObjects()
If not already created, a new admin-objects element with the given value will be created. Otherwise, the existing admin-objects element will be returned.

Specified by:
getOrCreateAdminObjects in interface IronjacamarType<T>
Returns:
a new or existing instance of AdminObjectsType>

removeAdminObjects

public IronjacamarType<T> removeAdminObjects()
Removes the admin-objects element

Specified by:
removeAdminObjects in interface IronjacamarType<T>
Returns:
the current instance of IronjacamarType


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.