Class RequiredConfigPropertyTypeImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.connector17.RequiredConfigPropertyTypeImpl<T>
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,RequiredConfigPropertyType<T>
public class RequiredConfigPropertyTypeImpl<T>
extends Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, RequiredConfigPropertyType<T>
This class implements the
required-config-propertyType xsd type-
Constructor Summary
ConstructorsConstructorDescriptionRequiredConfigPropertyTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node) RequiredConfigPropertyTypeImpl(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-nameelementdescription(String... values) Creates for all String objects representingdescriptionelements, a newdescriptionelementReturns alldescriptionelementsReturns theconfig-property-nameelementgetId()Returns theidattributeSets theidattributeRemoves thedescriptionelementRemoves theconfig-property-nameelementremoveId()Removes theidattributeup()
-
Constructor Details
-
RequiredConfigPropertyTypeImpl
-
RequiredConfigPropertyTypeImpl
-
-
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 interfaceRequiredConfigPropertyType<T>- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
RequiredConfigPropertyType
-
getAllDescription
Returns alldescriptionelements- Specified by:
getAllDescriptionin interfaceRequiredConfigPropertyType<T>- Returns:
- list of
description
-
removeAllDescription
Removes thedescriptionelement- Specified by:
removeAllDescriptionin interfaceRequiredConfigPropertyType<T>- Returns:
- the current instance of
RequiredConfigPropertyType
-
configPropertyName
Sets theconfig-property-nameelement- Specified by:
configPropertyNamein interfaceRequiredConfigPropertyType<T>- Parameters:
configPropertyName- the value for the elementconfig-property-name- Returns:
- the current instance of
RequiredConfigPropertyType
-
getConfigPropertyName
Returns theconfig-property-nameelement- Specified by:
getConfigPropertyNamein interfaceRequiredConfigPropertyType<T>- Returns:
- the node defined for the element
config-property-name
-
removeConfigPropertyName
Removes theconfig-property-nameelement- Specified by:
removeConfigPropertyNamein interfaceRequiredConfigPropertyType<T>- Returns:
- the current instance of
RequiredConfigPropertyType
-
id
Sets theidattribute- Specified by:
idin interfaceRequiredConfigPropertyType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
RequiredConfigPropertyType
-
getId
Returns theidattribute- Specified by:
getIdin interfaceRequiredConfigPropertyType<T>- Returns:
- the value defined for the attribute
id
-
removeId
Removes theidattribute- Specified by:
removeIdin interfaceRequiredConfigPropertyType<T>- Returns:
- the current instance of
RequiredConfigPropertyType
-