Class ConfigPropertyTypeImpl<T>
- java.lang.Object
-
- org.jboss.jca.embedded.dsl.resourceadapters10.impl.ConfigPropertyTypeImpl<T>
-
- All Implemented Interfaces:
ConfigPropertyType<T>,org.jboss.shrinkwrap.descriptor.api.Child<T>
public class ConfigPropertyTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ConfigPropertyType<T>
This class implements theconfig-propertyTypexsd type
-
-
Constructor Summary
Constructors Constructor Description ConfigPropertyTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)ConfigPropertyTypeImpl(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 elementconfig-propertyTypeConfigPropertyType<T>name(String name)Sets thenameattributeConfigPropertyType<T>removeName()Removes thenameattributeConfigPropertyType<T>text(String value)Sets the body text for the elementconfig-propertyTypeTup()
-
-
-
Method Detail
-
text
public ConfigPropertyType<T> text(String value)
Sets the body text for the elementconfig-propertyType- Specified by:
textin interfaceConfigPropertyType<T>- Parameters:
configPropertyType- the value for the body textconfig-propertyType- Returns:
- the current instance of
ConfigPropertyType
-
getText
public String getText()
Returns the body text of the elementconfig-propertyType- Specified by:
getTextin interfaceConfigPropertyType<T>- Returns:
- the value defined for the text
config-propertyType
-
name
public ConfigPropertyType<T> name(String name)
Sets thenameattribute- Specified by:
namein interfaceConfigPropertyType<T>- Parameters:
name- the value for the attributename- Returns:
- the current instance of
ConfigPropertyType
-
getName
public String getName()
Returns thenameattribute- Specified by:
getNamein interfaceConfigPropertyType<T>- Returns:
- the value defined for the attribute
name
-
removeName
public ConfigPropertyType<T> removeName()
Removes thenameattribute- Specified by:
removeNamein interfaceConfigPropertyType<T>- Returns:
- the current instance of
ConfigPropertyType
-
-