Class ConfigPropertyTypeImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.connector15.ConfigPropertyTypeImpl<T>
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,ConfigPropertyType<T>
public class ConfigPropertyTypeImpl<T>
extends Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ConfigPropertyType<T>
This class implements the
config-propertyType xsd type-
Constructor Summary
ConstructorsConstructorDescriptionConfigPropertyTypeImpl(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
Modifier and TypeMethodDescriptionconfigPropertyName(String configPropertyName) Sets theconfig-property-nameelementconfigPropertyType(String configPropertyType) Sets theconfig-property-typeelementconfigPropertyType(ConfigPropertyTypeType configPropertyType) Sets theconfig-property-typeelementconfigPropertyValue(String configPropertyValue) Sets theconfig-property-valueelementdescription(String... values) Creates for all String objects representingdescriptionelements, a newdescriptionelementReturns alldescriptionelementsReturns theconfig-property-nameelementReturns theconfig-property-typeelementReturns theconfig-property-typeelementReturns theconfig-property-valueelementgetId()Returns theidattributeSets theidattributeRemoves thedescriptionelementRemoves theconfig-property-nameelementRemoves theconfig-property-typeattributeRemoves theconfig-property-valueelementremoveId()Removes theidattributeup()
-
Constructor Details
-
ConfigPropertyTypeImpl
-
ConfigPropertyTypeImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
description
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Specified by:
descriptionin interfaceConfigPropertyType<T>- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
ConfigPropertyType
-
getAllDescription
Returns alldescriptionelements- Specified by:
getAllDescriptionin interfaceConfigPropertyType<T>- Returns:
- list of
description
-
removeAllDescription
Removes thedescriptionelement- Specified by:
removeAllDescriptionin interfaceConfigPropertyType<T>- Returns:
- the current instance of
ConfigPropertyType
-
configPropertyName
Sets theconfig-property-nameelement- Specified by:
configPropertyNamein interfaceConfigPropertyType<T>- Parameters:
configPropertyName- the value for the elementconfig-property-name- Returns:
- the current instance of
ConfigPropertyType
-
getConfigPropertyName
Returns theconfig-property-nameelement- Specified by:
getConfigPropertyNamein interfaceConfigPropertyType<T>- Returns:
- the node defined for the element
config-property-name
-
removeConfigPropertyName
Removes theconfig-property-nameelement- Specified by:
removeConfigPropertyNamein interfaceConfigPropertyType<T>- Returns:
- the current instance of
ConfigPropertyType
-
configPropertyType
Sets theconfig-property-typeelement- Specified by:
configPropertyTypein interfaceConfigPropertyType<T>- Parameters:
configPropertyType- the value for the elementconfig-property-type- Returns:
- the current instance of
ConfigPropertyType
-
configPropertyType
Sets theconfig-property-typeelement- Specified by:
configPropertyTypein interfaceConfigPropertyType<T>- Parameters:
configPropertyType- the value for the elementconfig-property-type- Returns:
- the current instance of
ConfigPropertyType
-
getConfigPropertyType
Returns theconfig-property-typeelement- Specified by:
getConfigPropertyTypein interfaceConfigPropertyType<T>- Returns:
- the value found for the element
config-property-type
-
getConfigPropertyTypeAsString
Returns theconfig-property-typeelement- Specified by:
getConfigPropertyTypeAsStringin interfaceConfigPropertyType<T>- Returns:
- the value found for the element
config-property-type
-
removeConfigPropertyType
Removes theconfig-property-typeattribute- Specified by:
removeConfigPropertyTypein interfaceConfigPropertyType<T>- Returns:
- the current instance of
ConfigPropertyType
-
configPropertyValue
Sets theconfig-property-valueelement- Specified by:
configPropertyValuein interfaceConfigPropertyType<T>- Parameters:
configPropertyValue- the value for the elementconfig-property-value- Returns:
- the current instance of
ConfigPropertyType
-
getConfigPropertyValue
Returns theconfig-property-valueelement- Specified by:
getConfigPropertyValuein interfaceConfigPropertyType<T>- Returns:
- the node defined for the element
config-property-value
-
removeConfigPropertyValue
Removes theconfig-property-valueelement- Specified by:
removeConfigPropertyValuein interfaceConfigPropertyType<T>- Returns:
- the current instance of
ConfigPropertyType
-
id
Sets theidattribute- Specified by:
idin interfaceConfigPropertyType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
ConfigPropertyType
-
getId
Returns theidattribute- Specified by:
getIdin interfaceConfigPropertyType<T>- Returns:
- the value defined for the attribute
id
-
removeId
Removes theidattribute- Specified by:
removeIdin interfaceConfigPropertyType<T>- Returns:
- the current instance of
ConfigPropertyType
-