Class ConfigPropertyImpl<T>
- java.lang.Object
-
- org.jboss.shrinkwrap.descriptor.impl.connector10.ConfigPropertyImpl<T>
-
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,ConfigProperty<T>
public class ConfigPropertyImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ConfigProperty<T>
This class implements theconfig-propertyxsd type
-
-
Constructor Summary
Constructors Constructor Description ConfigPropertyImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)ConfigPropertyImpl(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 ConfigProperty<T>configPropertyName(String configPropertyName)Sets theconfig-property-nameelementConfigProperty<T>configPropertyType(String configPropertyType)Sets theconfig-property-typeelementConfigProperty<T>configPropertyValue(String configPropertyValue)Sets theconfig-property-valueelementConfigProperty<T>description(String description)Sets thedescriptionelementStringgetConfigPropertyName()Returns theconfig-property-nameelementStringgetConfigPropertyType()Returns theconfig-property-typeelementStringgetConfigPropertyValue()Returns theconfig-property-valueelementStringgetDescription()Returns thedescriptionelementConfigProperty<T>removeConfigPropertyName()Removes theconfig-property-nameelementConfigProperty<T>removeConfigPropertyType()Removes theconfig-property-typeelementConfigProperty<T>removeConfigPropertyValue()Removes theconfig-property-valueelementConfigProperty<T>removeDescription()Removes thedescriptionelementTup()
-
-
-
Method Detail
-
configPropertyValue
public ConfigProperty<T> configPropertyValue(String configPropertyValue)
Sets theconfig-property-valueelement- Specified by:
configPropertyValuein interfaceConfigProperty<T>- Parameters:
configPropertyValue- the value for the elementconfig-property-value- Returns:
- the current instance of
ConfigProperty
-
getConfigPropertyValue
public String getConfigPropertyValue()
Returns theconfig-property-valueelement- Specified by:
getConfigPropertyValuein interfaceConfigProperty<T>- Returns:
- the node defined for the element
config-property-value
-
removeConfigPropertyValue
public ConfigProperty<T> removeConfigPropertyValue()
Removes theconfig-property-valueelement- Specified by:
removeConfigPropertyValuein interfaceConfigProperty<T>- Returns:
- the current instance of
ConfigProperty
-
description
public ConfigProperty<T> description(String description)
Sets thedescriptionelement- Specified by:
descriptionin interfaceConfigProperty<T>- Parameters:
description- the value for the elementdescription- Returns:
- the current instance of
ConfigProperty
-
getDescription
public String getDescription()
Returns thedescriptionelement- Specified by:
getDescriptionin interfaceConfigProperty<T>- Returns:
- the node defined for the element
description
-
removeDescription
public ConfigProperty<T> removeDescription()
Removes thedescriptionelement- Specified by:
removeDescriptionin interfaceConfigProperty<T>- Returns:
- the current instance of
ConfigProperty
-
configPropertyName
public ConfigProperty<T> configPropertyName(String configPropertyName)
Sets theconfig-property-nameelement- Specified by:
configPropertyNamein interfaceConfigProperty<T>- Parameters:
configPropertyName- the value for the elementconfig-property-name- Returns:
- the current instance of
ConfigProperty
-
getConfigPropertyName
public String getConfigPropertyName()
Returns theconfig-property-nameelement- Specified by:
getConfigPropertyNamein interfaceConfigProperty<T>- Returns:
- the node defined for the element
config-property-name
-
removeConfigPropertyName
public ConfigProperty<T> removeConfigPropertyName()
Removes theconfig-property-nameelement- Specified by:
removeConfigPropertyNamein interfaceConfigProperty<T>- Returns:
- the current instance of
ConfigProperty
-
configPropertyType
public ConfigProperty<T> configPropertyType(String configPropertyType)
Sets theconfig-property-typeelement- Specified by:
configPropertyTypein interfaceConfigProperty<T>- Parameters:
configPropertyType- the value for the elementconfig-property-type- Returns:
- the current instance of
ConfigProperty
-
getConfigPropertyType
public String getConfigPropertyType()
Returns theconfig-property-typeelement- Specified by:
getConfigPropertyTypein interfaceConfigProperty<T>- Returns:
- the node defined for the element
config-property-type
-
removeConfigPropertyType
public ConfigProperty<T> removeConfigPropertyType()
Removes theconfig-property-typeelement- Specified by:
removeConfigPropertyTypein interfaceConfigProperty<T>- Returns:
- the current instance of
ConfigProperty
-
-