Class ConnectionPropertyTypeImpl<T>
- java.lang.Object
-
- org.jboss.jca.embedded.dsl.datasources13.impl.ConnectionPropertyTypeImpl<T>
-
- All Implemented Interfaces:
ConnectionPropertyType<T>,org.jboss.shrinkwrap.descriptor.api.Child<T>
public class ConnectionPropertyTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ConnectionPropertyType<T>
This class implements theconnection-propertyTypexsd type
-
-
Constructor Summary
Constructors Constructor Description ConnectionPropertyTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)ConnectionPropertyTypeImpl(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 elementconnection-propertyTypeConnectionPropertyType<T>name(String name)Sets thenameattributeConnectionPropertyType<T>removeName()Removes thenameattributeConnectionPropertyType<T>text(String value)Sets the body text for the elementconnection-propertyTypeTup()
-
-
-
Method Detail
-
text
public ConnectionPropertyType<T> text(String value)
Sets the body text for the elementconnection-propertyType- Specified by:
textin interfaceConnectionPropertyType<T>- Parameters:
connectionPropertyType- the value for the body textconnection-propertyType- Returns:
- the current instance of
ConnectionPropertyType
-
getText
public String getText()
Returns the body text of the elementconnection-propertyType- Specified by:
getTextin interfaceConnectionPropertyType<T>- Returns:
- the value defined for the text
connection-propertyType
-
name
public ConnectionPropertyType<T> name(String name)
Sets thenameattribute- Specified by:
namein interfaceConnectionPropertyType<T>- Parameters:
name- the value for the attributename- Returns:
- the current instance of
ConnectionPropertyType
-
getName
public String getName()
Returns thenameattribute- Specified by:
getNamein interfaceConnectionPropertyType<T>- Returns:
- the value defined for the attribute
name
-
removeName
public ConnectionPropertyType<T> removeName()
Removes thenameattribute- Specified by:
removeNamein interfaceConnectionPropertyType<T>- Returns:
- the current instance of
ConnectionPropertyType
-
-