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 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 ConfigPropertyType<T>configPropertyConfidential(Boolean configPropertyConfidential)Sets theconfig-property-confidentialelementConfigPropertyType<T>configPropertyIgnore(Boolean configPropertyIgnore)Sets theconfig-property-ignoreelementConfigPropertyType<T>configPropertyName(String configPropertyName)Sets theconfig-property-nameelementConfigPropertyType<T>configPropertySupportsDynamicUpdates(Boolean configPropertySupportsDynamicUpdates)Sets theconfig-property-supports-dynamic-updateselementConfigPropertyType<T>configPropertyType(String configPropertyType)Sets theconfig-property-typeelementConfigPropertyType<T>configPropertyType(ConfigPropertyTypeType configPropertyType)Sets theconfig-property-typeelementConfigPropertyType<T>configPropertyValue(String configPropertyValue)Sets theconfig-property-valueelementConfigPropertyType<T>description(String... values)Creates for all String objects representingdescriptionelements, a newdescriptionelementList<String>getAllDescription()Returns alldescriptionelementsStringgetConfigPropertyName()Returns theconfig-property-nameelementConfigPropertyTypeTypegetConfigPropertyType()Returns theconfig-property-typeelementStringgetConfigPropertyTypeAsString()Returns theconfig-property-typeelementStringgetConfigPropertyValue()Returns theconfig-property-valueelementStringgetId()Returns theidattributeConfigPropertyType<T>id(String id)Sets theidattributeBooleanisConfigPropertyConfidential()Returns theconfig-property-confidentialelementBooleanisConfigPropertyIgnore()Returns theconfig-property-ignoreelementBooleanisConfigPropertySupportsDynamicUpdates()Returns theconfig-property-supports-dynamic-updateselementConfigPropertyType<T>removeAllDescription()Removes thedescriptionelementConfigPropertyType<T>removeConfigPropertyConfidential()Removes theconfig-property-confidentialelementConfigPropertyType<T>removeConfigPropertyIgnore()Removes theconfig-property-ignoreelementConfigPropertyType<T>removeConfigPropertyName()Removes theconfig-property-nameelementConfigPropertyType<T>removeConfigPropertySupportsDynamicUpdates()Removes theconfig-property-supports-dynamic-updateselementConfigPropertyType<T>removeConfigPropertyType()Removes theconfig-property-typeattributeConfigPropertyType<T>removeConfigPropertyValue()Removes theconfig-property-valueelementConfigPropertyType<T>removeId()Removes theidattributeTup()
-
-
-
Method Detail
-
description
public ConfigPropertyType<T> description(String... values)
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Specified by:
descriptionin interfaceConfigPropertyType<T>- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
ConfigPropertyType
-
getAllDescription
public List<String> getAllDescription()
Returns alldescriptionelements- Specified by:
getAllDescriptionin interfaceConfigPropertyType<T>- Returns:
- list of
description
-
removeAllDescription
public ConfigPropertyType<T> removeAllDescription()
Removes thedescriptionelement- Specified by:
removeAllDescriptionin interfaceConfigPropertyType<T>- Returns:
- the current instance of
ConfigPropertyType
-
configPropertyName
public ConfigPropertyType<T> configPropertyName(String 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
public String getConfigPropertyName()
Returns theconfig-property-nameelement- Specified by:
getConfigPropertyNamein interfaceConfigPropertyType<T>- Returns:
- the node defined for the element
config-property-name
-
removeConfigPropertyName
public ConfigPropertyType<T> removeConfigPropertyName()
Removes theconfig-property-nameelement- Specified by:
removeConfigPropertyNamein interfaceConfigPropertyType<T>- Returns:
- the current instance of
ConfigPropertyType
-
configPropertyType
public ConfigPropertyType<T> configPropertyType(ConfigPropertyTypeType 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
public ConfigPropertyType<T> configPropertyType(String 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
public ConfigPropertyTypeType getConfigPropertyType()
Returns theconfig-property-typeelement- Specified by:
getConfigPropertyTypein interfaceConfigPropertyType<T>- Returns:
- the value found for the element
config-property-type
-
getConfigPropertyTypeAsString
public String getConfigPropertyTypeAsString()
Returns theconfig-property-typeelement- Specified by:
getConfigPropertyTypeAsStringin interfaceConfigPropertyType<T>- Returns:
- the value found for the element
config-property-type
-
removeConfigPropertyType
public ConfigPropertyType<T> removeConfigPropertyType()
Removes theconfig-property-typeattribute- Specified by:
removeConfigPropertyTypein interfaceConfigPropertyType<T>- Returns:
- the current instance of
ConfigPropertyType
-
configPropertyValue
public ConfigPropertyType<T> configPropertyValue(String 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
public String getConfigPropertyValue()
Returns theconfig-property-valueelement- Specified by:
getConfigPropertyValuein interfaceConfigPropertyType<T>- Returns:
- the node defined for the element
config-property-value
-
removeConfigPropertyValue
public ConfigPropertyType<T> removeConfigPropertyValue()
Removes theconfig-property-valueelement- Specified by:
removeConfigPropertyValuein interfaceConfigPropertyType<T>- Returns:
- the current instance of
ConfigPropertyType
-
configPropertyIgnore
public ConfigPropertyType<T> configPropertyIgnore(Boolean 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
public Boolean isConfigPropertyIgnore()
Returns theconfig-property-ignoreelement- Specified by:
isConfigPropertyIgnorein interfaceConfigPropertyType<T>- Returns:
- the node defined for the element
config-property-ignore
-
removeConfigPropertyIgnore
public ConfigPropertyType<T> 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
public Boolean 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
public ConfigPropertyType<T> removeConfigPropertySupportsDynamicUpdates()
Removes theconfig-property-supports-dynamic-updateselement- Specified by:
removeConfigPropertySupportsDynamicUpdatesin interfaceConfigPropertyType<T>- Returns:
- the current instance of
ConfigPropertyType
-
configPropertyConfidential
public ConfigPropertyType<T> configPropertyConfidential(Boolean 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
public Boolean isConfigPropertyConfidential()
Returns theconfig-property-confidentialelement- Specified by:
isConfigPropertyConfidentialin interfaceConfigPropertyType<T>- Returns:
- the node defined for the element
config-property-confidential
-
removeConfigPropertyConfidential
public ConfigPropertyType<T> removeConfigPropertyConfidential()
Removes theconfig-property-confidentialelement- Specified by:
removeConfigPropertyConfidentialin interfaceConfigPropertyType<T>- Returns:
- the current instance of
ConfigPropertyType
-
id
public ConfigPropertyType<T> id(String id)
Sets theidattribute- Specified by:
idin interfaceConfigPropertyType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
ConfigPropertyType
-
getId
public String getId()
Returns theidattribute- Specified by:
getIdin interfaceConfigPropertyType<T>- Returns:
- the value defined for the attribute
id
-
removeId
public ConfigPropertyType<T> removeId()
Removes theidattribute- Specified by:
removeIdin interfaceConfigPropertyType<T>- Returns:
- the current instance of
ConfigPropertyType
-
-