Class RequiredConfigPropertyTypeImpl<T>
- java.lang.Object
-
- org.jboss.shrinkwrap.descriptor.impl.connector16.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 therequired-config-propertyTypexsd type
-
-
Constructor Summary
Constructors Constructor Description RequiredConfigPropertyTypeImpl(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RequiredConfigPropertyType<T>configPropertyName(String configPropertyName)Sets theconfig-property-nameelementRequiredConfigPropertyType<T>description(String... values)Creates for all String objects representingdescriptionelements, a newdescriptionelementList<String>getAllDescription()Returns alldescriptionelementsStringgetConfigPropertyName()Returns theconfig-property-nameelementStringgetId()Returns theidattributeRequiredConfigPropertyType<T>id(String id)Sets theidattributeRequiredConfigPropertyType<T>removeAllDescription()Removes thedescriptionelementRequiredConfigPropertyType<T>removeConfigPropertyName()Removes theconfig-property-nameelementRequiredConfigPropertyType<T>removeId()Removes theidattributeTup()
-
-
-
Method Detail
-
description
public RequiredConfigPropertyType<T> description(String... values)
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Specified by:
descriptionin interfaceRequiredConfigPropertyType<T>- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
RequiredConfigPropertyType
-
getAllDescription
public List<String> getAllDescription()
Returns alldescriptionelements- Specified by:
getAllDescriptionin interfaceRequiredConfigPropertyType<T>- Returns:
- list of
description
-
removeAllDescription
public RequiredConfigPropertyType<T> removeAllDescription()
Removes thedescriptionelement- Specified by:
removeAllDescriptionin interfaceRequiredConfigPropertyType<T>- Returns:
- the current instance of
RequiredConfigPropertyType
-
configPropertyName
public RequiredConfigPropertyType<T> configPropertyName(String 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
public String getConfigPropertyName()
Returns theconfig-property-nameelement- Specified by:
getConfigPropertyNamein interfaceRequiredConfigPropertyType<T>- Returns:
- the node defined for the element
config-property-name
-
removeConfigPropertyName
public RequiredConfigPropertyType<T> removeConfigPropertyName()
Removes theconfig-property-nameelement- Specified by:
removeConfigPropertyNamein interfaceRequiredConfigPropertyType<T>- Returns:
- the current instance of
RequiredConfigPropertyType
-
id
public RequiredConfigPropertyType<T> id(String id)
Sets theidattribute- Specified by:
idin interfaceRequiredConfigPropertyType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
RequiredConfigPropertyType
-
getId
public String getId()
Returns theidattribute- Specified by:
getIdin interfaceRequiredConfigPropertyType<T>- Returns:
- the value defined for the attribute
id
-
removeId
public RequiredConfigPropertyType<T> removeId()
Removes theidattribute- Specified by:
removeIdin interfaceRequiredConfigPropertyType<T>- Returns:
- the current instance of
RequiredConfigPropertyType
-
-