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 theparam-valueTypexsd type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ParamValueType<T>description(String... values)Creates for all String objects representingdescriptionelements, a newdescriptionelementList<String>getAllDescription()Returns alldescriptionelementsStringgetId()Returns theidattributeStringgetParamName()Returns theparam-nameelementStringgetParamValue()Returns theparam-valueelementParamValueType<T>id(String id)Sets theidattributeParamValueType<T>paramName(String paramName)Sets theparam-nameelementParamValueType<T>paramValue(String paramValue)Sets theparam-valueelementParamValueType<T>removeAllDescription()Removes thedescriptionelementParamValueType<T>removeId()Removes theidattributeParamValueType<T>removeParamName()Removes theparam-nameelementParamValueType<T>removeParamValue()Removes theparam-valueelement
-
-
-
Method Detail
-
description
ParamValueType<T> description(String... values)
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
ParamValueType
-
getAllDescription
List<String> getAllDescription()
Returns alldescriptionelements- Returns:
- list of
description
-
removeAllDescription
ParamValueType<T> removeAllDescription()
Removes thedescriptionelement- Returns:
- the current instance of
ParamValueType
-
paramName
ParamValueType<T> paramName(String 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
ParamValueType<T> paramValue(String 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
ParamValueType<T> id(String 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
-
-