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 the
config-property xsd type-
Constructor Summary
ConstructorsConstructorDescriptionConfigPropertyImpl(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
Modifier and TypeMethodDescriptionconfigPropertyName(String configPropertyName) Sets theconfig-property-nameelementconfigPropertyType(String configPropertyType) Sets theconfig-property-typeelementconfigPropertyValue(String configPropertyValue) Sets theconfig-property-valueelementdescription(String description) Sets thedescriptionelementReturns theconfig-property-nameelementReturns theconfig-property-typeelementReturns theconfig-property-valueelementReturns thedescriptionelementRemoves theconfig-property-nameelementRemoves theconfig-property-typeelementRemoves theconfig-property-valueelementRemoves thedescriptionelementup()
-
Constructor Details
-
ConfigPropertyImpl
-
ConfigPropertyImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
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
Returns theconfig-property-valueelement- Specified by:
getConfigPropertyValuein interfaceConfigProperty<T>- Returns:
- the node defined for the element
config-property-value
-
removeConfigPropertyValue
Removes theconfig-property-valueelement- Specified by:
removeConfigPropertyValuein interfaceConfigProperty<T>- Returns:
- the current instance of
ConfigProperty
-
description
Sets thedescriptionelement- Specified by:
descriptionin interfaceConfigProperty<T>- Parameters:
description- the value for the elementdescription- Returns:
- the current instance of
ConfigProperty
-
getDescription
Returns thedescriptionelement- Specified by:
getDescriptionin interfaceConfigProperty<T>- Returns:
- the node defined for the element
description
-
removeDescription
Removes thedescriptionelement- Specified by:
removeDescriptionin interfaceConfigProperty<T>- Returns:
- the current instance of
ConfigProperty
-
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
Returns theconfig-property-nameelement- Specified by:
getConfigPropertyNamein interfaceConfigProperty<T>- Returns:
- the node defined for the element
config-property-name
-
removeConfigPropertyName
Removes theconfig-property-nameelement- Specified by:
removeConfigPropertyNamein interfaceConfigProperty<T>- Returns:
- the current instance of
ConfigProperty
-
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
Returns theconfig-property-typeelement- Specified by:
getConfigPropertyTypein interfaceConfigProperty<T>- Returns:
- the node defined for the element
config-property-type
-
removeConfigPropertyType
Removes theconfig-property-typeelement- Specified by:
removeConfigPropertyTypein interfaceConfigProperty<T>- Returns:
- the current instance of
ConfigProperty
-