Class ParamValueTypeImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.javaee6.ParamValueTypeImpl<T>
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,ParamValueType<T>
public class ParamValueTypeImpl<T>
extends Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ParamValueType<T>
This class implements the
param-valueType xsd type-
Constructor Summary
ConstructorsConstructorDescriptionParamValueTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node) ParamValueTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) -
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-valueelementup()
-
Constructor Details
-
ParamValueTypeImpl
-
ParamValueTypeImpl
-
-
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 interfaceParamValueType<T>- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
ParamValueType
-
getAllDescription
Returns alldescriptionelements- Specified by:
getAllDescriptionin interfaceParamValueType<T>- Returns:
- list of
description
-
removeAllDescription
Removes thedescriptionelement- Specified by:
removeAllDescriptionin interfaceParamValueType<T>- Returns:
- the current instance of
ParamValueType
-
paramName
Sets theparam-nameelement- Specified by:
paramNamein interfaceParamValueType<T>- Parameters:
paramName- the value for the elementparam-name- Returns:
- the current instance of
ParamValueType
-
getParamName
Returns theparam-nameelement- Specified by:
getParamNamein interfaceParamValueType<T>- Returns:
- the node defined for the element
param-name
-
removeParamName
Removes theparam-nameelement- Specified by:
removeParamNamein interfaceParamValueType<T>- Returns:
- the current instance of
ParamValueType
-
paramValue
Sets theparam-valueelement- Specified by:
paramValuein interfaceParamValueType<T>- Parameters:
paramValue- the value for the elementparam-value- Returns:
- the current instance of
ParamValueType
-
getParamValue
Returns theparam-valueelement- Specified by:
getParamValuein interfaceParamValueType<T>- Returns:
- the node defined for the element
param-value
-
removeParamValue
Removes theparam-valueelement- Specified by:
removeParamValuein interfaceParamValueType<T>- Returns:
- the current instance of
ParamValueType
-
id
Sets theidattribute- Specified by:
idin interfaceParamValueType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
ParamValueType
-
getId
Returns theidattribute- Specified by:
getIdin interfaceParamValueType<T>- Returns:
- the value defined for the attribute
id
-
removeId
Removes theidattribute- Specified by:
removeIdin interfaceParamValueType<T>- Returns:
- the current instance of
ParamValueType
-