Interface ParamValueType<T>
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
ParamValueTypeImpl
public interface ParamValueType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
This interface defines the contract for the
param-valueType xsd type-
Method Summary
Modifier and TypeMethodDescriptiondescription(String... values) Creates for all String objects representingdescriptionelements, a newdescriptionelementReturns alldescriptionelementsgetId()Returns theidattributeReturns theparam-nameelementReturns theparam-valueelementSets theidattributeSets theparam-nameelementparamValue(String paramValue) Sets theparam-valueelementRemoves thedescriptionelementremoveId()Removes theidattributeRemoves theparam-nameelementRemoves theparam-valueelementMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Method Details
-
description
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
ParamValueType
-
getAllDescription
Returns alldescriptionelements- Returns:
- list of
description
-
removeAllDescription
ParamValueType<T> removeAllDescription()Removes thedescriptionelement- Returns:
- the current instance of
ParamValueType
-
paramName
Sets theparam-nameelement- Parameters:
paramName- the value for the elementparam-name- Returns:
- the current instance of
ParamValueType
-
getParamName
String getParamName()Returns theparam-nameelement- Returns:
- the node defined for the element
param-name
-
removeParamName
ParamValueType<T> removeParamName()Removes theparam-nameelement- Returns:
- the current instance of
ParamValueType
-
paramValue
Sets theparam-valueelement- Parameters:
paramValue- the value for the elementparam-value- Returns:
- the current instance of
ParamValueType
-
getParamValue
String getParamValue()Returns theparam-valueelement- Returns:
- the node defined for the element
param-value
-
removeParamValue
ParamValueType<T> removeParamValue()Removes theparam-valueelement- Returns:
- the current instance of
ParamValueType
-
id
Sets theidattribute- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
ParamValueType
-
getId
String getId()Returns theidattribute- Returns:
- the value defined for the attribute
id
-
removeId
ParamValueType<T> removeId()Removes theidattribute- Returns:
- the current instance of
ParamValueType
-