Class ConfigPropertyTypeImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.connector16.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 TypeMethodDescriptionconfigPropertyConfidential(Boolean configPropertyConfidential) Sets theconfig-property-confidentialelementconfigPropertyIgnore(Boolean configPropertyIgnore) Sets theconfig-property-ignoreelementconfigPropertyName(String configPropertyName) Sets theconfig-property-nameelementconfigPropertySupportsDynamicUpdates(Boolean configPropertySupportsDynamicUpdates) Sets theconfig-property-supports-dynamic-updateselementconfigPropertyType(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 theidattributeReturns theconfig-property-confidentialelementReturns theconfig-property-ignoreelementReturns theconfig-property-supports-dynamic-updateselementRemoves thedescriptionelementRemoves theconfig-property-confidentialelementRemoves theconfig-property-ignoreelementRemoves theconfig-property-nameelementRemoves theconfig-property-supports-dynamic-updateselementRemoves 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
-
configPropertyIgnore
Sets theconfig-property-ignoreelement- Specified by:
configPropertyIgnorein interfaceConfigPropertyType<T>- Parameters:
configPropertyIgnore- the value for the elementconfig-property-ignore- Returns:
- the current instance of
ConfigPropertyType
-
isConfigPropertyIgnore
Returns theconfig-property-ignoreelement- Specified by:
isConfigPropertyIgnorein interfaceConfigPropertyType<T>- Returns:
- the node defined for the element
config-property-ignore
-
removeConfigPropertyIgnore
Removes theconfig-property-ignoreelement- Specified by:
removeConfigPropertyIgnorein interfaceConfigPropertyType<T>- Returns:
- the current instance of
ConfigPropertyType
-
configPropertySupportsDynamicUpdates
public ConfigPropertyType<T> configPropertySupportsDynamicUpdates(Boolean configPropertySupportsDynamicUpdates) Sets theconfig-property-supports-dynamic-updateselement- Specified by:
configPropertySupportsDynamicUpdatesin interfaceConfigPropertyType<T>- Parameters:
configPropertySupportsDynamicUpdates- the value for the elementconfig-property-supports-dynamic-updates- Returns:
- the current instance of
ConfigPropertyType
-
isConfigPropertySupportsDynamicUpdates
Returns theconfig-property-supports-dynamic-updateselement- Specified by:
isConfigPropertySupportsDynamicUpdatesin interfaceConfigPropertyType<T>- Returns:
- the node defined for the element
config-property-supports-dynamic-updates
-
removeConfigPropertySupportsDynamicUpdates
Removes theconfig-property-supports-dynamic-updateselement- Specified by:
removeConfigPropertySupportsDynamicUpdatesin interfaceConfigPropertyType<T>- Returns:
- the current instance of
ConfigPropertyType
-
configPropertyConfidential
Sets theconfig-property-confidentialelement- Specified by:
configPropertyConfidentialin interfaceConfigPropertyType<T>- Parameters:
configPropertyConfidential- the value for the elementconfig-property-confidential- Returns:
- the current instance of
ConfigPropertyType
-
isConfigPropertyConfidential
Returns theconfig-property-confidentialelement- Specified by:
isConfigPropertyConfidentialin interfaceConfigPropertyType<T>- Returns:
- the node defined for the element
config-property-confidential
-
removeConfigPropertyConfidential
Removes theconfig-property-confidentialelement- Specified by:
removeConfigPropertyConfidentialin 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
-