Class ParamValueTypeImpl<T>

java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.javaee7.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 Details

    • ParamValueTypeImpl

      public ParamValueTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
    • ParamValueTypeImpl

      public ParamValueTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
  • Method Details

    • up

      public T up()
      Specified by:
      up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
    • description

      public ParamValueType<T> description(String... values)
      Creates for all String objects representing description elements, a new description element
      Specified by:
      description in interface ParamValueType<T>
      Parameters:
      values - list of description objects
      Returns:
      the current instance of ParamValueType
    • getAllDescription

      public List<String> getAllDescription()
      Returns all description elements
      Specified by:
      getAllDescription in interface ParamValueType<T>
      Returns:
      list of description
    • removeAllDescription

      public ParamValueType<T> removeAllDescription()
      Removes the description element
      Specified by:
      removeAllDescription in interface ParamValueType<T>
      Returns:
      the current instance of ParamValueType
    • paramName

      public ParamValueType<T> paramName(String paramName)
      Sets the param-name element
      Specified by:
      paramName in interface ParamValueType<T>
      Parameters:
      paramName - the value for the element param-name
      Returns:
      the current instance of ParamValueType
    • getParamName

      public String getParamName()
      Returns the param-name element
      Specified by:
      getParamName in interface ParamValueType<T>
      Returns:
      the node defined for the element param-name
    • removeParamName

      public ParamValueType<T> removeParamName()
      Removes the param-name element
      Specified by:
      removeParamName in interface ParamValueType<T>
      Returns:
      the current instance of ParamValueType
    • paramValue

      public ParamValueType<T> paramValue(String paramValue)
      Sets the param-value element
      Specified by:
      paramValue in interface ParamValueType<T>
      Parameters:
      paramValue - the value for the element param-value
      Returns:
      the current instance of ParamValueType
    • getParamValue

      public String getParamValue()
      Returns the param-value element
      Specified by:
      getParamValue in interface ParamValueType<T>
      Returns:
      the node defined for the element param-value
    • removeParamValue

      public ParamValueType<T> removeParamValue()
      Removes the param-value element
      Specified by:
      removeParamValue in interface ParamValueType<T>
      Returns:
      the current instance of ParamValueType
    • id

      public ParamValueType<T> id(String id)
      Sets the id attribute
      Specified by:
      id in interface ParamValueType<T>
      Parameters:
      id - the value for the attribute id
      Returns:
      the current instance of ParamValueType
    • getId

      public String getId()
      Returns the id attribute
      Specified by:
      getId in interface ParamValueType<T>
      Returns:
      the value defined for the attribute id
    • removeId

      public ParamValueType<T> removeId()
      Removes the id attribute
      Specified by:
      removeId in interface ParamValueType<T>
      Returns:
      the current instance of ParamValueType