Class XaDatasourcePropertyTypeImpl<T>

java.lang.Object
org.jboss.jca.embedded.dsl.datasources13.impl.XaDatasourcePropertyTypeImpl<T>
All Implemented Interfaces:
XaDatasourcePropertyType<T>, org.jboss.shrinkwrap.descriptor.api.Child<T>

public class XaDatasourcePropertyTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, XaDatasourcePropertyType<T>
This class implements the xa-datasource-propertyType xsd type
  • Constructor Details

    • XaDatasourcePropertyTypeImpl

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

      public XaDatasourcePropertyTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
  • Method Details

    • up

      public T up()
      Specified by:
      up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
    • text

      public XaDatasourcePropertyType<T> text(String value)
      Sets the body text for the element xa-datasource-propertyType
      Specified by:
      text in interface XaDatasourcePropertyType<T>
      Parameters:
      xaDatasourcePropertyType - the value for the body text xa-datasource-propertyType
      Returns:
      the current instance of XaDatasourcePropertyType
    • getText

      public String getText()
      Returns the body text of the element xa-datasource-propertyType
      Specified by:
      getText in interface XaDatasourcePropertyType<T>
      Returns:
      the value defined for the text xa-datasource-propertyType
    • name

      public XaDatasourcePropertyType<T> name(String name)
      Sets the name attribute
      Specified by:
      name in interface XaDatasourcePropertyType<T>
      Parameters:
      name - the value for the attribute name
      Returns:
      the current instance of XaDatasourcePropertyType
    • getName

      public String getName()
      Returns the name attribute
      Specified by:
      getName in interface XaDatasourcePropertyType<T>
      Returns:
      the value defined for the attribute name
    • removeName

      public XaDatasourcePropertyType<T> removeName()
      Removes the name attribute
      Specified by:
      removeName in interface XaDatasourcePropertyType<T>
      Returns:
      the current instance of XaDatasourcePropertyType