public class ConnectionPropertyTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ConnectionPropertyType<T>
connection-propertyType
xsd typeConstructor and 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) |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the
name attribute |
String |
getText()
Returns the body text of the element
connection-propertyType |
ConnectionPropertyType<T> |
name(String name)
Sets the
name attribute |
ConnectionPropertyType<T> |
removeName()
Removes the
name attribute |
ConnectionPropertyType<T> |
text(String value)
Sets the body text for the element
connection-propertyType |
T |
up() |
public ConnectionPropertyTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public ConnectionPropertyType<T> text(String value)
connection-propertyType
text
in interface ConnectionPropertyType<T>
connectionPropertyType
- the value for the body text connection-propertyType
ConnectionPropertyType
public String getText()
connection-propertyType
getText
in interface ConnectionPropertyType<T>
connection-propertyType
public ConnectionPropertyType<T> name(String name)
name
attributename
in interface ConnectionPropertyType<T>
name
- the value for the attribute name
ConnectionPropertyType
public String getName()
name
attributegetName
in interface ConnectionPropertyType<T>
name
public ConnectionPropertyType<T> removeName()
name
attributeremoveName
in interface ConnectionPropertyType<T>
ConnectionPropertyType
Copyright © 2017 JBoss by Red Hat. All rights reserved.