Class XaDatasourcePropertyTypeImpl<T>
- java.lang.Object
-
- org.jboss.jca.embedded.dsl.datasources12.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 thexa-datasource-propertyTypexsd type
-
-
Constructor Summary
Constructors Constructor Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Returns thenameattributeStringgetText()Returns the body text of the elementxa-datasource-propertyTypeXaDatasourcePropertyType<T>name(String name)Sets thenameattributeXaDatasourcePropertyType<T>removeName()Removes thenameattributeXaDatasourcePropertyType<T>text(String value)Sets the body text for the elementxa-datasource-propertyTypeTup()
-
-
-
Method Detail
-
text
public XaDatasourcePropertyType<T> text(String value)
Sets the body text for the elementxa-datasource-propertyType- Specified by:
textin interfaceXaDatasourcePropertyType<T>- Parameters:
xaDatasourcePropertyType- the value for the body textxa-datasource-propertyType- Returns:
- the current instance of
XaDatasourcePropertyType
-
getText
public String getText()
Returns the body text of the elementxa-datasource-propertyType- Specified by:
getTextin interfaceXaDatasourcePropertyType<T>- Returns:
- the value defined for the text
xa-datasource-propertyType
-
name
public XaDatasourcePropertyType<T> name(String name)
Sets thenameattribute- Specified by:
namein interfaceXaDatasourcePropertyType<T>- Parameters:
name- the value for the attributename- Returns:
- the current instance of
XaDatasourcePropertyType
-
getName
public String getName()
Returns thenameattribute- Specified by:
getNamein interfaceXaDatasourcePropertyType<T>- Returns:
- the value defined for the attribute
name
-
removeName
public XaDatasourcePropertyType<T> removeName()
Removes thenameattribute- Specified by:
removeNamein interfaceXaDatasourcePropertyType<T>- Returns:
- the current instance of
XaDatasourcePropertyType
-
-