org.jboss.datasources.impl
Class XaDatasourcePropertyTypeImpl<T>

java.lang.Object
  extended by org.jboss.datasources.impl.XaDatasourcePropertyTypeImpl<T>
All Implemented Interfaces:
XaDatasourcePropertyType<T>, Child<T>

public class XaDatasourcePropertyTypeImpl<T>
extends Object
implements Child<T>, XaDatasourcePropertyType<T>

This class implements the xa-datasource-propertyType xsd type

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

Constructor Summary
XaDatasourcePropertyTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
           
XaDatasourcePropertyTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
           
 
Method Summary
 String getName()
          Returns the name attribute
 String getText()
          Returns the body text of the element xa-datasource-propertyType
 XaDatasourcePropertyType<T> name(String name)
          Sets the name attribute
 XaDatasourcePropertyType<T> removeName()
          Removes the name attribute
 XaDatasourcePropertyType<T> text(String value)
          Sets the body text for the element xa-datasource-propertyType
 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

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 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

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


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